7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codebuild/model/ProjectSource.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codebuild/model/ProjectArtifacts.h>
12#include <aws/codebuild/model/ProjectCache.h>
13#include <aws/codebuild/model/ProjectEnvironment.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/codebuild/model/Webhook.h>
16#include <aws/codebuild/model/VpcConfig.h>
17#include <aws/codebuild/model/ProjectBadge.h>
18#include <aws/codebuild/model/LogsConfig.h>
19#include <aws/codebuild/model/ProjectBuildBatchConfig.h>
20#include <aws/codebuild/model/ProjectVisibilityType.h>
21#include <aws/codebuild/model/ProjectSourceVersion.h>
22#include <aws/codebuild/model/Tag.h>
23#include <aws/codebuild/model/ProjectFileSystemLocation.h>
63 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
76 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
77 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
91 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
149 inline void SetSourceVersion(
const char* value) { m_sourceVersionHasBeenSet =
true; m_sourceVersion.assign(value); }
231 inline void SetServiceRole(
const char* value) { m_serviceRoleHasBeenSet =
true; m_serviceRole.assign(value); }
245 inline void SetTimeoutInMinutes(
int value) { m_timeoutInMinutesHasBeenSet =
true; m_timeoutInMinutes = value; }
275 inline void SetEncryptionKey(
const char* value) { m_encryptionKeyHasBeenSet =
true; m_encryptionKey.assign(value); }
293 inline Project&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
294 inline Project&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
330 inline void SetWebhook(
Webhook&& value) { m_webhookHasBeenSet =
true; m_webhook = std::move(value); }
434 inline void SetPublicProjectAlias(
const char* value) { m_publicProjectAliasHasBeenSet =
true; m_publicProjectAlias.assign(value); }
449 inline void SetResourceAccessRole(
const char* value) { m_resourceAccessRoleHasBeenSet =
true; m_resourceAccessRole.assign(value); }
464 inline void SetAutoRetryLimit(
int value) { m_autoRetryLimitHasBeenSet =
true; m_autoRetryLimit = value; }
470 bool m_nameHasBeenSet =
false;
473 bool m_arnHasBeenSet =
false;
476 bool m_descriptionHasBeenSet =
false;
479 bool m_sourceHasBeenSet =
false;
482 bool m_secondarySourcesHasBeenSet =
false;
485 bool m_sourceVersionHasBeenSet =
false;
488 bool m_secondarySourceVersionsHasBeenSet =
false;
491 bool m_artifactsHasBeenSet =
false;
494 bool m_secondaryArtifactsHasBeenSet =
false;
497 bool m_cacheHasBeenSet =
false;
500 bool m_environmentHasBeenSet =
false;
503 bool m_serviceRoleHasBeenSet =
false;
505 int m_timeoutInMinutes;
506 bool m_timeoutInMinutesHasBeenSet =
false;
508 int m_queuedTimeoutInMinutes;
509 bool m_queuedTimeoutInMinutesHasBeenSet =
false;
512 bool m_encryptionKeyHasBeenSet =
false;
515 bool m_tagsHasBeenSet =
false;
518 bool m_createdHasBeenSet =
false;
521 bool m_lastModifiedHasBeenSet =
false;
524 bool m_webhookHasBeenSet =
false;
527 bool m_vpcConfigHasBeenSet =
false;
530 bool m_badgeHasBeenSet =
false;
533 bool m_logsConfigHasBeenSet =
false;
536 bool m_fileSystemLocationsHasBeenSet =
false;
539 bool m_buildBatchConfigHasBeenSet =
false;
541 int m_concurrentBuildLimit;
542 bool m_concurrentBuildLimitHasBeenSet =
false;
545 bool m_projectVisibilityHasBeenSet =
false;
548 bool m_publicProjectAliasHasBeenSet =
false;
551 bool m_resourceAccessRoleHasBeenSet =
false;
553 int m_autoRetryLimit;
554 bool m_autoRetryLimitHasBeenSet =
false;
bool DescriptionHasBeenSet() const
void SetSourceVersion(const Aws::String &value)
Project & AddFileSystemLocations(const ProjectFileSystemLocation &value)
void SetDescription(const Aws::String &value)
const ProjectArtifacts & GetArtifacts() const
Project & WithProjectVisibility(ProjectVisibilityType &&value)
bool ResourceAccessRoleHasBeenSet() const
void SetEnvironment(ProjectEnvironment &&value)
void SetArn(const Aws::String &value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
bool TimeoutInMinutesHasBeenSet() const
Project & AddSecondaryArtifacts(ProjectArtifacts &&value)
Project & WithVpcConfig(const VpcConfig &value)
void SetServiceRole(const Aws::String &value)
void SetProjectVisibility(const ProjectVisibilityType &value)
bool VpcConfigHasBeenSet() const
bool AutoRetryLimitHasBeenSet() const
bool SecondaryArtifactsHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool SecondarySourcesHasBeenSet() const
Project & WithVpcConfig(VpcConfig &&value)
void SetPublicProjectAlias(const Aws::String &value)
Project & WithPublicProjectAlias(const Aws::String &value)
Project & WithArn(const char *value)
const Aws::String & GetSourceVersion() const
Project & WithBuildBatchConfig(const ProjectBuildBatchConfig &value)
Project & WithSecondarySources(const Aws::Vector< ProjectSource > &value)
Project & AddSecondarySourceVersions(const ProjectSourceVersion &value)
void SetCache(ProjectCache &&value)
const ProjectVisibilityType & GetProjectVisibility() const
Project & WithWebhook(const Webhook &value)
void SetEncryptionKey(Aws::String &&value)
Project & WithArn(const Aws::String &value)
const LogsConfig & GetLogsConfig() const
void SetName(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
Project & WithSecondarySourceVersions(const Aws::Vector< ProjectSourceVersion > &value)
bool ServiceRoleHasBeenSet() const
void SetSourceVersion(Aws::String &&value)
void SetWebhook(Webhook &&value)
Project & WithServiceRole(const char *value)
void SetEncryptionKey(const Aws::String &value)
void SetServiceRole(Aws::String &&value)
Project & WithEncryptionKey(Aws::String &&value)
const ProjectBadge & GetBadge() const
Project & WithTags(Aws::Vector< Tag > &&value)
Project & WithBuildBatchConfig(ProjectBuildBatchConfig &&value)
Project & WithPublicProjectAlias(Aws::String &&value)
void SetBadge(const ProjectBadge &value)
bool TagsHasBeenSet() const
Project & AddSecondarySources(const ProjectSource &value)
Project & WithArtifacts(const ProjectArtifacts &value)
void SetArtifacts(ProjectArtifacts &&value)
AWS_CODEBUILD_API Project()
void SetResourceAccessRole(const Aws::String &value)
bool ArtifactsHasBeenSet() const
const VpcConfig & GetVpcConfig() const
const Aws::Utils::DateTime & GetLastModified() const
void SetVpcConfig(VpcConfig &&value)
Project & WithDescription(const Aws::String &value)
Project & AddSecondaryArtifacts(const ProjectArtifacts &value)
Project & WithCreated(const Aws::Utils::DateTime &value)
Project & WithSecondaryArtifacts(const Aws::Vector< ProjectArtifacts > &value)
bool EncryptionKeyHasBeenSet() const
Project & WithResourceAccessRole(const char *value)
Project & WithLastModified(const Aws::Utils::DateTime &value)
void SetFileSystemLocations(const Aws::Vector< ProjectFileSystemLocation > &value)
bool NameHasBeenSet() const
Project & AddFileSystemLocations(ProjectFileSystemLocation &&value)
void SetResourceAccessRole(const char *value)
bool WebhookHasBeenSet() const
void SetLogsConfig(const LogsConfig &value)
const Aws::String & GetName() const
Project & WithSecondarySources(Aws::Vector< ProjectSource > &&value)
Project & WithDescription(const char *value)
const Aws::Vector< ProjectSource > & GetSecondarySources() const
bool FileSystemLocationsHasBeenSet() const
void SetSecondarySourceVersions(const Aws::Vector< ProjectSourceVersion > &value)
int GetTimeoutInMinutes() const
void SetSecondaryArtifacts(const Aws::Vector< ProjectArtifacts > &value)
bool PublicProjectAliasHasBeenSet() const
void SetCreated(Aws::Utils::DateTime &&value)
void SetVpcConfig(const VpcConfig &value)
void SetResourceAccessRole(Aws::String &&value)
Project & WithEnvironment(ProjectEnvironment &&value)
bool QueuedTimeoutInMinutesHasBeenSet() const
bool SourceHasBeenSet() const
bool CacheHasBeenSet() const
bool ArnHasBeenSet() const
int GetQueuedTimeoutInMinutes() const
Project & WithEncryptionKey(const char *value)
const Webhook & GetWebhook() const
Project & WithTags(const Aws::Vector< Tag > &value)
Project & WithDescription(Aws::String &&value)
const Aws::String & GetPublicProjectAlias() const
Project & WithSourceVersion(const char *value)
Project & WithAutoRetryLimit(int value)
Project & WithFileSystemLocations(Aws::Vector< ProjectFileSystemLocation > &&value)
Project & WithName(const Aws::String &value)
Project & AddTags(Tag &&value)
void SetBuildBatchConfig(const ProjectBuildBatchConfig &value)
Project & WithSecondarySourceVersions(Aws::Vector< ProjectSourceVersion > &&value)
void SetDescription(Aws::String &&value)
void SetLastModified(const Aws::Utils::DateTime &value)
Project & WithBadge(ProjectBadge &&value)
void SetAutoRetryLimit(int value)
void SetEnvironment(const ProjectEnvironment &value)
void SetSourceVersion(const char *value)
void SetBadge(ProjectBadge &&value)
const ProjectBuildBatchConfig & GetBuildBatchConfig() const
Project & WithSecondaryArtifacts(Aws::Vector< ProjectArtifacts > &&value)
const Aws::String & GetDescription() const
Project & WithCache(const ProjectCache &value)
Project & WithPublicProjectAlias(const char *value)
const Aws::String & GetEncryptionKey() const
AWS_CODEBUILD_API Project(Aws::Utils::Json::JsonView jsonValue)
bool EnvironmentHasBeenSet() const
Project & WithArn(Aws::String &&value)
bool ConcurrentBuildLimitHasBeenSet() const
Project & WithLastModified(Aws::Utils::DateTime &&value)
Project & WithEnvironment(const ProjectEnvironment &value)
Project & WithConcurrentBuildLimit(int value)
void SetFileSystemLocations(Aws::Vector< ProjectFileSystemLocation > &&value)
void SetTags(const Aws::Vector< Tag > &value)
int GetAutoRetryLimit() const
void SetSecondarySources(Aws::Vector< ProjectSource > &&value)
void SetServiceRole(const char *value)
void SetName(const char *value)
Project & WithServiceRole(Aws::String &&value)
bool LastModifiedHasBeenSet() const
void SetWebhook(const Webhook &value)
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourceVersions() const
void SetSource(ProjectSource &&value)
const Aws::String & GetResourceAccessRole() const
Project & WithCreated(Aws::Utils::DateTime &&value)
int GetConcurrentBuildLimit() const
void SetCreated(const Aws::Utils::DateTime &value)
void SetSecondarySourceVersions(Aws::Vector< ProjectSourceVersion > &&value)
const Aws::String & GetArn() const
AWS_CODEBUILD_API Project & operator=(Aws::Utils::Json::JsonView jsonValue)
Project & WithSource(const ProjectSource &value)
const Aws::Utils::DateTime & GetCreated() const
void SetSecondaryArtifacts(Aws::Vector< ProjectArtifacts > &&value)
void SetQueuedTimeoutInMinutes(int value)
const ProjectCache & GetCache() const
Project & WithFileSystemLocations(const Aws::Vector< ProjectFileSystemLocation > &value)
const ProjectEnvironment & GetEnvironment() const
Project & WithArtifacts(ProjectArtifacts &&value)
Project & WithTimeoutInMinutes(int value)
Project & WithEncryptionKey(const Aws::String &value)
void SetProjectVisibility(ProjectVisibilityType &&value)
void SetSource(const ProjectSource &value)
Project & WithBadge(const ProjectBadge &value)
Project & AddSecondarySourceVersions(ProjectSourceVersion &&value)
void SetArn(Aws::String &&value)
bool CreatedHasBeenSet() const
Project & WithServiceRole(const Aws::String &value)
bool ProjectVisibilityHasBeenSet() const
void SetPublicProjectAlias(Aws::String &&value)
Project & WithCache(ProjectCache &&value)
void SetSecondarySources(const Aws::Vector< ProjectSource > &value)
Project & WithLogsConfig(LogsConfig &&value)
Project & WithWebhook(Webhook &&value)
void SetArtifacts(const ProjectArtifacts &value)
void SetEncryptionKey(const char *value)
void SetCache(const ProjectCache &value)
const Aws::String & GetServiceRole() const
void SetName(const Aws::String &value)
Project & WithQueuedTimeoutInMinutes(int value)
Project & WithResourceAccessRole(const Aws::String &value)
const ProjectSource & GetSource() const
Project & WithName(const char *value)
bool BadgeHasBeenSet() const
void SetTimeoutInMinutes(int value)
bool SourceVersionHasBeenSet() const
Project & WithName(Aws::String &&value)
Project & WithSource(ProjectSource &&value)
bool BuildBatchConfigHasBeenSet() const
void SetBuildBatchConfig(ProjectBuildBatchConfig &&value)
Project & AddTags(const Tag &value)
Project & WithSourceVersion(Aws::String &&value)
const Aws::Vector< ProjectArtifacts > & GetSecondaryArtifacts() const
Project & WithLogsConfig(const LogsConfig &value)
void SetArn(const char *value)
Project & WithSourceVersion(const Aws::String &value)
Project & WithResourceAccessRole(Aws::String &&value)
void SetConcurrentBuildLimit(int value)
void SetPublicProjectAlias(const char *value)
void SetLastModified(Aws::Utils::DateTime &&value)
void SetLogsConfig(LogsConfig &&value)
void SetDescription(const char *value)
Project & AddSecondarySources(ProjectSource &&value)
Project & WithProjectVisibility(const ProjectVisibilityType &value)
bool LogsConfigHasBeenSet() const
const Aws::Vector< ProjectFileSystemLocation > & GetFileSystemLocations() const
bool SecondarySourceVersionsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue