7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/CodeBuildRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codebuild/model/ProjectSource.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codebuild/model/ProjectArtifacts.h>
13#include <aws/codebuild/model/ProjectCache.h>
14#include <aws/codebuild/model/ProjectEnvironment.h>
15#include <aws/codebuild/model/VpcConfig.h>
16#include <aws/codebuild/model/LogsConfig.h>
17#include <aws/codebuild/model/ProjectBuildBatchConfig.h>
18#include <aws/codebuild/model/ProjectSourceVersion.h>
19#include <aws/codebuild/model/Tag.h>
20#include <aws/codebuild/model/ProjectFileSystemLocation.h>
55 template<
typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
57 template<
typename NameT = Aws::String>
67 template<
typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
69 template<
typename DescriptionT = Aws::String>
80 template<
typename SourceT = ProjectSource>
81 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
82 template<
typename SourceT = ProjectSource>
92 template<
typename SecondarySourcesT = Aws::Vector<ProjectSource>>
93 void SetSecondarySources(SecondarySourcesT&& value) { m_secondarySourcesHasBeenSet =
true; m_secondarySources = std::forward<SecondarySourcesT>(value); }
94 template<
typename SecondarySourcesT = Aws::Vector<ProjectSource>>
96 template<
typename SecondarySourcesT = ProjectSource>
124 template<
typename SourceVersionT = Aws::String>
125 void SetSourceVersion(SourceVersionT&& value) { m_sourceVersionHasBeenSet =
true; m_sourceVersion = std::forward<SourceVersionT>(value); }
126 template<
typename SourceVersionT = Aws::String>
139 template<
typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
140 void SetSecondarySourceVersions(SecondarySourceVersionsT&& value) { m_secondarySourceVersionsHasBeenSet =
true; m_secondarySourceVersions = std::forward<SecondarySourceVersionsT>(value); }
141 template<
typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
143 template<
typename SecondarySourceVersionsT = ProjectSourceVersion>
154 template<
typename ArtifactsT = ProjectArtifacts>
155 void SetArtifacts(ArtifactsT&& value) { m_artifactsHasBeenSet =
true; m_artifacts = std::forward<ArtifactsT>(value); }
156 template<
typename ArtifactsT = ProjectArtifacts>
166 template<
typename SecondaryArtifactsT = Aws::Vector<ProjectArtifacts>>
167 void SetSecondaryArtifacts(SecondaryArtifactsT&& value) { m_secondaryArtifactsHasBeenSet =
true; m_secondaryArtifacts = std::forward<SecondaryArtifactsT>(value); }
168 template<
typename SecondaryArtifactsT = Aws::Vector<ProjectArtifacts>>
170 template<
typename SecondaryArtifactsT = ProjectArtifacts>
181 template<
typename CacheT = ProjectCache>
182 void SetCache(CacheT&& value) { m_cacheHasBeenSet =
true; m_cache = std::forward<CacheT>(value); }
183 template<
typename CacheT = ProjectCache>
194 template<
typename EnvironmentT = ProjectEnvironment>
195 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet =
true; m_environment = std::forward<EnvironmentT>(value); }
196 template<
typename EnvironmentT = ProjectEnvironment>
208 template<
typename ServiceRoleT = Aws::String>
209 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet =
true; m_serviceRole = std::forward<ServiceRoleT>(value); }
210 template<
typename ServiceRoleT = Aws::String>
222 inline void SetTimeoutInMinutes(
int value) { m_timeoutInMinutesHasBeenSet =
true; m_timeoutInMinutes = value; }
248 template<
typename EncryptionKeyT = Aws::String>
249 void SetEncryptionKey(EncryptionKeyT&& value) { m_encryptionKeyHasBeenSet =
true; m_encryptionKey = std::forward<EncryptionKeyT>(value); }
250 template<
typename EncryptionKeyT = Aws::String>
262 template<
typename TagsT = Aws::Vector<Tag>>
263 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
264 template<
typename TagsT = Aws::Vector<Tag>>
266 template<
typename TagsT = Tag>
276 template<
typename VpcConfigT = VpcConfig>
277 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
278 template<
typename VpcConfigT = VpcConfig>
289 inline void SetBadgeEnabled(
bool value) { m_badgeEnabledHasBeenSet =
true; m_badgeEnabled = value; }
300 template<
typename LogsConfigT = LogsConfig>
301 void SetLogsConfig(LogsConfigT&& value) { m_logsConfigHasBeenSet =
true; m_logsConfig = std::forward<LogsConfigT>(value); }
302 template<
typename LogsConfigT = LogsConfig>
316 template<
typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
317 void SetFileSystemLocations(FileSystemLocationsT&& value) { m_fileSystemLocationsHasBeenSet =
true; m_fileSystemLocations = std::forward<FileSystemLocationsT>(value); }
318 template<
typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
320 template<
typename FileSystemLocationsT = ProjectFileSystemLocation>
328 template<
typename BuildBatchConfigT = ProjectBuildBatchConfig>
329 void SetBuildBatchConfig(BuildBatchConfigT&& value) { m_buildBatchConfigHasBeenSet =
true; m_buildBatchConfig = std::forward<BuildBatchConfigT>(value); }
330 template<
typename BuildBatchConfigT = ProjectBuildBatchConfig>
357 inline void SetAutoRetryLimit(
int value) { m_autoRetryLimitHasBeenSet =
true; m_autoRetryLimit = value; }
363 bool m_nameHasBeenSet =
false;
366 bool m_descriptionHasBeenSet =
false;
369 bool m_sourceHasBeenSet =
false;
372 bool m_secondarySourcesHasBeenSet =
false;
375 bool m_sourceVersionHasBeenSet =
false;
378 bool m_secondarySourceVersionsHasBeenSet =
false;
381 bool m_artifactsHasBeenSet =
false;
384 bool m_secondaryArtifactsHasBeenSet =
false;
387 bool m_cacheHasBeenSet =
false;
390 bool m_environmentHasBeenSet =
false;
393 bool m_serviceRoleHasBeenSet =
false;
395 int m_timeoutInMinutes{0};
396 bool m_timeoutInMinutesHasBeenSet =
false;
398 int m_queuedTimeoutInMinutes{0};
399 bool m_queuedTimeoutInMinutesHasBeenSet =
false;
402 bool m_encryptionKeyHasBeenSet =
false;
405 bool m_tagsHasBeenSet =
false;
407 VpcConfig m_vpcConfig;
408 bool m_vpcConfigHasBeenSet =
false;
410 bool m_badgeEnabled{
false};
411 bool m_badgeEnabledHasBeenSet =
false;
413 LogsConfig m_logsConfig;
414 bool m_logsConfigHasBeenSet =
false;
417 bool m_fileSystemLocationsHasBeenSet =
false;
419 ProjectBuildBatchConfig m_buildBatchConfig;
420 bool m_buildBatchConfigHasBeenSet =
false;
422 int m_concurrentBuildLimit{0};
423 bool m_concurrentBuildLimitHasBeenSet =
false;
425 int m_autoRetryLimit{0};
426 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