7#include <aws/codebuild/CodeBuildRequest.h>
8#include <aws/codebuild/CodeBuild_EXPORTS.h>
9#include <aws/codebuild/model/LogsConfig.h>
10#include <aws/codebuild/model/ProjectArtifacts.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/Tag.h>
18#include <aws/codebuild/model/VpcConfig.h>
19#include <aws/core/utils/memory/stl/AWSString.h>
20#include <aws/core/utils/memory/stl/AWSVector.h>
50 template <
typename NameT = Aws::String>
52 m_nameHasBeenSet =
true;
53 m_name = std::forward<NameT>(value);
55 template <
typename NameT = Aws::String>
57 SetName(std::forward<NameT>(value));
68 template <
typename DescriptionT = Aws::String>
70 m_descriptionHasBeenSet =
true;
71 m_description = std::forward<DescriptionT>(value);
73 template <
typename DescriptionT = Aws::String>
86 template <
typename SourceT = ProjectSource>
88 m_sourceHasBeenSet =
true;
89 m_source = std::forward<SourceT>(value);
91 template <
typename SourceT = ProjectSource>
104 template <
typename SecondarySourcesT = Aws::Vector<ProjectSource>>
106 m_secondarySourcesHasBeenSet =
true;
107 m_secondarySources = std::forward<SecondarySourcesT>(value);
109 template <
typename SecondarySourcesT = Aws::Vector<ProjectSource>>
114 template <
typename SecondarySourcesT = ProjectSource>
116 m_secondarySourcesHasBeenSet =
true;
117 m_secondarySources.emplace_back(std::forward<SecondarySourcesT>(value));
146 template <
typename SourceVersionT = Aws::String>
148 m_sourceVersionHasBeenSet =
true;
149 m_sourceVersion = std::forward<SourceVersionT>(value);
151 template <
typename SourceVersionT = Aws::String>
167 template <
typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
169 m_secondarySourceVersionsHasBeenSet =
true;
170 m_secondarySourceVersions = std::forward<SecondarySourceVersionsT>(value);
172 template <
typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
177 template <
typename SecondarySourceVersionsT = ProjectSourceVersion>
179 m_secondarySourceVersionsHasBeenSet =
true;
180 m_secondarySourceVersions.emplace_back(std::forward<SecondarySourceVersionsT>(value));
191 template <
typename ArtifactsT = ProjectArtifacts>
193 m_artifactsHasBeenSet =
true;
194 m_artifacts = std::forward<ArtifactsT>(value);
196 template <
typename ArtifactsT = ProjectArtifacts>
209 template <
typename SecondaryArtifactsT = Aws::Vector<ProjectArtifacts>>
211 m_secondaryArtifactsHasBeenSet =
true;
212 m_secondaryArtifacts = std::forward<SecondaryArtifactsT>(value);
214 template <
typename SecondaryArtifactsT = Aws::Vector<ProjectArtifacts>>
219 template <
typename SecondaryArtifactsT = ProjectArtifacts>
221 m_secondaryArtifactsHasBeenSet =
true;
222 m_secondaryArtifacts.emplace_back(std::forward<SecondaryArtifactsT>(value));
234 template <
typename CacheT = ProjectCache>
236 m_cacheHasBeenSet =
true;
237 m_cache = std::forward<CacheT>(value);
239 template <
typename CacheT = ProjectCache>
241 SetCache(std::forward<CacheT>(value));
252 template <
typename EnvironmentT = ProjectEnvironment>
254 m_environmentHasBeenSet =
true;
255 m_environment = std::forward<EnvironmentT>(value);
257 template <
typename EnvironmentT = ProjectEnvironment>
271 template <
typename ServiceRoleT = Aws::String>
273 m_serviceRoleHasBeenSet =
true;
274 m_serviceRole = std::forward<ServiceRoleT>(value);
276 template <
typename ServiceRoleT = Aws::String>
292 m_timeoutInMinutesHasBeenSet =
true;
293 m_timeoutInMinutes = value;
309 m_queuedTimeoutInMinutesHasBeenSet =
true;
310 m_queuedTimeoutInMinutes = value;
329 template <
typename EncryptionKeyT = Aws::String>
331 m_encryptionKeyHasBeenSet =
true;
332 m_encryptionKey = std::forward<EncryptionKeyT>(value);
334 template <
typename EncryptionKeyT = Aws::String>
349 template <
typename TagsT = Aws::Vector<Tag>>
351 m_tagsHasBeenSet =
true;
352 m_tags = std::forward<TagsT>(value);
354 template <
typename TagsT = Aws::Vector<Tag>>
356 SetTags(std::forward<TagsT>(value));
359 template <
typename TagsT = Tag>
361 m_tagsHasBeenSet =
true;
362 m_tags.emplace_back(std::forward<TagsT>(value));
375 template <
typename VpcConfigT = VpcConfig>
377 m_vpcConfigHasBeenSet =
true;
378 m_vpcConfig = std::forward<VpcConfigT>(value);
380 template <
typename VpcConfigT = VpcConfig>
395 m_badgeEnabledHasBeenSet =
true;
396 m_badgeEnabled = value;
411 template <
typename LogsConfigT = LogsConfig>
413 m_logsConfigHasBeenSet =
true;
414 m_logsConfig = std::forward<LogsConfigT>(value);
416 template <
typename LogsConfigT = LogsConfig>
433 template <
typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
435 m_fileSystemLocationsHasBeenSet =
true;
436 m_fileSystemLocations = std::forward<FileSystemLocationsT>(value);
438 template <
typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
443 template <
typename FileSystemLocationsT = ProjectFileSystemLocation>
445 m_fileSystemLocationsHasBeenSet =
true;
446 m_fileSystemLocations.emplace_back(std::forward<FileSystemLocationsT>(value));
458 template <
typename BuildBatchConfigT = ProjectBuildBatchConfig>
460 m_buildBatchConfigHasBeenSet =
true;
461 m_buildBatchConfig = std::forward<BuildBatchConfigT>(value);
463 template <
typename BuildBatchConfigT = ProjectBuildBatchConfig>
480 m_concurrentBuildLimitHasBeenSet =
true;
481 m_concurrentBuildLimit = value;
499 m_autoRetryLimitHasBeenSet =
true;
500 m_autoRetryLimit = value;
509 bool m_nameHasBeenSet =
false;
512 bool m_descriptionHasBeenSet =
false;
515 bool m_sourceHasBeenSet =
false;
518 bool m_secondarySourcesHasBeenSet =
false;
521 bool m_sourceVersionHasBeenSet =
false;
524 bool m_secondarySourceVersionsHasBeenSet =
false;
527 bool m_artifactsHasBeenSet =
false;
530 bool m_secondaryArtifactsHasBeenSet =
false;
533 bool m_cacheHasBeenSet =
false;
536 bool m_environmentHasBeenSet =
false;
539 bool m_serviceRoleHasBeenSet =
false;
541 int m_timeoutInMinutes{0};
542 bool m_timeoutInMinutesHasBeenSet =
false;
544 int m_queuedTimeoutInMinutes{0};
545 bool m_queuedTimeoutInMinutesHasBeenSet =
false;
548 bool m_encryptionKeyHasBeenSet =
false;
551 bool m_tagsHasBeenSet =
false;
553 VpcConfig m_vpcConfig;
554 bool m_vpcConfigHasBeenSet =
false;
556 bool m_badgeEnabled{
false};
557 bool m_badgeEnabledHasBeenSet =
false;
559 LogsConfig m_logsConfig;
560 bool m_logsConfigHasBeenSet =
false;
563 bool m_fileSystemLocationsHasBeenSet =
false;
565 ProjectBuildBatchConfig m_buildBatchConfig;
566 bool m_buildBatchConfigHasBeenSet =
false;
568 int m_concurrentBuildLimit{0};
569 bool m_concurrentBuildLimitHasBeenSet =
false;
571 int m_autoRetryLimit{0};
572 bool m_autoRetryLimitHasBeenSet =
false;
void SetLogsConfig(LogsConfigT &&value)
void SetSource(SourceT &&value)
CreateProjectRequest & WithLogsConfig(LogsConfigT &&value)
bool LogsConfigHasBeenSet() const
bool SecondaryArtifactsHasBeenSet() const
const Aws::String & GetName() const
void SetEncryptionKey(EncryptionKeyT &&value)
const VpcConfig & GetVpcConfig() const
CreateProjectRequest & WithSecondarySources(SecondarySourcesT &&value)
void SetCache(CacheT &&value)
int GetAutoRetryLimit() const
CreateProjectRequest & AddSecondarySources(SecondarySourcesT &&value)
bool GetBadgeEnabled() const
CreateProjectRequest & WithFileSystemLocations(FileSystemLocationsT &&value)
bool SourceHasBeenSet() const
CreateProjectRequest & WithDescription(DescriptionT &&value)
CreateProjectRequest & WithServiceRole(ServiceRoleT &&value)
void SetSecondarySources(SecondarySourcesT &&value)
void SetVpcConfig(VpcConfigT &&value)
const Aws::Vector< ProjectArtifacts > & GetSecondaryArtifacts() const
AWS_CODEBUILD_API CreateProjectRequest()=default
CreateProjectRequest & WithConcurrentBuildLimit(int value)
bool VpcConfigHasBeenSet() const
const Aws::Vector< ProjectSource > & GetSecondarySources() const
const Aws::String & GetServiceRole() const
virtual const char * GetServiceRequestName() const override
CreateProjectRequest & AddTags(TagsT &&value)
bool FileSystemLocationsHasBeenSet() const
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourceVersions() const
bool AutoRetryLimitHasBeenSet() const
const Aws::String & GetSourceVersion() const
CreateProjectRequest & AddSecondarySourceVersions(SecondarySourceVersionsT &&value)
void SetEnvironment(EnvironmentT &&value)
bool TimeoutInMinutesHasBeenSet() const
bool QueuedTimeoutInMinutesHasBeenSet() const
CreateProjectRequest & WithQueuedTimeoutInMinutes(int value)
CreateProjectRequest & AddSecondaryArtifacts(SecondaryArtifactsT &&value)
bool ArtifactsHasBeenSet() const
CreateProjectRequest & WithBuildBatchConfig(BuildBatchConfigT &&value)
CreateProjectRequest & WithArtifacts(ArtifactsT &&value)
CreateProjectRequest & WithTags(TagsT &&value)
int GetConcurrentBuildLimit() const
CreateProjectRequest & WithSourceVersion(SourceVersionT &&value)
int GetQueuedTimeoutInMinutes() const
const ProjectCache & GetCache() const
bool CacheHasBeenSet() const
const ProjectBuildBatchConfig & GetBuildBatchConfig() const
const ProjectSource & GetSource() const
int GetTimeoutInMinutes() const
CreateProjectRequest & WithEncryptionKey(EncryptionKeyT &&value)
void SetDescription(DescriptionT &&value)
bool NameHasBeenSet() const
bool BuildBatchConfigHasBeenSet() const
CreateProjectRequest & WithEnvironment(EnvironmentT &&value)
const ProjectArtifacts & GetArtifacts() const
void SetName(NameT &&value)
const Aws::Vector< ProjectFileSystemLocation > & GetFileSystemLocations() const
CreateProjectRequest & WithSecondarySourceVersions(SecondarySourceVersionsT &&value)
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ConcurrentBuildLimitHasBeenSet() const
void SetSecondaryArtifacts(SecondaryArtifactsT &&value)
const LogsConfig & GetLogsConfig() const
CreateProjectRequest & WithVpcConfig(VpcConfigT &&value)
CreateProjectRequest & WithSecondaryArtifacts(SecondaryArtifactsT &&value)
CreateProjectRequest & WithName(NameT &&value)
bool SecondarySourcesHasBeenSet() const
bool SecondarySourceVersionsHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetTimeoutInMinutes(int value)
const ProjectEnvironment & GetEnvironment() const
bool ServiceRoleHasBeenSet() const
void SetSecondarySourceVersions(SecondarySourceVersionsT &&value)
CreateProjectRequest & WithAutoRetryLimit(int value)
bool BadgeEnabledHasBeenSet() const
bool SourceVersionHasBeenSet() const
void SetAutoRetryLimit(int value)
bool TagsHasBeenSet() const
const Aws::String & GetEncryptionKey() const
void SetSourceVersion(SourceVersionT &&value)
CreateProjectRequest & WithBadgeEnabled(bool value)
CreateProjectRequest & WithTimeoutInMinutes(int value)
const Aws::String & GetDescription() const
CreateProjectRequest & WithCache(CacheT &&value)
void SetBadgeEnabled(bool value)
void SetBuildBatchConfig(BuildBatchConfigT &&value)
CreateProjectRequest & AddFileSystemLocations(FileSystemLocationsT &&value)
void SetConcurrentBuildLimit(int value)
bool EncryptionKeyHasBeenSet() const
bool EnvironmentHasBeenSet() const
AWS_CODEBUILD_API Aws::String SerializePayload() const override
void SetQueuedTimeoutInMinutes(int value)
void SetServiceRole(ServiceRoleT &&value)
CreateProjectRequest & WithSource(SourceT &&value)
bool DescriptionHasBeenSet() const
void SetTags(TagsT &&value)
void SetFileSystemLocations(FileSystemLocationsT &&value)
void SetArtifacts(ArtifactsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector