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>
51 template <
typename NameT = Aws::String>
53 m_nameHasBeenSet =
true;
54 m_name = std::forward<NameT>(value);
56 template <
typename NameT = Aws::String>
58 SetName(std::forward<NameT>(value));
69 template <
typename DescriptionT = Aws::String>
71 m_descriptionHasBeenSet =
true;
72 m_description = std::forward<DescriptionT>(value);
74 template <
typename DescriptionT = Aws::String>
88 template <
typename SourceT = ProjectSource>
90 m_sourceHasBeenSet =
true;
91 m_source = std::forward<SourceT>(value);
93 template <
typename SourceT = ProjectSource>
106 template <
typename SecondarySourcesT = Aws::Vector<ProjectSource>>
108 m_secondarySourcesHasBeenSet =
true;
109 m_secondarySources = std::forward<SecondarySourcesT>(value);
111 template <
typename SecondarySourcesT = Aws::Vector<ProjectSource>>
116 template <
typename SecondarySourcesT = ProjectSource>
118 m_secondarySourcesHasBeenSet =
true;
119 m_secondarySources.emplace_back(std::forward<SecondarySourcesT>(value));
148 template <
typename SourceVersionT = Aws::String>
150 m_sourceVersionHasBeenSet =
true;
151 m_sourceVersion = std::forward<SourceVersionT>(value);
153 template <
typename SourceVersionT = Aws::String>
169 template <
typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
171 m_secondarySourceVersionsHasBeenSet =
true;
172 m_secondarySourceVersions = std::forward<SecondarySourceVersionsT>(value);
174 template <
typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
179 template <
typename SecondarySourceVersionsT = ProjectSourceVersion>
181 m_secondarySourceVersionsHasBeenSet =
true;
182 m_secondarySourceVersions.emplace_back(std::forward<SecondarySourceVersionsT>(value));
194 template <
typename ArtifactsT = ProjectArtifacts>
196 m_artifactsHasBeenSet =
true;
197 m_artifacts = std::forward<ArtifactsT>(value);
199 template <
typename ArtifactsT = ProjectArtifacts>
212 template <
typename SecondaryArtifactsT = Aws::Vector<ProjectArtifacts>>
214 m_secondaryArtifactsHasBeenSet =
true;
215 m_secondaryArtifacts = std::forward<SecondaryArtifactsT>(value);
217 template <
typename SecondaryArtifactsT = Aws::Vector<ProjectArtifacts>>
222 template <
typename SecondaryArtifactsT = ProjectArtifacts>
224 m_secondaryArtifactsHasBeenSet =
true;
225 m_secondaryArtifacts.emplace_back(std::forward<SecondaryArtifactsT>(value));
237 template <
typename CacheT = ProjectCache>
239 m_cacheHasBeenSet =
true;
240 m_cache = std::forward<CacheT>(value);
242 template <
typename CacheT = ProjectCache>
244 SetCache(std::forward<CacheT>(value));
256 template <
typename EnvironmentT = ProjectEnvironment>
258 m_environmentHasBeenSet =
true;
259 m_environment = std::forward<EnvironmentT>(value);
261 template <
typename EnvironmentT = ProjectEnvironment>
276 template <
typename ServiceRoleT = Aws::String>
278 m_serviceRoleHasBeenSet =
true;
279 m_serviceRole = std::forward<ServiceRoleT>(value);
281 template <
typename ServiceRoleT = Aws::String>
297 m_timeoutInMinutesHasBeenSet =
true;
298 m_timeoutInMinutes = value;
314 m_queuedTimeoutInMinutesHasBeenSet =
true;
315 m_queuedTimeoutInMinutes = value;
334 template <
typename EncryptionKeyT = Aws::String>
336 m_encryptionKeyHasBeenSet =
true;
337 m_encryptionKey = std::forward<EncryptionKeyT>(value);
339 template <
typename EncryptionKeyT = Aws::String>
354 template <
typename TagsT = Aws::Vector<Tag>>
356 m_tagsHasBeenSet =
true;
357 m_tags = std::forward<TagsT>(value);
359 template <
typename TagsT = Aws::Vector<Tag>>
361 SetTags(std::forward<TagsT>(value));
364 template <
typename TagsT = Tag>
366 m_tagsHasBeenSet =
true;
367 m_tags.emplace_back(std::forward<TagsT>(value));
378 template <
typename VpcConfigT = VpcConfig>
380 m_vpcConfigHasBeenSet =
true;
381 m_vpcConfig = std::forward<VpcConfigT>(value);
383 template <
typename VpcConfigT = VpcConfig>
398 m_badgeEnabledHasBeenSet =
true;
399 m_badgeEnabled = value;
414 template <
typename LogsConfigT = LogsConfig>
416 m_logsConfigHasBeenSet =
true;
417 m_logsConfig = std::forward<LogsConfigT>(value);
419 template <
typename LogsConfigT = LogsConfig>
436 template <
typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
438 m_fileSystemLocationsHasBeenSet =
true;
439 m_fileSystemLocations = std::forward<FileSystemLocationsT>(value);
441 template <
typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
446 template <
typename FileSystemLocationsT = ProjectFileSystemLocation>
448 m_fileSystemLocationsHasBeenSet =
true;
449 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>
481 m_concurrentBuildLimitHasBeenSet =
true;
482 m_concurrentBuildLimit = value;
500 m_autoRetryLimitHasBeenSet =
true;
501 m_autoRetryLimit = value;
531 int m_timeoutInMinutes{0};
533 int m_queuedTimeoutInMinutes{0};
539 VpcConfig m_vpcConfig;
541 bool m_badgeEnabled{
false};
543 LogsConfig m_logsConfig;
547 ProjectBuildBatchConfig m_buildBatchConfig;
549 int m_concurrentBuildLimit{0};
551 int m_autoRetryLimit{0};
552 bool m_nameHasBeenSet =
false;
553 bool m_descriptionHasBeenSet =
false;
554 bool m_sourceHasBeenSet =
false;
555 bool m_secondarySourcesHasBeenSet =
false;
556 bool m_sourceVersionHasBeenSet =
false;
557 bool m_secondarySourceVersionsHasBeenSet =
false;
558 bool m_artifactsHasBeenSet =
false;
559 bool m_secondaryArtifactsHasBeenSet =
false;
560 bool m_cacheHasBeenSet =
false;
561 bool m_environmentHasBeenSet =
false;
562 bool m_serviceRoleHasBeenSet =
false;
563 bool m_timeoutInMinutesHasBeenSet =
false;
564 bool m_queuedTimeoutInMinutesHasBeenSet =
false;
565 bool m_encryptionKeyHasBeenSet =
false;
566 bool m_tagsHasBeenSet =
false;
567 bool m_vpcConfigHasBeenSet =
false;
568 bool m_badgeEnabledHasBeenSet =
false;
569 bool m_logsConfigHasBeenSet =
false;
570 bool m_fileSystemLocationsHasBeenSet =
false;
571 bool m_buildBatchConfigHasBeenSet =
false;
572 bool m_concurrentBuildLimitHasBeenSet =
false;
573 bool m_autoRetryLimitHasBeenSet =
false;
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourceVersions() const
UpdateProjectRequest & WithEnvironment(EnvironmentT &&value)
void SetName(NameT &&value)
const Aws::Vector< ProjectFileSystemLocation > & GetFileSystemLocations() const
bool GetBadgeEnabled() const
UpdateProjectRequest & WithName(NameT &&value)
bool BadgeEnabledHasBeenSet() const
UpdateProjectRequest & WithTags(TagsT &&value)
const ProjectEnvironment & GetEnvironment() const
UpdateProjectRequest & AddTags(TagsT &&value)
void SetBuildBatchConfig(BuildBatchConfigT &&value)
bool FileSystemLocationsHasBeenSet() const
void SetTimeoutInMinutes(int value)
UpdateProjectRequest & AddSecondarySourceVersions(SecondarySourceVersionsT &&value)
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool AutoRetryLimitHasBeenSet() const
bool TagsHasBeenSet() const
UpdateProjectRequest & AddFileSystemLocations(FileSystemLocationsT &&value)
UpdateProjectRequest & WithDescription(DescriptionT &&value)
const ProjectBuildBatchConfig & GetBuildBatchConfig() const
const Aws::String & GetName() const
bool VpcConfigHasBeenSet() const
UpdateProjectRequest & WithSecondarySources(SecondarySourcesT &&value)
void SetQueuedTimeoutInMinutes(int value)
UpdateProjectRequest & WithCache(CacheT &&value)
bool SecondarySourcesHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool CacheHasBeenSet() const
UpdateProjectRequest & WithSource(SourceT &&value)
void SetVpcConfig(VpcConfigT &&value)
void SetSource(SourceT &&value)
const Aws::String & GetServiceRole() const
const Aws::Vector< Tag > & GetTags() const
void SetServiceRole(ServiceRoleT &&value)
int GetConcurrentBuildLimit() const
const Aws::Vector< ProjectSource > & GetSecondarySources() const
const ProjectCache & GetCache() const
bool SourceVersionHasBeenSet() const
const ProjectArtifacts & GetArtifacts() const
void SetDescription(DescriptionT &&value)
const VpcConfig & GetVpcConfig() const
UpdateProjectRequest & WithTimeoutInMinutes(int value)
bool NameHasBeenSet() const
void SetSecondarySourceVersions(SecondarySourceVersionsT &&value)
void SetBadgeEnabled(bool value)
const ProjectSource & GetSource() const
UpdateProjectRequest & WithConcurrentBuildLimit(int value)
const Aws::String & GetSourceVersion() const
void SetArtifacts(ArtifactsT &&value)
void SetCache(CacheT &&value)
bool SourceHasBeenSet() const
UpdateProjectRequest & WithSecondarySourceVersions(SecondarySourceVersionsT &&value)
UpdateProjectRequest & WithLogsConfig(LogsConfigT &&value)
void SetConcurrentBuildLimit(int value)
bool BuildBatchConfigHasBeenSet() const
void SetEnvironment(EnvironmentT &&value)
bool LogsConfigHasBeenSet() const
UpdateProjectRequest & AddSecondarySources(SecondarySourcesT &&value)
const Aws::Vector< ProjectArtifacts > & GetSecondaryArtifacts() const
void SetSecondaryArtifacts(SecondaryArtifactsT &&value)
const Aws::String & GetDescription() const
void SetTags(TagsT &&value)
const LogsConfig & GetLogsConfig() const
bool EncryptionKeyHasBeenSet() const
UpdateProjectRequest & WithBuildBatchConfig(BuildBatchConfigT &&value)
bool ServiceRoleHasBeenSet() const
bool TimeoutInMinutesHasBeenSet() const
UpdateProjectRequest & WithAutoRetryLimit(int value)
int GetTimeoutInMinutes() const
const Aws::String & GetEncryptionKey() const
UpdateProjectRequest & AddSecondaryArtifacts(SecondaryArtifactsT &&value)
AWS_CODEBUILD_API Aws::String SerializePayload() const override
void SetSecondarySources(SecondarySourcesT &&value)
bool ConcurrentBuildLimitHasBeenSet() const
bool DescriptionHasBeenSet() const
UpdateProjectRequest & WithQueuedTimeoutInMinutes(int value)
UpdateProjectRequest & WithServiceRole(ServiceRoleT &&value)
UpdateProjectRequest & WithBadgeEnabled(bool value)
UpdateProjectRequest & WithArtifacts(ArtifactsT &&value)
bool SecondarySourceVersionsHasBeenSet() const
AWS_CODEBUILD_API UpdateProjectRequest()=default
UpdateProjectRequest & WithEncryptionKey(EncryptionKeyT &&value)
bool ArtifactsHasBeenSet() const
UpdateProjectRequest & WithVpcConfig(VpcConfigT &&value)
bool SecondaryArtifactsHasBeenSet() const
UpdateProjectRequest & WithFileSystemLocations(FileSystemLocationsT &&value)
void SetSourceVersion(SourceVersionT &&value)
void SetAutoRetryLimit(int value)
void SetEncryptionKey(EncryptionKeyT &&value)
bool QueuedTimeoutInMinutesHasBeenSet() const
void SetFileSystemLocations(FileSystemLocationsT &&value)
int GetQueuedTimeoutInMinutes() const
UpdateProjectRequest & WithSecondaryArtifacts(SecondaryArtifactsT &&value)
bool EnvironmentHasBeenSet() const
UpdateProjectRequest & WithSourceVersion(SourceVersionT &&value)
int GetAutoRetryLimit() const
void SetLogsConfig(LogsConfigT &&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