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>
54 template<
typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
56 template<
typename NameT = Aws::String>
66 template<
typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
68 template<
typename DescriptionT = Aws::String>
78 template<
typename SourceT = ProjectSource>
79 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
80 template<
typename SourceT = ProjectSource>
90 template<
typename SecondarySourcesT = Aws::Vector<ProjectSource>>
91 void SetSecondarySources(SecondarySourcesT&& value) { m_secondarySourcesHasBeenSet =
true; m_secondarySources = std::forward<SecondarySourcesT>(value); }
92 template<
typename SecondarySourcesT = Aws::Vector<ProjectSource>>
94 template<
typename SecondarySourcesT = ProjectSource>
122 template<
typename SourceVersionT = Aws::String>
123 void SetSourceVersion(SourceVersionT&& value) { m_sourceVersionHasBeenSet =
true; m_sourceVersion = std::forward<SourceVersionT>(value); }
124 template<
typename SourceVersionT = Aws::String>
137 template<
typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
138 void SetSecondarySourceVersions(SecondarySourceVersionsT&& value) { m_secondarySourceVersionsHasBeenSet =
true; m_secondarySourceVersions = std::forward<SecondarySourceVersionsT>(value); }
139 template<
typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
141 template<
typename SecondarySourceVersionsT = ProjectSourceVersion>
151 template<
typename ArtifactsT = ProjectArtifacts>
152 void SetArtifacts(ArtifactsT&& value) { m_artifactsHasBeenSet =
true; m_artifacts = std::forward<ArtifactsT>(value); }
153 template<
typename ArtifactsT = ProjectArtifacts>
163 template<
typename SecondaryArtifactsT = Aws::Vector<ProjectArtifacts>>
164 void SetSecondaryArtifacts(SecondaryArtifactsT&& value) { m_secondaryArtifactsHasBeenSet =
true; m_secondaryArtifacts = std::forward<SecondaryArtifactsT>(value); }
165 template<
typename SecondaryArtifactsT = Aws::Vector<ProjectArtifacts>>
167 template<
typename SecondaryArtifactsT = ProjectArtifacts>
178 template<
typename CacheT = ProjectCache>
179 void SetCache(CacheT&& value) { m_cacheHasBeenSet =
true; m_cache = std::forward<CacheT>(value); }
180 template<
typename CacheT = ProjectCache>
190 template<
typename EnvironmentT = ProjectEnvironment>
191 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet =
true; m_environment = std::forward<EnvironmentT>(value); }
192 template<
typename EnvironmentT = ProjectEnvironment>
203 template<
typename ServiceRoleT = Aws::String>
204 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet =
true; m_serviceRole = std::forward<ServiceRoleT>(value); }
205 template<
typename ServiceRoleT = Aws::String>
217 inline void SetTimeoutInMinutes(
int value) { m_timeoutInMinutesHasBeenSet =
true; m_timeoutInMinutes = value; }
243 template<
typename EncryptionKeyT = Aws::String>
244 void SetEncryptionKey(EncryptionKeyT&& value) { m_encryptionKeyHasBeenSet =
true; m_encryptionKey = std::forward<EncryptionKeyT>(value); }
245 template<
typename EncryptionKeyT = Aws::String>
257 template<
typename TagsT = Aws::Vector<Tag>>
258 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
259 template<
typename TagsT = Aws::Vector<Tag>>
261 template<
typename TagsT = Tag>
273 template<
typename VpcConfigT = VpcConfig>
274 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
275 template<
typename VpcConfigT = VpcConfig>
286 inline void SetBadgeEnabled(
bool value) { m_badgeEnabledHasBeenSet =
true; m_badgeEnabled = value; }
297 template<
typename LogsConfigT = LogsConfig>
298 void SetLogsConfig(LogsConfigT&& value) { m_logsConfigHasBeenSet =
true; m_logsConfig = std::forward<LogsConfigT>(value); }
299 template<
typename LogsConfigT = LogsConfig>
313 template<
typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
314 void SetFileSystemLocations(FileSystemLocationsT&& value) { m_fileSystemLocationsHasBeenSet =
true; m_fileSystemLocations = std::forward<FileSystemLocationsT>(value); }
315 template<
typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
317 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>
356 inline void SetAutoRetryLimit(
int value) { m_autoRetryLimitHasBeenSet =
true; m_autoRetryLimit = value; }
362 bool m_nameHasBeenSet =
false;
365 bool m_descriptionHasBeenSet =
false;
368 bool m_sourceHasBeenSet =
false;
371 bool m_secondarySourcesHasBeenSet =
false;
374 bool m_sourceVersionHasBeenSet =
false;
377 bool m_secondarySourceVersionsHasBeenSet =
false;
380 bool m_artifactsHasBeenSet =
false;
383 bool m_secondaryArtifactsHasBeenSet =
false;
386 bool m_cacheHasBeenSet =
false;
389 bool m_environmentHasBeenSet =
false;
392 bool m_serviceRoleHasBeenSet =
false;
394 int m_timeoutInMinutes{0};
395 bool m_timeoutInMinutesHasBeenSet =
false;
397 int m_queuedTimeoutInMinutes{0};
398 bool m_queuedTimeoutInMinutesHasBeenSet =
false;
401 bool m_encryptionKeyHasBeenSet =
false;
404 bool m_tagsHasBeenSet =
false;
406 VpcConfig m_vpcConfig;
407 bool m_vpcConfigHasBeenSet =
false;
409 bool m_badgeEnabled{
false};
410 bool m_badgeEnabledHasBeenSet =
false;
412 LogsConfig m_logsConfig;
413 bool m_logsConfigHasBeenSet =
false;
416 bool m_fileSystemLocationsHasBeenSet =
false;
418 ProjectBuildBatchConfig m_buildBatchConfig;
419 bool m_buildBatchConfigHasBeenSet =
false;
421 int m_concurrentBuildLimit{0};
422 bool m_concurrentBuildLimitHasBeenSet =
false;
424 int m_autoRetryLimit{0};
425 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