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>
57 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
71 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
130 inline void SetSourceVersion(
const char* value) { m_sourceVersionHasBeenSet =
true; m_sourceVersion.assign(value); }
216 inline void SetServiceRole(
const char* value) { m_serviceRoleHasBeenSet =
true; m_serviceRole.assign(value); }
230 inline void SetTimeoutInMinutes(
int value) { m_timeoutInMinutesHasBeenSet =
true; m_timeoutInMinutes = value; }
258 inline void SetEncryptionKey(
const char* value) { m_encryptionKeyHasBeenSet =
true; m_encryptionKey.assign(value); }
299 inline void SetBadgeEnabled(
bool value) { m_badgeEnabledHasBeenSet =
true; m_badgeEnabled = value; }
367 inline void SetAutoRetryLimit(
int value) { m_autoRetryLimitHasBeenSet =
true; m_autoRetryLimit = value; }
373 bool m_nameHasBeenSet =
false;
376 bool m_descriptionHasBeenSet =
false;
379 bool m_sourceHasBeenSet =
false;
382 bool m_secondarySourcesHasBeenSet =
false;
385 bool m_sourceVersionHasBeenSet =
false;
388 bool m_secondarySourceVersionsHasBeenSet =
false;
391 bool m_artifactsHasBeenSet =
false;
394 bool m_secondaryArtifactsHasBeenSet =
false;
397 bool m_cacheHasBeenSet =
false;
400 bool m_environmentHasBeenSet =
false;
403 bool m_serviceRoleHasBeenSet =
false;
405 int m_timeoutInMinutes;
406 bool m_timeoutInMinutesHasBeenSet =
false;
408 int m_queuedTimeoutInMinutes;
409 bool m_queuedTimeoutInMinutesHasBeenSet =
false;
412 bool m_encryptionKeyHasBeenSet =
false;
415 bool m_tagsHasBeenSet =
false;
418 bool m_vpcConfigHasBeenSet =
false;
421 bool m_badgeEnabledHasBeenSet =
false;
424 bool m_logsConfigHasBeenSet =
false;
427 bool m_fileSystemLocationsHasBeenSet =
false;
430 bool m_buildBatchConfigHasBeenSet =
false;
432 int m_concurrentBuildLimit;
433 bool m_concurrentBuildLimitHasBeenSet =
false;
435 int m_autoRetryLimit;
436 bool m_autoRetryLimitHasBeenSet =
false;
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourceVersions() const
UpdateProjectRequest & WithArtifacts(const ProjectArtifacts &value)
UpdateProjectRequest & WithServiceRole(Aws::String &&value)
UpdateProjectRequest & AddSecondarySources(ProjectSource &&value)
void SetServiceRole(Aws::String &&value)
UpdateProjectRequest & WithServiceRole(const char *value)
void SetArtifacts(const ProjectArtifacts &value)
void SetDescription(const char *value)
UpdateProjectRequest & WithSourceVersion(Aws::String &&value)
void SetName(Aws::String &&value)
UpdateProjectRequest & WithDescription(const Aws::String &value)
UpdateProjectRequest & WithSecondaryArtifacts(const Aws::Vector< ProjectArtifacts > &value)
UpdateProjectRequest & WithSecondarySources(const Aws::Vector< ProjectSource > &value)
const Aws::Vector< ProjectFileSystemLocation > & GetFileSystemLocations() const
bool GetBadgeEnabled() const
bool BadgeEnabledHasBeenSet() const
UpdateProjectRequest & WithBuildBatchConfig(ProjectBuildBatchConfig &&value)
void SetSecondarySources(Aws::Vector< ProjectSource > &&value)
const ProjectEnvironment & GetEnvironment() const
bool FileSystemLocationsHasBeenSet() const
void SetTimeoutInMinutes(int value)
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool AutoRetryLimitHasBeenSet() const
void SetSecondarySourceVersions(Aws::Vector< ProjectSourceVersion > &&value)
bool TagsHasBeenSet() const
const ProjectBuildBatchConfig & GetBuildBatchConfig() const
const Aws::String & GetName() const
bool VpcConfigHasBeenSet() const
UpdateProjectRequest & WithSource(ProjectSource &&value)
UpdateProjectRequest & AddSecondarySources(const ProjectSource &value)
void SetQueuedTimeoutInMinutes(int value)
void SetFileSystemLocations(const Aws::Vector< ProjectFileSystemLocation > &value)
void SetSourceVersion(Aws::String &&value)
void SetSource(ProjectSource &&value)
bool SecondarySourcesHasBeenSet() const
UpdateProjectRequest & WithSourceVersion(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateProjectRequest & WithEnvironment(const ProjectEnvironment &value)
void SetCache(ProjectCache &&value)
void SetEncryptionKey(const Aws::String &value)
bool CacheHasBeenSet() const
UpdateProjectRequest & WithTags(Aws::Vector< Tag > &&value)
void SetFileSystemLocations(Aws::Vector< ProjectFileSystemLocation > &&value)
void SetSourceVersion(const char *value)
const Aws::String & GetServiceRole() const
const Aws::Vector< Tag > & GetTags() const
void SetDescription(Aws::String &&value)
int GetConcurrentBuildLimit() const
UpdateProjectRequest & WithEncryptionKey(const char *value)
const Aws::Vector< ProjectSource > & GetSecondarySources() const
UpdateProjectRequest & WithEncryptionKey(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
UpdateProjectRequest & WithBuildBatchConfig(const ProjectBuildBatchConfig &value)
const ProjectCache & GetCache() const
bool SourceVersionHasBeenSet() const
UpdateProjectRequest & AddSecondaryArtifacts(ProjectArtifacts &&value)
UpdateProjectRequest & WithDescription(const char *value)
const ProjectArtifacts & GetArtifacts() const
const VpcConfig & GetVpcConfig() const
UpdateProjectRequest & WithTimeoutInMinutes(int value)
bool NameHasBeenSet() const
UpdateProjectRequest & WithVpcConfig(const VpcConfig &value)
UpdateProjectRequest & WithSecondarySourceVersions(Aws::Vector< ProjectSourceVersion > &&value)
void SetBadgeEnabled(bool value)
void SetLogsConfig(LogsConfig &&value)
const ProjectSource & GetSource() const
UpdateProjectRequest & WithConcurrentBuildLimit(int value)
const Aws::String & GetSourceVersion() const
void SetServiceRole(const char *value)
bool SourceHasBeenSet() const
UpdateProjectRequest & AddFileSystemLocations(const ProjectFileSystemLocation &value)
void SetEncryptionKey(Aws::String &&value)
UpdateProjectRequest & WithTags(const Aws::Vector< Tag > &value)
UpdateProjectRequest & WithName(Aws::String &&value)
void SetVpcConfig(VpcConfig &&value)
UpdateProjectRequest & AddSecondaryArtifacts(const ProjectArtifacts &value)
UpdateProjectRequest & AddTags(Tag &&value)
void SetSecondaryArtifacts(Aws::Vector< ProjectArtifacts > &&value)
void SetServiceRole(const Aws::String &value)
UpdateProjectRequest & WithVpcConfig(VpcConfig &&value)
void SetConcurrentBuildLimit(int value)
bool BuildBatchConfigHasBeenSet() const
bool LogsConfigHasBeenSet() const
UpdateProjectRequest & WithFileSystemLocations(const Aws::Vector< ProjectFileSystemLocation > &value)
UpdateProjectRequest & WithSourceVersion(const Aws::String &value)
UpdateProjectRequest & AddTags(const Tag &value)
AWS_CODEBUILD_API UpdateProjectRequest()
const Aws::Vector< ProjectArtifacts > & GetSecondaryArtifacts() const
UpdateProjectRequest & WithSecondarySourceVersions(const Aws::Vector< ProjectSourceVersion > &value)
void SetSourceVersion(const Aws::String &value)
const Aws::String & GetDescription() const
void SetSource(const ProjectSource &value)
UpdateProjectRequest & AddSecondarySourceVersions(const ProjectSourceVersion &value)
void SetDescription(const Aws::String &value)
UpdateProjectRequest & WithSecondaryArtifacts(Aws::Vector< ProjectArtifacts > &&value)
void SetLogsConfig(const LogsConfig &value)
const LogsConfig & GetLogsConfig() const
bool EncryptionKeyHasBeenSet() const
UpdateProjectRequest & WithName(const Aws::String &value)
void SetName(const Aws::String &value)
bool ServiceRoleHasBeenSet() const
bool TimeoutInMinutesHasBeenSet() const
void SetVpcConfig(const VpcConfig &value)
UpdateProjectRequest & WithAutoRetryLimit(int value)
int GetTimeoutInMinutes() const
const Aws::String & GetEncryptionKey() const
UpdateProjectRequest & WithDescription(Aws::String &&value)
void SetEnvironment(const ProjectEnvironment &value)
UpdateProjectRequest & WithSource(const ProjectSource &value)
UpdateProjectRequest & WithCache(const ProjectCache &value)
AWS_CODEBUILD_API Aws::String SerializePayload() const override
UpdateProjectRequest & WithLogsConfig(LogsConfig &&value)
UpdateProjectRequest & WithCache(ProjectCache &&value)
bool ConcurrentBuildLimitHasBeenSet() const
UpdateProjectRequest & WithServiceRole(const Aws::String &value)
UpdateProjectRequest & WithLogsConfig(const LogsConfig &value)
void SetBuildBatchConfig(ProjectBuildBatchConfig &&value)
bool DescriptionHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
UpdateProjectRequest & WithQueuedTimeoutInMinutes(int value)
UpdateProjectRequest & AddSecondarySourceVersions(ProjectSourceVersion &&value)
UpdateProjectRequest & WithSecondarySources(Aws::Vector< ProjectSource > &&value)
UpdateProjectRequest & WithEnvironment(ProjectEnvironment &&value)
UpdateProjectRequest & WithBadgeEnabled(bool value)
bool SecondarySourceVersionsHasBeenSet() const
UpdateProjectRequest & WithEncryptionKey(const Aws::String &value)
UpdateProjectRequest & WithFileSystemLocations(Aws::Vector< ProjectFileSystemLocation > &&value)
bool ArtifactsHasBeenSet() const
UpdateProjectRequest & WithArtifacts(ProjectArtifacts &&value)
UpdateProjectRequest & WithName(const char *value)
bool SecondaryArtifactsHasBeenSet() const
void SetName(const char *value)
void SetBuildBatchConfig(const ProjectBuildBatchConfig &value)
void SetAutoRetryLimit(int value)
void SetSecondarySources(const Aws::Vector< ProjectSource > &value)
void SetSecondarySourceVersions(const Aws::Vector< ProjectSourceVersion > &value)
void SetCache(const ProjectCache &value)
void SetEnvironment(ProjectEnvironment &&value)
bool QueuedTimeoutInMinutesHasBeenSet() const
UpdateProjectRequest & AddFileSystemLocations(ProjectFileSystemLocation &&value)
int GetQueuedTimeoutInMinutes() const
void SetEncryptionKey(const char *value)
void SetSecondaryArtifacts(const Aws::Vector< ProjectArtifacts > &value)
bool EnvironmentHasBeenSet() const
int GetAutoRetryLimit() const
void SetArtifacts(ProjectArtifacts &&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