7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/BuildStatusConfig.h>
9#include <aws/codebuild/model/GitSubmodulesConfig.h>
10#include <aws/codebuild/model/SourceAuth.h>
11#include <aws/codebuild/model/SourceType.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/crt/cbor/Cbor.h>
35 AWS_CODEBUILD_API
ProjectSource(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
37 AWS_CODEBUILD_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
59 m_typeHasBeenSet =
true;
124 template <
typename LocationT = Aws::String>
126 m_locationHasBeenSet =
true;
127 m_location = std::forward<LocationT>(value);
129 template <
typename LocationT = Aws::String>
143 m_gitCloneDepthHasBeenSet =
true;
144 m_gitCloneDepth = value;
159 template <
typename GitSubmodulesConfigT = GitSubmodulesConfig>
161 m_gitSubmodulesConfigHasBeenSet =
true;
162 m_gitSubmodulesConfig = std::forward<GitSubmodulesConfigT>(value);
164 template <
typename GitSubmodulesConfigT = GitSubmodulesConfig>
187 template <
typename BuildspecT = Aws::String>
189 m_buildspecHasBeenSet =
true;
190 m_buildspec = std::forward<BuildspecT>(value);
192 template <
typename BuildspecT = Aws::String>
206 template <
typename AuthT = SourceAuth>
208 m_authHasBeenSet =
true;
209 m_auth = std::forward<AuthT>(value);
211 template <
typename AuthT = SourceAuth>
213 SetAuth(std::forward<AuthT>(value));
237 m_reportBuildStatusHasBeenSet =
true;
238 m_reportBuildStatus = value;
255 template <
typename BuildStatusConfigT = BuildStatusConfig>
257 m_buildStatusConfigHasBeenSet =
true;
258 m_buildStatusConfig = std::forward<BuildStatusConfigT>(value);
260 template <
typename BuildStatusConfigT = BuildStatusConfig>
275 m_insecureSslHasBeenSet =
true;
276 m_insecureSsl = value;
292 template <
typename SourceIdentifierT = Aws::String>
294 m_sourceIdentifierHasBeenSet =
true;
295 m_sourceIdentifier = std::forward<SourceIdentifierT>(value);
297 template <
typename SourceIdentifierT = Aws::String>
308 int64_t m_gitCloneDepth{0};
310 GitSubmodulesConfig m_gitSubmodulesConfig;
316 bool m_reportBuildStatus{
false};
318 BuildStatusConfig m_buildStatusConfig;
320 bool m_insecureSsl{
false};
323 bool m_typeHasBeenSet =
false;
324 bool m_locationHasBeenSet =
false;
325 bool m_gitCloneDepthHasBeenSet =
false;
326 bool m_gitSubmodulesConfigHasBeenSet =
false;
327 bool m_buildspecHasBeenSet =
false;
328 bool m_authHasBeenSet =
false;
329 bool m_reportBuildStatusHasBeenSet =
false;
330 bool m_buildStatusConfigHasBeenSet =
false;
331 bool m_insecureSslHasBeenSet =
false;
332 bool m_sourceIdentifierHasBeenSet =
false;
bool BuildStatusConfigHasBeenSet() const
ProjectSource & WithInsecureSsl(bool value)
ProjectSource & WithType(SourceType value)
bool LocationHasBeenSet() const
bool ReportBuildStatusHasBeenSet() const
void SetAuth(AuthT &&value)
ProjectSource & WithLocation(LocationT &&value)
bool GetInsecureSsl() const
AWS_CODEBUILD_API ProjectSource & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ProjectSource & WithBuildStatusConfig(BuildStatusConfigT &&value)
const Aws::String & GetLocation() const
SourceType GetType() const
const SourceAuth & GetAuth() const
void SetGitCloneDepth(int64_t value)
bool InsecureSslHasBeenSet() const
ProjectSource & WithBuildspec(BuildspecT &&value)
bool GitCloneDepthHasBeenSet() const
const Aws::String & GetSourceIdentifier() const
ProjectSource & WithGitCloneDepth(int64_t value)
void SetInsecureSsl(bool value)
int64_t GetGitCloneDepth() const
void SetGitSubmodulesConfig(GitSubmodulesConfigT &&value)
void SetReportBuildStatus(bool value)
void SetBuildspec(BuildspecT &&value)
bool SourceIdentifierHasBeenSet() const
ProjectSource & WithGitSubmodulesConfig(GitSubmodulesConfigT &&value)
void SetType(SourceType value)
ProjectSource & WithReportBuildStatus(bool value)
const BuildStatusConfig & GetBuildStatusConfig() const
AWS_CODEBUILD_API ProjectSource(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetLocation(LocationT &&value)
bool GetReportBuildStatus() const
AWS_CODEBUILD_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool TypeHasBeenSet() const
AWS_CODEBUILD_API ProjectSource()=default
bool AuthHasBeenSet() const
void SetBuildStatusConfig(BuildStatusConfigT &&value)
const Aws::String & GetBuildspec() const
ProjectSource & WithAuth(AuthT &&value)
void SetSourceIdentifier(SourceIdentifierT &&value)
bool GitSubmodulesConfigHasBeenSet() const
const GitSubmodulesConfig & GetGitSubmodulesConfig() const
bool BuildspecHasBeenSet() const
ProjectSource & WithSourceIdentifier(SourceIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String