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/core/utils/memory/stl/AWSVector.h>
11#include <aws/codebuild/model/ProjectArtifacts.h>
12#include <aws/codebuild/model/SourceType.h>
13#include <aws/codebuild/model/SourceAuth.h>
14#include <aws/codebuild/model/GitSubmodulesConfig.h>
15#include <aws/codebuild/model/BuildStatusConfig.h>
16#include <aws/codebuild/model/EnvironmentType.h>
17#include <aws/codebuild/model/ComputeType.h>
18#include <aws/codebuild/model/ProjectCache.h>
19#include <aws/codebuild/model/LogsConfig.h>
20#include <aws/codebuild/model/RegistryCredential.h>
21#include <aws/codebuild/model/ImagePullCredentialsType.h>
22#include <aws/codebuild/model/ProjectFleet.h>
23#include <aws/codebuild/model/ProjectSource.h>
24#include <aws/codebuild/model/ProjectSourceVersion.h>
25#include <aws/codebuild/model/EnvironmentVariable.h>
61 inline void SetProjectName(
const char* value) { m_projectNameHasBeenSet =
true; m_projectName.assign(value); }
124 inline void SetSourceVersion(
const char* value) { m_sourceVersionHasBeenSet =
true; m_sourceVersion.assign(value); }
194 inline void SetSourceLocationOverride(
const char* value) { m_sourceLocationOverrideHasBeenSet =
true; m_sourceLocationOverride.assign(value); }
263 inline void SetBuildspecOverride(
const char* value) { m_buildspecOverrideHasBeenSet =
true; m_buildspecOverride.assign(value); }
278 inline void SetInsecureSslOverride(
bool value) { m_insecureSslOverrideHasBeenSet =
true; m_insecureSslOverride = value; }
339 inline void SetImageOverride(
const char* value) { m_imageOverrideHasBeenSet =
true; m_imageOverride.assign(value); }
367 inline void SetCertificateOverride(
const char* value) { m_certificateOverrideHasBeenSet =
true; m_certificateOverride.assign(value); }
395 inline void SetServiceRoleOverride(
const char* value) { m_serviceRoleOverrideHasBeenSet =
true; m_serviceRoleOverride.assign(value); }
448 inline void SetEncryptionKeyOverride(
const char* value) { m_encryptionKeyOverrideHasBeenSet =
true; m_encryptionKeyOverride.assign(value); }
465 inline void SetIdempotencyToken(
const char* value) { m_idempotencyTokenHasBeenSet =
true; m_idempotencyToken.assign(value); }
524 inline void SetDebugSessionEnabled(
bool value) { m_debugSessionEnabledHasBeenSet =
true; m_debugSessionEnabled = value; }
556 bool m_projectNameHasBeenSet =
false;
559 bool m_secondarySourcesOverrideHasBeenSet =
false;
562 bool m_secondarySourcesVersionOverrideHasBeenSet =
false;
565 bool m_sourceVersionHasBeenSet =
false;
568 bool m_artifactsOverrideHasBeenSet =
false;
571 bool m_secondaryArtifactsOverrideHasBeenSet =
false;
574 bool m_environmentVariablesOverrideHasBeenSet =
false;
577 bool m_sourceTypeOverrideHasBeenSet =
false;
580 bool m_sourceLocationOverrideHasBeenSet =
false;
583 bool m_sourceAuthOverrideHasBeenSet =
false;
585 int m_gitCloneDepthOverride;
586 bool m_gitCloneDepthOverrideHasBeenSet =
false;
589 bool m_gitSubmodulesConfigOverrideHasBeenSet =
false;
592 bool m_buildspecOverrideHasBeenSet =
false;
594 bool m_insecureSslOverride;
595 bool m_insecureSslOverrideHasBeenSet =
false;
597 bool m_reportBuildStatusOverride;
598 bool m_reportBuildStatusOverrideHasBeenSet =
false;
601 bool m_buildStatusConfigOverrideHasBeenSet =
false;
604 bool m_environmentTypeOverrideHasBeenSet =
false;
607 bool m_imageOverrideHasBeenSet =
false;
610 bool m_computeTypeOverrideHasBeenSet =
false;
613 bool m_certificateOverrideHasBeenSet =
false;
616 bool m_cacheOverrideHasBeenSet =
false;
619 bool m_serviceRoleOverrideHasBeenSet =
false;
621 bool m_privilegedModeOverride;
622 bool m_privilegedModeOverrideHasBeenSet =
false;
624 int m_timeoutInMinutesOverride;
625 bool m_timeoutInMinutesOverrideHasBeenSet =
false;
627 int m_queuedTimeoutInMinutesOverride;
628 bool m_queuedTimeoutInMinutesOverrideHasBeenSet =
false;
631 bool m_encryptionKeyOverrideHasBeenSet =
false;
634 bool m_idempotencyTokenHasBeenSet =
false;
637 bool m_logsConfigOverrideHasBeenSet =
false;
640 bool m_registryCredentialOverrideHasBeenSet =
false;
643 bool m_imagePullCredentialsTypeOverrideHasBeenSet =
false;
645 bool m_debugSessionEnabled;
646 bool m_debugSessionEnabledHasBeenSet =
false;
649 bool m_fleetOverrideHasBeenSet =
false;
651 int m_autoRetryLimitOverride;
652 bool m_autoRetryLimitOverrideHasBeenSet =
false;
bool InsecureSslOverrideHasBeenSet() const
StartBuildRequest & WithEnvironmentVariablesOverride(Aws::Vector< EnvironmentVariable > &&value)
StartBuildRequest & WithBuildStatusConfigOverride(const BuildStatusConfig &value)
StartBuildRequest & AddSecondarySourcesVersionOverride(ProjectSourceVersion &&value)
void SetSecondaryArtifactsOverride(Aws::Vector< ProjectArtifacts > &&value)
bool EnvironmentVariablesOverrideHasBeenSet() const
void SetSecondarySourcesOverride(Aws::Vector< ProjectSource > &&value)
StartBuildRequest & WithComputeTypeOverride(const ComputeType &value)
AWS_CODEBUILD_API StartBuildRequest()
StartBuildRequest & WithImagePullCredentialsTypeOverride(const ImagePullCredentialsType &value)
StartBuildRequest & WithArtifactsOverride(const ProjectArtifacts &value)
const Aws::String & GetServiceRoleOverride() const
StartBuildRequest & WithCertificateOverride(const char *value)
StartBuildRequest & WithSourceAuthOverride(const SourceAuth &value)
StartBuildRequest & WithInsecureSslOverride(bool value)
const ProjectArtifacts & GetArtifactsOverride() const
StartBuildRequest & WithProjectName(const Aws::String &value)
bool EnvironmentTypeOverrideHasBeenSet() const
StartBuildRequest & WithImageOverride(Aws::String &&value)
bool GetInsecureSslOverride() const
bool QueuedTimeoutInMinutesOverrideHasBeenSet() const
void SetQueuedTimeoutInMinutesOverride(int value)
bool AutoRetryLimitOverrideHasBeenSet() const
void SetCertificateOverride(const Aws::String &value)
StartBuildRequest & WithServiceRoleOverride(Aws::String &&value)
StartBuildRequest & WithReportBuildStatusOverride(bool value)
void SetProjectName(const Aws::String &value)
void SetTimeoutInMinutesOverride(int value)
StartBuildRequest & AddEnvironmentVariablesOverride(EnvironmentVariable &&value)
void SetComputeTypeOverride(ComputeType &&value)
const Aws::String & GetCertificateOverride() const
void SetSourceVersion(const char *value)
void SetSourceLocationOverride(const Aws::String &value)
StartBuildRequest & AddSecondarySourcesOverride(ProjectSource &&value)
void SetRegistryCredentialOverride(const RegistryCredential &value)
StartBuildRequest & WithCertificateOverride(const Aws::String &value)
void SetLogsConfigOverride(LogsConfig &&value)
void SetFleetOverride(ProjectFleet &&value)
StartBuildRequest & WithRegistryCredentialOverride(RegistryCredential &&value)
StartBuildRequest & WithSecondarySourcesVersionOverride(const Aws::Vector< ProjectSourceVersion > &value)
void SetPrivilegedModeOverride(bool value)
StartBuildRequest & WithSecondarySourcesVersionOverride(Aws::Vector< ProjectSourceVersion > &&value)
StartBuildRequest & WithCertificateOverride(Aws::String &&value)
bool ProjectNameHasBeenSet() const
StartBuildRequest & WithFleetOverride(const ProjectFleet &value)
bool SourceVersionHasBeenSet() const
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourcesVersionOverride() const
bool ServiceRoleOverrideHasBeenSet() const
void SetGitCloneDepthOverride(int value)
bool GetPrivilegedModeOverride() const
void SetSourceLocationOverride(const char *value)
void SetSourceVersion(const Aws::String &value)
void SetServiceRoleOverride(const Aws::String &value)
StartBuildRequest & WithSourceTypeOverride(const SourceType &value)
void SetGitSubmodulesConfigOverride(const GitSubmodulesConfig &value)
StartBuildRequest & WithIdempotencyToken(const char *value)
bool BuildStatusConfigOverrideHasBeenSet() const
void SetSourceLocationOverride(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetSourceAuthOverride(const SourceAuth &value)
StartBuildRequest & AddEnvironmentVariablesOverride(const EnvironmentVariable &value)
const ProjectFleet & GetFleetOverride() const
StartBuildRequest & WithIdempotencyToken(Aws::String &&value)
bool CacheOverrideHasBeenSet() const
void SetServiceRoleOverride(const char *value)
const EnvironmentType & GetEnvironmentTypeOverride() const
StartBuildRequest & WithSourceAuthOverride(SourceAuth &&value)
StartBuildRequest & WithBuildStatusConfigOverride(BuildStatusConfig &&value)
StartBuildRequest & WithSourceLocationOverride(const char *value)
bool SecondaryArtifactsOverrideHasBeenSet() const
bool SecondarySourcesOverrideHasBeenSet() const
StartBuildRequest & WithEnvironmentVariablesOverride(const Aws::Vector< EnvironmentVariable > &value)
const Aws::String & GetProjectName() const
void SetSourceTypeOverride(const SourceType &value)
void SetInsecureSslOverride(bool value)
const GitSubmodulesConfig & GetGitSubmodulesConfigOverride() const
StartBuildRequest & WithBuildspecOverride(Aws::String &&value)
void SetAutoRetryLimitOverride(int value)
const Aws::Vector< ProjectSource > & GetSecondarySourcesOverride() const
const Aws::String & GetEncryptionKeyOverride() const
const Aws::String & GetBuildspecOverride() const
StartBuildRequest & WithEnvironmentTypeOverride(EnvironmentType &&value)
StartBuildRequest & WithIdempotencyToken(const Aws::String &value)
StartBuildRequest & WithImagePullCredentialsTypeOverride(ImagePullCredentialsType &&value)
StartBuildRequest & WithTimeoutInMinutesOverride(int value)
StartBuildRequest & WithBuildspecOverride(const Aws::String &value)
const Aws::String & GetSourceVersion() const
StartBuildRequest & WithSourceVersion(Aws::String &&value)
const Aws::Vector< EnvironmentVariable > & GetEnvironmentVariablesOverride() const
void SetEncryptionKeyOverride(const Aws::String &value)
void SetComputeTypeOverride(const ComputeType &value)
void SetEnvironmentTypeOverride(const EnvironmentType &value)
StartBuildRequest & WithDebugSessionEnabled(bool value)
void SetFleetOverride(const ProjectFleet &value)
bool GitSubmodulesConfigOverrideHasBeenSet() const
StartBuildRequest & WithProjectName(const char *value)
void SetCacheOverride(ProjectCache &&value)
bool ArtifactsOverrideHasBeenSet() const
StartBuildRequest & WithCacheOverride(ProjectCache &&value)
void SetArtifactsOverride(const ProjectArtifacts &value)
bool SourceAuthOverrideHasBeenSet() const
void SetBuildspecOverride(const Aws::String &value)
const SourceType & GetSourceTypeOverride() const
const Aws::String & GetSourceLocationOverride() const
void SetSourceVersion(Aws::String &&value)
StartBuildRequest & WithSourceLocationOverride(Aws::String &&value)
bool PrivilegedModeOverrideHasBeenSet() const
void SetSecondaryArtifactsOverride(const Aws::Vector< ProjectArtifacts > &value)
const ImagePullCredentialsType & GetImagePullCredentialsTypeOverride() const
bool IdempotencyTokenHasBeenSet() const
void SetProjectName(const char *value)
void SetServiceRoleOverride(Aws::String &&value)
const Aws::Vector< ProjectArtifacts > & GetSecondaryArtifactsOverride() const
void SetEnvironmentTypeOverride(EnvironmentType &&value)
bool SourceTypeOverrideHasBeenSet() const
void SetEnvironmentVariablesOverride(Aws::Vector< EnvironmentVariable > &&value)
bool FleetOverrideHasBeenSet() const
StartBuildRequest & WithCacheOverride(const ProjectCache &value)
StartBuildRequest & AddSecondarySourcesOverride(const ProjectSource &value)
bool EncryptionKeyOverrideHasBeenSet() const
bool BuildspecOverrideHasBeenSet() const
StartBuildRequest & WithQueuedTimeoutInMinutesOverride(int value)
void SetSecondarySourcesVersionOverride(Aws::Vector< ProjectSourceVersion > &&value)
StartBuildRequest & WithSecondarySourcesOverride(const Aws::Vector< ProjectSource > &value)
void SetEncryptionKeyOverride(Aws::String &&value)
StartBuildRequest & WithGitSubmodulesConfigOverride(const GitSubmodulesConfig &value)
StartBuildRequest & WithFleetOverride(ProjectFleet &&value)
const BuildStatusConfig & GetBuildStatusConfigOverride() const
StartBuildRequest & WithEncryptionKeyOverride(const char *value)
StartBuildRequest & AddSecondarySourcesVersionOverride(const ProjectSourceVersion &value)
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartBuildRequest & WithServiceRoleOverride(const Aws::String &value)
StartBuildRequest & WithSecondaryArtifactsOverride(Aws::Vector< ProjectArtifacts > &&value)
void SetEnvironmentVariablesOverride(const Aws::Vector< EnvironmentVariable > &value)
StartBuildRequest & WithImageOverride(const char *value)
void SetSecondarySourcesOverride(const Aws::Vector< ProjectSource > &value)
bool GitCloneDepthOverrideHasBeenSet() const
StartBuildRequest & WithProjectName(Aws::String &&value)
const RegistryCredential & GetRegistryCredentialOverride() const
bool TimeoutInMinutesOverrideHasBeenSet() const
void SetImagePullCredentialsTypeOverride(const ImagePullCredentialsType &value)
StartBuildRequest & WithRegistryCredentialOverride(const RegistryCredential &value)
bool LogsConfigOverrideHasBeenSet() const
StartBuildRequest & WithEnvironmentTypeOverride(const EnvironmentType &value)
const SourceAuth & GetSourceAuthOverride() const
void SetBuildspecOverride(Aws::String &&value)
void SetBuildspecOverride(const char *value)
StartBuildRequest & WithSourceLocationOverride(const Aws::String &value)
int GetAutoRetryLimitOverride() const
StartBuildRequest & WithLogsConfigOverride(LogsConfig &&value)
void SetBuildStatusConfigOverride(const BuildStatusConfig &value)
StartBuildRequest & WithSourceTypeOverride(SourceType &&value)
void SetBuildStatusConfigOverride(BuildStatusConfig &&value)
void SetIdempotencyToken(Aws::String &&value)
void SetArtifactsOverride(ProjectArtifacts &&value)
void SetImagePullCredentialsTypeOverride(ImagePullCredentialsType &&value)
void SetImageOverride(const Aws::String &value)
StartBuildRequest & AddSecondaryArtifactsOverride(const ProjectArtifacts &value)
void SetRegistryCredentialOverride(RegistryCredential &&value)
const LogsConfig & GetLogsConfigOverride() const
int GetGitCloneDepthOverride() const
void SetSourceTypeOverride(SourceType &&value)
void SetCertificateOverride(Aws::String &&value)
StartBuildRequest & WithBuildspecOverride(const char *value)
bool CertificateOverrideHasBeenSet() const
int GetQueuedTimeoutInMinutesOverride() const
int GetTimeoutInMinutesOverride() const
void SetGitSubmodulesConfigOverride(GitSubmodulesConfig &&value)
bool RegistryCredentialOverrideHasBeenSet() const
StartBuildRequest & WithGitCloneDepthOverride(int value)
bool DebugSessionEnabledHasBeenSet() const
bool ComputeTypeOverrideHasBeenSet() const
void SetSecondarySourcesVersionOverride(const Aws::Vector< ProjectSourceVersion > &value)
void SetImageOverride(const char *value)
StartBuildRequest & WithSecondarySourcesOverride(Aws::Vector< ProjectSource > &&value)
bool SecondarySourcesVersionOverrideHasBeenSet() const
bool GetDebugSessionEnabled() const
StartBuildRequest & WithGitSubmodulesConfigOverride(GitSubmodulesConfig &&value)
const Aws::String & GetIdempotencyToken() const
void SetEncryptionKeyOverride(const char *value)
AWS_CODEBUILD_API Aws::String SerializePayload() const override
StartBuildRequest & WithEncryptionKeyOverride(const Aws::String &value)
StartBuildRequest & AddSecondaryArtifactsOverride(ProjectArtifacts &&value)
void SetDebugSessionEnabled(bool value)
StartBuildRequest & WithComputeTypeOverride(ComputeType &&value)
StartBuildRequest & WithPrivilegedModeOverride(bool value)
const ComputeType & GetComputeTypeOverride() const
void SetIdempotencyToken(const Aws::String &value)
void SetCertificateOverride(const char *value)
StartBuildRequest & WithEncryptionKeyOverride(Aws::String &&value)
StartBuildRequest & WithSourceVersion(const Aws::String &value)
const Aws::String & GetImageOverride() const
bool SourceLocationOverrideHasBeenSet() const
StartBuildRequest & WithImageOverride(const Aws::String &value)
void SetImageOverride(Aws::String &&value)
bool ReportBuildStatusOverrideHasBeenSet() const
void SetSourceAuthOverride(SourceAuth &&value)
bool GetReportBuildStatusOverride() const
bool ImagePullCredentialsTypeOverrideHasBeenSet() const
bool ImageOverrideHasBeenSet() const
void SetIdempotencyToken(const char *value)
void SetProjectName(Aws::String &&value)
void SetLogsConfigOverride(const LogsConfig &value)
StartBuildRequest & WithSourceVersion(const char *value)
StartBuildRequest & WithAutoRetryLimitOverride(int value)
StartBuildRequest & WithSecondaryArtifactsOverride(const Aws::Vector< ProjectArtifacts > &value)
StartBuildRequest & WithLogsConfigOverride(const LogsConfig &value)
const ProjectCache & GetCacheOverride() const
void SetReportBuildStatusOverride(bool value)
void SetCacheOverride(const ProjectCache &value)
StartBuildRequest & WithServiceRoleOverride(const char *value)
StartBuildRequest & WithArtifactsOverride(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