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>
124 template<
typename LocationT = Aws::String>
125 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
126 template<
typename LocationT = Aws::String>
136 inline void SetGitCloneDepth(
int value) { m_gitCloneDepthHasBeenSet =
true; m_gitCloneDepth = value; }
147 template<
typename GitSubmodulesConfigT = GitSubmodulesConfig>
148 void SetGitSubmodulesConfig(GitSubmodulesConfigT&& value) { m_gitSubmodulesConfigHasBeenSet =
true; m_gitSubmodulesConfig = std::forward<GitSubmodulesConfigT>(value); }
149 template<
typename GitSubmodulesConfigT = GitSubmodulesConfig>
169 template<
typename BuildspecT = Aws::String>
170 void SetBuildspec(BuildspecT&& value) { m_buildspecHasBeenSet =
true; m_buildspec = std::forward<BuildspecT>(value); }
171 template<
typename BuildspecT = Aws::String>
182 template<
typename AuthT = SourceAuth>
183 void SetAuth(AuthT&& value) { m_authHasBeenSet =
true; m_auth = std::forward<AuthT>(value); }
184 template<
typename AuthT = SourceAuth>
206 inline void SetReportBuildStatus(
bool value) { m_reportBuildStatusHasBeenSet =
true; m_reportBuildStatus = value; }
219 template<
typename BuildStatusConfigT = BuildStatusConfig>
220 void SetBuildStatusConfig(BuildStatusConfigT&& value) { m_buildStatusConfigHasBeenSet =
true; m_buildStatusConfig = std::forward<BuildStatusConfigT>(value); }
221 template<
typename BuildStatusConfigT = BuildStatusConfig>
232 inline void SetInsecureSsl(
bool value) { m_insecureSslHasBeenSet =
true; m_insecureSsl = value; }
244 template<
typename SourceIdentifierT = Aws::String>
245 void SetSourceIdentifier(SourceIdentifierT&& value) { m_sourceIdentifierHasBeenSet =
true; m_sourceIdentifier = std::forward<SourceIdentifierT>(value); }
246 template<
typename SourceIdentifierT = Aws::String>
252 bool m_typeHasBeenSet =
false;
255 bool m_locationHasBeenSet =
false;
257 int m_gitCloneDepth{0};
258 bool m_gitCloneDepthHasBeenSet =
false;
260 GitSubmodulesConfig m_gitSubmodulesConfig;
261 bool m_gitSubmodulesConfigHasBeenSet =
false;
264 bool m_buildspecHasBeenSet =
false;
267 bool m_authHasBeenSet =
false;
269 bool m_reportBuildStatus{
false};
270 bool m_reportBuildStatusHasBeenSet =
false;
272 BuildStatusConfig m_buildStatusConfig;
273 bool m_buildStatusConfigHasBeenSet =
false;
275 bool m_insecureSsl{
false};
276 bool m_insecureSslHasBeenSet =
false;
279 bool m_sourceIdentifierHasBeenSet =
false;
bool BuildStatusConfigHasBeenSet() const
ProjectSource & WithInsecureSsl(bool value)
AWS_CODEBUILD_API ProjectSource & operator=(Aws::Utils::Json::JsonView jsonValue)
ProjectSource & WithType(SourceType value)
bool LocationHasBeenSet() const
ProjectSource & WithGitCloneDepth(int value)
AWS_CODEBUILD_API ProjectSource(Aws::Utils::Json::JsonView jsonValue)
bool ReportBuildStatusHasBeenSet() const
void SetAuth(AuthT &&value)
void SetGitCloneDepth(int value)
ProjectSource & WithLocation(LocationT &&value)
bool GetInsecureSsl() const
ProjectSource & WithBuildStatusConfig(BuildStatusConfigT &&value)
const Aws::String & GetLocation() const
SourceType GetType() const
const SourceAuth & GetAuth() const
bool InsecureSslHasBeenSet() const
ProjectSource & WithBuildspec(BuildspecT &&value)
bool GitCloneDepthHasBeenSet() const
const Aws::String & GetSourceIdentifier() const
void SetInsecureSsl(bool value)
void SetGitSubmodulesConfig(GitSubmodulesConfigT &&value)
void SetReportBuildStatus(bool value)
void SetBuildspec(BuildspecT &&value)
bool SourceIdentifierHasBeenSet() const
int GetGitCloneDepth() const
ProjectSource & WithGitSubmodulesConfig(GitSubmodulesConfigT &&value)
void SetType(SourceType value)
ProjectSource & WithReportBuildStatus(bool value)
const BuildStatusConfig & GetBuildStatusConfig() const
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLocation(LocationT &&value)
bool GetReportBuildStatus() 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
Aws::Utils::Json::JsonValue JsonValue