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>
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 int 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)
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