7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/SourceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codebuild/model/GitSubmodulesConfig.h>
11#include <aws/codebuild/model/SourceAuth.h>
12#include <aws/codebuild/model/BuildStatusConfig.h>
65 inline void SetType(
SourceType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
128 inline void SetLocation(
const char* value) { m_locationHasBeenSet =
true; m_location.assign(value); }
140 inline void SetGitCloneDepth(
int value) { m_gitCloneDepthHasBeenSet =
true; m_gitCloneDepth = value; }
175 inline void SetBuildspec(
const char* value) { m_buildspecHasBeenSet =
true; m_buildspec.assign(value); }
212 inline void SetReportBuildStatus(
bool value) { m_reportBuildStatusHasBeenSet =
true; m_reportBuildStatus = value; }
238 inline void SetInsecureSsl(
bool value) { m_insecureSslHasBeenSet =
true; m_insecureSsl = value; }
252 inline void SetSourceIdentifier(
const char* value) { m_sourceIdentifierHasBeenSet =
true; m_sourceIdentifier.assign(value); }
260 bool m_typeHasBeenSet =
false;
263 bool m_locationHasBeenSet =
false;
266 bool m_gitCloneDepthHasBeenSet =
false;
269 bool m_gitSubmodulesConfigHasBeenSet =
false;
272 bool m_buildspecHasBeenSet =
false;
275 bool m_authHasBeenSet =
false;
277 bool m_reportBuildStatus;
278 bool m_reportBuildStatusHasBeenSet =
false;
281 bool m_buildStatusConfigHasBeenSet =
false;
284 bool m_insecureSslHasBeenSet =
false;
287 bool m_sourceIdentifierHasBeenSet =
false;
bool BuildStatusConfigHasBeenSet() const
AWS_CODEBUILD_API ProjectSource()
ProjectSource & WithInsecureSsl(bool value)
ProjectSource & WithBuildStatusConfig(BuildStatusConfig &&value)
AWS_CODEBUILD_API ProjectSource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LocationHasBeenSet() const
ProjectSource & WithGitCloneDepth(int value)
ProjectSource & WithSourceIdentifier(Aws::String &&value)
void SetBuildStatusConfig(const BuildStatusConfig &value)
void SetAuth(const SourceAuth &value)
AWS_CODEBUILD_API ProjectSource(Aws::Utils::Json::JsonView jsonValue)
bool ReportBuildStatusHasBeenSet() const
ProjectSource & WithBuildStatusConfig(const BuildStatusConfig &value)
void SetGitCloneDepth(int value)
ProjectSource & WithSourceIdentifier(const char *value)
ProjectSource & WithGitSubmodulesConfig(const GitSubmodulesConfig &value)
void SetSourceIdentifier(const char *value)
bool GetInsecureSsl() const
const Aws::String & GetLocation() const
const SourceAuth & GetAuth() const
ProjectSource & WithLocation(const char *value)
void SetBuildspec(Aws::String &&value)
void SetType(SourceType &&value)
bool InsecureSslHasBeenSet() const
bool GitCloneDepthHasBeenSet() const
const Aws::String & GetSourceIdentifier() const
const SourceType & GetType() const
void SetAuth(SourceAuth &&value)
void SetGitSubmodulesConfig(const GitSubmodulesConfig &value)
ProjectSource & WithLocation(const Aws::String &value)
ProjectSource & WithLocation(Aws::String &&value)
void SetInsecureSsl(bool value)
void SetReportBuildStatus(bool value)
bool SourceIdentifierHasBeenSet() const
int GetGitCloneDepth() const
ProjectSource & WithBuildspec(const Aws::String &value)
ProjectSource & WithReportBuildStatus(bool value)
ProjectSource & WithSourceIdentifier(const Aws::String &value)
ProjectSource & WithType(SourceType &&value)
const BuildStatusConfig & GetBuildStatusConfig() const
ProjectSource & WithAuth(SourceAuth &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectSource & WithBuildspec(Aws::String &&value)
void SetLocation(const char *value)
bool GetReportBuildStatus() const
ProjectSource & WithBuildspec(const char *value)
void SetBuildStatusConfig(BuildStatusConfig &&value)
void SetBuildspec(const char *value)
void SetType(const SourceType &value)
void SetSourceIdentifier(const Aws::String &value)
bool TypeHasBeenSet() const
bool AuthHasBeenSet() const
ProjectSource & WithType(const SourceType &value)
const Aws::String & GetBuildspec() const
ProjectSource & WithGitSubmodulesConfig(GitSubmodulesConfig &&value)
bool GitSubmodulesConfigHasBeenSet() const
void SetLocation(Aws::String &&value)
void SetLocation(const Aws::String &value)
const GitSubmodulesConfig & GetGitSubmodulesConfig() const
void SetSourceIdentifier(Aws::String &&value)
ProjectSource & WithAuth(const SourceAuth &value)
void SetGitSubmodulesConfig(GitSubmodulesConfig &&value)
void SetBuildspec(const Aws::String &value)
bool BuildspecHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue