7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/LogsConfig.h>
9#include <aws/codebuild/model/ProjectArtifacts.h>
10#include <aws/codebuild/model/ProjectBadge.h>
11#include <aws/codebuild/model/ProjectBuildBatchConfig.h>
12#include <aws/codebuild/model/ProjectCache.h>
13#include <aws/codebuild/model/ProjectEnvironment.h>
14#include <aws/codebuild/model/ProjectFileSystemLocation.h>
15#include <aws/codebuild/model/ProjectSource.h>
16#include <aws/codebuild/model/ProjectSourceVersion.h>
17#include <aws/codebuild/model/ProjectVisibilityType.h>
18#include <aws/codebuild/model/Tag.h>
19#include <aws/codebuild/model/VpcConfig.h>
20#include <aws/codebuild/model/Webhook.h>
21#include <aws/core/utils/DateTime.h>
22#include <aws/core/utils/memory/stl/AWSString.h>
23#include <aws/core/utils/memory/stl/AWSVector.h>
55 template <
typename NameT = Aws::String>
57 m_nameHasBeenSet =
true;
58 m_name = std::forward<NameT>(value);
60 template <
typename NameT = Aws::String>
62 SetName(std::forward<NameT>(value));
73 template <
typename ArnT = Aws::String>
75 m_arnHasBeenSet =
true;
76 m_arn = std::forward<ArnT>(value);
78 template <
typename ArnT = Aws::String>
80 SetArn(std::forward<ArnT>(value));
91 template <
typename DescriptionT = Aws::String>
93 m_descriptionHasBeenSet =
true;
94 m_description = std::forward<DescriptionT>(value);
96 template <
typename DescriptionT = Aws::String>
109 template <
typename SourceT = ProjectSource>
111 m_sourceHasBeenSet =
true;
112 m_source = std::forward<SourceT>(value);
114 template <
typename SourceT = ProjectSource>
127 template <
typename SecondarySourcesT = Aws::Vector<ProjectSource>>
129 m_secondarySourcesHasBeenSet =
true;
130 m_secondarySources = std::forward<SecondarySourcesT>(value);
132 template <
typename SecondarySourcesT = Aws::Vector<ProjectSource>>
137 template <
typename SecondarySourcesT = ProjectSource>
139 m_secondarySourcesHasBeenSet =
true;
140 m_secondarySources.emplace_back(std::forward<SecondarySourcesT>(value));
169 template <
typename SourceVersionT = Aws::String>
171 m_sourceVersionHasBeenSet =
true;
172 m_sourceVersion = std::forward<SourceVersionT>(value);
174 template <
typename SourceVersionT = Aws::String>
190 template <
typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
192 m_secondarySourceVersionsHasBeenSet =
true;
193 m_secondarySourceVersions = std::forward<SecondarySourceVersionsT>(value);
195 template <
typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
200 template <
typename SecondarySourceVersionsT = ProjectSourceVersion>
202 m_secondarySourceVersionsHasBeenSet =
true;
203 m_secondarySourceVersions.emplace_back(std::forward<SecondarySourceVersionsT>(value));
214 template <
typename ArtifactsT = ProjectArtifacts>
216 m_artifactsHasBeenSet =
true;
217 m_artifacts = std::forward<ArtifactsT>(value);
219 template <
typename ArtifactsT = ProjectArtifacts>
232 template <
typename SecondaryArtifactsT = Aws::Vector<ProjectArtifacts>>
234 m_secondaryArtifactsHasBeenSet =
true;
235 m_secondaryArtifacts = std::forward<SecondaryArtifactsT>(value);
237 template <
typename SecondaryArtifactsT = Aws::Vector<ProjectArtifacts>>
242 template <
typename SecondaryArtifactsT = ProjectArtifacts>
244 m_secondaryArtifactsHasBeenSet =
true;
245 m_secondaryArtifacts.emplace_back(std::forward<SecondaryArtifactsT>(value));
256 template <
typename CacheT = ProjectCache>
258 m_cacheHasBeenSet =
true;
259 m_cache = std::forward<CacheT>(value);
261 template <
typename CacheT = ProjectCache>
263 SetCache(std::forward<CacheT>(value));
274 template <
typename EnvironmentT = ProjectEnvironment>
276 m_environmentHasBeenSet =
true;
277 m_environment = std::forward<EnvironmentT>(value);
279 template <
typename EnvironmentT = ProjectEnvironment>
293 template <
typename ServiceRoleT = Aws::String>
295 m_serviceRoleHasBeenSet =
true;
296 m_serviceRole = std::forward<ServiceRoleT>(value);
298 template <
typename ServiceRoleT = Aws::String>
314 m_timeoutInMinutesHasBeenSet =
true;
315 m_timeoutInMinutes = value;
331 m_queuedTimeoutInMinutesHasBeenSet =
true;
332 m_queuedTimeoutInMinutes = value;
353 template <
typename EncryptionKeyT = Aws::String>
355 m_encryptionKeyHasBeenSet =
true;
356 m_encryptionKey = std::forward<EncryptionKeyT>(value);
358 template <
typename EncryptionKeyT = Aws::String>
373 template <
typename TagsT = Aws::Vector<Tag>>
375 m_tagsHasBeenSet =
true;
376 m_tags = std::forward<TagsT>(value);
378 template <
typename TagsT = Aws::Vector<Tag>>
380 SetTags(std::forward<TagsT>(value));
383 template <
typename TagsT = Tag>
385 m_tagsHasBeenSet =
true;
386 m_tags.emplace_back(std::forward<TagsT>(value));
397 template <
typename CreatedT = Aws::Utils::DateTime>
399 m_createdHasBeenSet =
true;
400 m_created = std::forward<CreatedT>(value);
402 template <
typename CreatedT = Aws::Utils::DateTime>
416 template <
typename LastModifiedT = Aws::Utils::DateTime>
418 m_lastModifiedHasBeenSet =
true;
419 m_lastModified = std::forward<LastModifiedT>(value);
421 template <
typename LastModifiedT = Aws::Utils::DateTime>
435 template <
typename WebhookT = Webhook>
437 m_webhookHasBeenSet =
true;
438 m_webhook = std::forward<WebhookT>(value);
440 template <
typename WebhookT = Webhook>
453 template <
typename VpcConfigT = VpcConfig>
455 m_vpcConfigHasBeenSet =
true;
456 m_vpcConfig = std::forward<VpcConfigT>(value);
458 template <
typename VpcConfigT = VpcConfig>
471 template <
typename BadgeT = ProjectBadge>
473 m_badgeHasBeenSet =
true;
474 m_badge = std::forward<BadgeT>(value);
476 template <
typename BadgeT = ProjectBadge>
478 SetBadge(std::forward<BadgeT>(value));
490 template <
typename LogsConfigT = LogsConfig>
492 m_logsConfigHasBeenSet =
true;
493 m_logsConfig = std::forward<LogsConfigT>(value);
495 template <
typename LogsConfigT = LogsConfig>
512 template <
typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
514 m_fileSystemLocationsHasBeenSet =
true;
515 m_fileSystemLocations = std::forward<FileSystemLocationsT>(value);
517 template <
typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
522 template <
typename FileSystemLocationsT = ProjectFileSystemLocation>
524 m_fileSystemLocationsHasBeenSet =
true;
525 m_fileSystemLocations.emplace_back(std::forward<FileSystemLocationsT>(value));
537 template <
typename BuildBatchConfigT = ProjectBuildBatchConfig>
539 m_buildBatchConfigHasBeenSet =
true;
540 m_buildBatchConfig = std::forward<BuildBatchConfigT>(value);
542 template <
typename BuildBatchConfigT = ProjectBuildBatchConfig>
559 m_concurrentBuildLimitHasBeenSet =
true;
560 m_concurrentBuildLimit = value;
573 m_projectVisibilityHasBeenSet =
true;
574 m_projectVisibility = value;
588 template <
typename PublicProjectAliasT = Aws::String>
590 m_publicProjectAliasHasBeenSet =
true;
591 m_publicProjectAlias = std::forward<PublicProjectAliasT>(value);
593 template <
typename PublicProjectAliasT = Aws::String>
607 template <
typename ResourceAccessRoleT = Aws::String>
609 m_resourceAccessRoleHasBeenSet =
true;
610 m_resourceAccessRole = std::forward<ResourceAccessRoleT>(value);
612 template <
typename ResourceAccessRoleT = Aws::String>
629 m_autoRetryLimitHasBeenSet =
true;
630 m_autoRetryLimit = value;
662 int m_timeoutInMinutes{0};
664 int m_queuedTimeoutInMinutes{0};
676 VpcConfig m_vpcConfig;
678 ProjectBadge m_badge;
680 LogsConfig m_logsConfig;
684 ProjectBuildBatchConfig m_buildBatchConfig;
686 int m_concurrentBuildLimit{0};
694 int m_autoRetryLimit{0};
695 bool m_nameHasBeenSet =
false;
696 bool m_arnHasBeenSet =
false;
697 bool m_descriptionHasBeenSet =
false;
698 bool m_sourceHasBeenSet =
false;
699 bool m_secondarySourcesHasBeenSet =
false;
700 bool m_sourceVersionHasBeenSet =
false;
701 bool m_secondarySourceVersionsHasBeenSet =
false;
702 bool m_artifactsHasBeenSet =
false;
703 bool m_secondaryArtifactsHasBeenSet =
false;
704 bool m_cacheHasBeenSet =
false;
705 bool m_environmentHasBeenSet =
false;
706 bool m_serviceRoleHasBeenSet =
false;
707 bool m_timeoutInMinutesHasBeenSet =
false;
708 bool m_queuedTimeoutInMinutesHasBeenSet =
false;
709 bool m_encryptionKeyHasBeenSet =
false;
710 bool m_tagsHasBeenSet =
false;
711 bool m_createdHasBeenSet =
false;
712 bool m_lastModifiedHasBeenSet =
false;
713 bool m_webhookHasBeenSet =
false;
714 bool m_vpcConfigHasBeenSet =
false;
715 bool m_badgeHasBeenSet =
false;
716 bool m_logsConfigHasBeenSet =
false;
717 bool m_fileSystemLocationsHasBeenSet =
false;
718 bool m_buildBatchConfigHasBeenSet =
false;
719 bool m_concurrentBuildLimitHasBeenSet =
false;
720 bool m_projectVisibilityHasBeenSet =
false;
721 bool m_publicProjectAliasHasBeenSet =
false;
722 bool m_resourceAccessRoleHasBeenSet =
false;
723 bool m_autoRetryLimitHasBeenSet =
false;
bool DescriptionHasBeenSet() const
Project & WithArtifacts(ArtifactsT &&value)
const ProjectArtifacts & GetArtifacts() const
void SetCache(CacheT &&value)
bool ResourceAccessRoleHasBeenSet() const
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
bool TimeoutInMinutesHasBeenSet() const
Project & WithLogsConfig(LogsConfigT &&value)
bool VpcConfigHasBeenSet() const
bool AutoRetryLimitHasBeenSet() const
bool SecondaryArtifactsHasBeenSet() const
void SetSource(SourceT &&value)
const Aws::Vector< Tag > & GetTags() const
bool SecondarySourcesHasBeenSet() const
void SetLogsConfig(LogsConfigT &&value)
const Aws::String & GetSourceVersion() const
Project & AddSecondarySourceVersions(SecondarySourceVersionsT &&value)
void SetArn(ArnT &&value)
AWS_CODEBUILD_API Project()=default
void SetWebhook(WebhookT &&value)
Project & WithSecondarySourceVersions(SecondarySourceVersionsT &&value)
const LogsConfig & GetLogsConfig() const
Project & WithWebhook(WebhookT &&value)
bool ServiceRoleHasBeenSet() const
Project & WithBadge(BadgeT &&value)
void SetEncryptionKey(EncryptionKeyT &&value)
const ProjectBadge & GetBadge() const
void SetSecondaryArtifacts(SecondaryArtifactsT &&value)
bool TagsHasBeenSet() const
bool ArtifactsHasBeenSet() const
void SetBadge(BadgeT &&value)
const VpcConfig & GetVpcConfig() const
void SetServiceRole(ServiceRoleT &&value)
const Aws::Utils::DateTime & GetLastModified() const
Project & WithEnvironment(EnvironmentT &&value)
Project & WithBuildBatchConfig(BuildBatchConfigT &&value)
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
Project & WithVpcConfig(VpcConfigT &&value)
bool EncryptionKeyHasBeenSet() const
bool NameHasBeenSet() const
Project & WithLastModified(LastModifiedT &&value)
void SetSourceVersion(SourceVersionT &&value)
Project & WithSecondaryArtifacts(SecondaryArtifactsT &&value)
bool WebhookHasBeenSet() const
Project & WithArn(ArnT &&value)
const Aws::String & GetName() const
Project & WithName(NameT &&value)
const Aws::Vector< ProjectSource > & GetSecondarySources() const
bool FileSystemLocationsHasBeenSet() const
int GetTimeoutInMinutes() const
Project & WithProjectVisibility(ProjectVisibilityType value)
bool PublicProjectAliasHasBeenSet() const
Project & WithSourceVersion(SourceVersionT &&value)
Project & WithResourceAccessRole(ResourceAccessRoleT &&value)
bool QueuedTimeoutInMinutesHasBeenSet() const
bool SourceHasBeenSet() const
void SetCreated(CreatedT &&value)
bool CacheHasBeenSet() const
bool ArnHasBeenSet() const
int GetQueuedTimeoutInMinutes() const
Project & WithServiceRole(ServiceRoleT &&value)
const Webhook & GetWebhook() const
void SetFileSystemLocations(FileSystemLocationsT &&value)
Project & WithCreated(CreatedT &&value)
const Aws::String & GetPublicProjectAlias() const
Project & WithAutoRetryLimit(int value)
Project & WithFileSystemLocations(FileSystemLocationsT &&value)
Project & WithDescription(DescriptionT &&value)
void SetArtifacts(ArtifactsT &&value)
Project & WithCache(CacheT &&value)
void SetAutoRetryLimit(int value)
void SetSecondarySourceVersions(SecondarySourceVersionsT &&value)
Project & WithSecondarySources(SecondarySourcesT &&value)
const ProjectBuildBatchConfig & GetBuildBatchConfig() const
void SetVpcConfig(VpcConfigT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetEncryptionKey() const
AWS_CODEBUILD_API Project(Aws::Utils::Json::JsonView jsonValue)
bool EnvironmentHasBeenSet() const
bool ConcurrentBuildLimitHasBeenSet() const
Project & WithConcurrentBuildLimit(int value)
int GetAutoRetryLimit() const
ProjectVisibilityType GetProjectVisibility() const
bool LastModifiedHasBeenSet() const
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourceVersions() const
const Aws::String & GetResourceAccessRole() const
void SetBuildBatchConfig(BuildBatchConfigT &&value)
int GetConcurrentBuildLimit() const
const Aws::String & GetArn() const
AWS_CODEBUILD_API Project & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreated() const
void SetQueuedTimeoutInMinutes(int value)
const ProjectCache & GetCache() const
void SetProjectVisibility(ProjectVisibilityType value)
const ProjectEnvironment & GetEnvironment() const
Project & WithTimeoutInMinutes(int value)
Project & WithTags(TagsT &&value)
Project & WithSource(SourceT &&value)
Project & AddTags(TagsT &&value)
void SetTags(TagsT &&value)
bool CreatedHasBeenSet() const
bool ProjectVisibilityHasBeenSet() const
Project & AddFileSystemLocations(FileSystemLocationsT &&value)
const Aws::String & GetServiceRole() const
void SetLastModified(LastModifiedT &&value)
Project & WithQueuedTimeoutInMinutes(int value)
Project & AddSecondarySources(SecondarySourcesT &&value)
Project & WithPublicProjectAlias(PublicProjectAliasT &&value)
const ProjectSource & GetSource() const
bool BadgeHasBeenSet() const
void SetTimeoutInMinutes(int value)
bool SourceVersionHasBeenSet() const
bool BuildBatchConfigHasBeenSet() const
void SetSecondarySources(SecondarySourcesT &&value)
const Aws::Vector< ProjectArtifacts > & GetSecondaryArtifacts() const
void SetPublicProjectAlias(PublicProjectAliasT &&value)
void SetResourceAccessRole(ResourceAccessRoleT &&value)
void SetConcurrentBuildLimit(int value)
void SetEnvironment(EnvironmentT &&value)
bool LogsConfigHasBeenSet() const
const Aws::Vector< ProjectFileSystemLocation > & GetFileSystemLocations() const
Project & WithEncryptionKey(EncryptionKeyT &&value)
bool SecondarySourceVersionsHasBeenSet() const
Project & AddSecondaryArtifacts(SecondaryArtifactsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue