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>
56 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
70 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
128 inline void SetSourceVersion(
const char* value) { m_sourceVersionHasBeenSet =
true; m_sourceVersion.assign(value); }
211 inline void SetServiceRole(
const char* value) { m_serviceRoleHasBeenSet =
true; m_serviceRole.assign(value); }
225 inline void SetTimeoutInMinutes(
int value) { m_timeoutInMinutesHasBeenSet =
true; m_timeoutInMinutes = value; }
253 inline void SetEncryptionKey(
const char* value) { m_encryptionKeyHasBeenSet =
true; m_encryptionKey.assign(value); }
296 inline void SetBadgeEnabled(
bool value) { m_badgeEnabledHasBeenSet =
true; m_badgeEnabled = value; }
366 inline void SetAutoRetryLimit(
int value) { m_autoRetryLimitHasBeenSet =
true; m_autoRetryLimit = value; }
372 bool m_nameHasBeenSet =
false;
375 bool m_descriptionHasBeenSet =
false;
378 bool m_sourceHasBeenSet =
false;
381 bool m_secondarySourcesHasBeenSet =
false;
384 bool m_sourceVersionHasBeenSet =
false;
387 bool m_secondarySourceVersionsHasBeenSet =
false;
390 bool m_artifactsHasBeenSet =
false;
393 bool m_secondaryArtifactsHasBeenSet =
false;
396 bool m_cacheHasBeenSet =
false;
399 bool m_environmentHasBeenSet =
false;
402 bool m_serviceRoleHasBeenSet =
false;
404 int m_timeoutInMinutes;
405 bool m_timeoutInMinutesHasBeenSet =
false;
407 int m_queuedTimeoutInMinutes;
408 bool m_queuedTimeoutInMinutesHasBeenSet =
false;
411 bool m_encryptionKeyHasBeenSet =
false;
414 bool m_tagsHasBeenSet =
false;
417 bool m_vpcConfigHasBeenSet =
false;
420 bool m_badgeEnabledHasBeenSet =
false;
423 bool m_logsConfigHasBeenSet =
false;
426 bool m_fileSystemLocationsHasBeenSet =
false;
429 bool m_buildBatchConfigHasBeenSet =
false;
431 int m_concurrentBuildLimit;
432 bool m_concurrentBuildLimitHasBeenSet =
false;
434 int m_autoRetryLimit;
435 bool m_autoRetryLimitHasBeenSet =
false;
CreateProjectRequest & WithName(Aws::String &&value)
void SetSourceVersion(const Aws::String &value)
void SetSourceVersion(const char *value)
bool LogsConfigHasBeenSet() const
bool SecondaryArtifactsHasBeenSet() const
const Aws::String & GetName() const
CreateProjectRequest & WithSource(ProjectSource &&value)
const VpcConfig & GetVpcConfig() const
int GetAutoRetryLimit() const
void SetSource(ProjectSource &&value)
CreateProjectRequest & AddTags(Tag &&value)
bool GetBadgeEnabled() const
bool SourceHasBeenSet() const
CreateProjectRequest & WithEncryptionKey(Aws::String &&value)
CreateProjectRequest & WithEnvironment(const ProjectEnvironment &value)
void SetLogsConfig(LogsConfig &&value)
CreateProjectRequest & WithSecondaryArtifacts(const Aws::Vector< ProjectArtifacts > &value)
const Aws::Vector< ProjectArtifacts > & GetSecondaryArtifacts() const
CreateProjectRequest & AddSecondaryArtifacts(const ProjectArtifacts &value)
CreateProjectRequest & WithSourceVersion(const char *value)
CreateProjectRequest & AddFileSystemLocations(ProjectFileSystemLocation &&value)
CreateProjectRequest & WithConcurrentBuildLimit(int value)
CreateProjectRequest & WithBuildBatchConfig(const ProjectBuildBatchConfig &value)
void SetVpcConfig(VpcConfig &&value)
CreateProjectRequest & WithFileSystemLocations(Aws::Vector< ProjectFileSystemLocation > &&value)
bool VpcConfigHasBeenSet() const
const Aws::Vector< ProjectSource > & GetSecondarySources() const
CreateProjectRequest & WithSecondarySources(const Aws::Vector< ProjectSource > &value)
CreateProjectRequest & WithCache(const ProjectCache &value)
CreateProjectRequest & WithLogsConfig(const LogsConfig &value)
const Aws::String & GetServiceRole() const
void SetSecondarySources(const Aws::Vector< ProjectSource > &value)
virtual const char * GetServiceRequestName() const override
CreateProjectRequest & WithSecondarySources(Aws::Vector< ProjectSource > &&value)
CreateProjectRequest & WithLogsConfig(LogsConfig &&value)
bool FileSystemLocationsHasBeenSet() const
void SetEnvironment(ProjectEnvironment &&value)
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourceVersions() const
void SetVpcConfig(const VpcConfig &value)
CreateProjectRequest & WithEncryptionKey(const Aws::String &value)
bool AutoRetryLimitHasBeenSet() const
const Aws::String & GetSourceVersion() const
bool TimeoutInMinutesHasBeenSet() const
bool QueuedTimeoutInMinutesHasBeenSet() const
CreateProjectRequest & WithQueuedTimeoutInMinutes(int value)
void SetTags(const Aws::Vector< Tag > &value)
bool ArtifactsHasBeenSet() const
CreateProjectRequest & WithSource(const ProjectSource &value)
void SetSecondaryArtifacts(const Aws::Vector< ProjectArtifacts > &value)
CreateProjectRequest & AddSecondaryArtifacts(ProjectArtifacts &&value)
CreateProjectRequest & AddFileSystemLocations(const ProjectFileSystemLocation &value)
CreateProjectRequest & AddSecondarySourceVersions(const ProjectSourceVersion &value)
int GetConcurrentBuildLimit() const
void SetCache(const ProjectCache &value)
void SetSourceVersion(Aws::String &&value)
void SetName(Aws::String &&value)
int GetQueuedTimeoutInMinutes() const
const ProjectCache & GetCache() const
bool CacheHasBeenSet() const
CreateProjectRequest & WithEnvironment(ProjectEnvironment &&value)
const ProjectBuildBatchConfig & GetBuildBatchConfig() const
const ProjectSource & GetSource() const
void SetFileSystemLocations(Aws::Vector< ProjectFileSystemLocation > &&value)
int GetTimeoutInMinutes() const
CreateProjectRequest & WithDescription(const Aws::String &value)
void SetCache(ProjectCache &&value)
bool NameHasBeenSet() const
CreateProjectRequest & WithTags(const Aws::Vector< Tag > &value)
void SetServiceRole(const char *value)
void SetDescription(Aws::String &&value)
CreateProjectRequest & WithServiceRole(const Aws::String &value)
bool BuildBatchConfigHasBeenSet() const
void SetBuildBatchConfig(ProjectBuildBatchConfig &&value)
CreateProjectRequest & AddSecondarySourceVersions(ProjectSourceVersion &&value)
void SetFileSystemLocations(const Aws::Vector< ProjectFileSystemLocation > &value)
CreateProjectRequest & AddTags(const Tag &value)
CreateProjectRequest & AddSecondarySources(ProjectSource &&value)
void SetEncryptionKey(Aws::String &&value)
const ProjectArtifacts & GetArtifacts() const
CreateProjectRequest & WithSecondarySourceVersions(const Aws::Vector< ProjectSourceVersion > &value)
const Aws::Vector< ProjectFileSystemLocation > & GetFileSystemLocations() const
void SetSecondaryArtifacts(Aws::Vector< ProjectArtifacts > &&value)
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateProjectRequest & WithServiceRole(const char *value)
CreateProjectRequest & WithName(const char *value)
bool ConcurrentBuildLimitHasBeenSet() const
CreateProjectRequest & WithDescription(Aws::String &&value)
const LogsConfig & GetLogsConfig() const
CreateProjectRequest & WithSourceVersion(const Aws::String &value)
CreateProjectRequest & WithSecondarySourceVersions(Aws::Vector< ProjectSourceVersion > &&value)
CreateProjectRequest & WithVpcConfig(const VpcConfig &value)
void SetServiceRole(const Aws::String &value)
CreateProjectRequest & AddSecondarySources(const ProjectSource &value)
bool SecondarySourcesHasBeenSet() const
bool SecondarySourceVersionsHasBeenSet() const
CreateProjectRequest & WithCache(ProjectCache &&value)
void SetEncryptionKey(const Aws::String &value)
CreateProjectRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::Vector< Tag > & GetTags() const
void SetTimeoutInMinutes(int value)
const ProjectEnvironment & GetEnvironment() const
bool ServiceRoleHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
CreateProjectRequest & WithAutoRetryLimit(int value)
bool BadgeEnabledHasBeenSet() const
bool SourceVersionHasBeenSet() const
void SetAutoRetryLimit(int value)
bool TagsHasBeenSet() const
void SetEncryptionKey(const char *value)
CreateProjectRequest & WithArtifacts(const ProjectArtifacts &value)
const Aws::String & GetEncryptionKey() const
CreateProjectRequest & WithEncryptionKey(const char *value)
void SetSource(const ProjectSource &value)
CreateProjectRequest & WithSecondaryArtifacts(Aws::Vector< ProjectArtifacts > &&value)
CreateProjectRequest & WithBadgeEnabled(bool value)
CreateProjectRequest & WithName(const Aws::String &value)
CreateProjectRequest & WithTimeoutInMinutes(int value)
const Aws::String & GetDescription() const
void SetEnvironment(const ProjectEnvironment &value)
CreateProjectRequest & WithArtifacts(ProjectArtifacts &&value)
void SetBadgeEnabled(bool value)
void SetSecondarySourceVersions(const Aws::Vector< ProjectSourceVersion > &value)
void SetConcurrentBuildLimit(int value)
bool EncryptionKeyHasBeenSet() const
AWS_CODEBUILD_API CreateProjectRequest()
void SetLogsConfig(const LogsConfig &value)
bool EnvironmentHasBeenSet() const
AWS_CODEBUILD_API Aws::String SerializePayload() const override
CreateProjectRequest & WithBuildBatchConfig(ProjectBuildBatchConfig &&value)
void SetQueuedTimeoutInMinutes(int value)
CreateProjectRequest & WithVpcConfig(VpcConfig &&value)
void SetName(const Aws::String &value)
CreateProjectRequest & WithServiceRole(Aws::String &&value)
void SetName(const char *value)
void SetSecondarySources(Aws::Vector< ProjectSource > &&value)
CreateProjectRequest & WithSourceVersion(Aws::String &&value)
void SetSecondarySourceVersions(Aws::Vector< ProjectSourceVersion > &&value)
void SetServiceRole(Aws::String &&value)
void SetDescription(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetArtifacts(const ProjectArtifacts &value)
void SetDescription(const char *value)
void SetBuildBatchConfig(const ProjectBuildBatchConfig &value)
void SetArtifacts(ProjectArtifacts &&value)
CreateProjectRequest & WithFileSystemLocations(const Aws::Vector< ProjectFileSystemLocation > &value)
CreateProjectRequest & WithDescription(const char *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