AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
GitSubmodulesConfig.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/crt/cbor/Cbor.h>
9
10namespace Aws {
11namespace Utils {
12namespace Cbor {
13class CborValue;
14} // namespace Cbor
15} // namespace Utils
16namespace CodeBuild {
17namespace Model {
18
26 public:
27 AWS_CODEBUILD_API GitSubmodulesConfig() = default;
28 AWS_CODEBUILD_API GitSubmodulesConfig(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
29 AWS_CODEBUILD_API GitSubmodulesConfig& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
30 AWS_CODEBUILD_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
31
33
36 inline bool GetFetchSubmodules() const { return m_fetchSubmodules; }
37 inline bool FetchSubmodulesHasBeenSet() const { return m_fetchSubmodulesHasBeenSet; }
38 inline void SetFetchSubmodules(bool value) {
39 m_fetchSubmodulesHasBeenSet = true;
40 m_fetchSubmodules = value;
41 }
43 SetFetchSubmodules(value);
44 return *this;
45 }
47 private:
48 bool m_fetchSubmodules{false};
49 bool m_fetchSubmodulesHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace CodeBuild
54} // namespace Aws
GitSubmodulesConfig & WithFetchSubmodules(bool value)
AWS_CODEBUILD_API GitSubmodulesConfig & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CODEBUILD_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CODEBUILD_API GitSubmodulesConfig()=default
AWS_CODEBUILD_API GitSubmodulesConfig(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)