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/EnvironmentType.h>
16#include <aws/codebuild/model/ComputeType.h>
17#include <aws/codebuild/model/ProjectCache.h>
18#include <aws/codebuild/model/LogsConfig.h>
19#include <aws/codebuild/model/RegistryCredential.h>
20#include <aws/codebuild/model/ImagePullCredentialsType.h>
21#include <aws/codebuild/model/ProjectBuildBatchConfig.h>
22#include <aws/codebuild/model/ProjectSource.h>
23#include <aws/codebuild/model/ProjectSourceVersion.h>
24#include <aws/codebuild/model/EnvironmentVariable.h>
60 inline void SetProjectName(
const char* value) { m_projectNameHasBeenSet =
true; m_projectName.assign(value); }
122 inline void SetSourceVersion(
const char* value) { m_sourceVersionHasBeenSet =
true; m_sourceVersion.assign(value); }
193 inline void SetSourceLocationOverride(
const char* value) { m_sourceLocationOverrideHasBeenSet =
true; m_sourceLocationOverride.assign(value); }
256 inline void SetBuildspecOverride(
const char* value) { m_buildspecOverrideHasBeenSet =
true; m_buildspecOverride.assign(value); }
271 inline void SetInsecureSslOverride(
bool value) { m_insecureSslOverrideHasBeenSet =
true; m_insecureSslOverride = value; }
312 inline void SetImageOverride(
const char* value) { m_imageOverrideHasBeenSet =
true; m_imageOverride.assign(value); }
340 inline void SetCertificateOverride(
const char* value) { m_certificateOverrideHasBeenSet =
true; m_certificateOverride.assign(value); }
367 inline void SetServiceRoleOverride(
const char* value) { m_serviceRoleOverrideHasBeenSet =
true; m_serviceRoleOverride.assign(value); }
418 inline void SetEncryptionKeyOverride(
const char* value) { m_encryptionKeyOverrideHasBeenSet =
true; m_encryptionKeyOverride.assign(value); }
436 inline void SetIdempotencyToken(
const char* value) { m_idempotencyTokenHasBeenSet =
true; m_idempotencyToken.assign(value); }
510 inline void SetDebugSessionEnabled(
bool value) { m_debugSessionEnabledHasBeenSet =
true; m_debugSessionEnabled = value; }
516 bool m_projectNameHasBeenSet =
false;
519 bool m_secondarySourcesOverrideHasBeenSet =
false;
522 bool m_secondarySourcesVersionOverrideHasBeenSet =
false;
525 bool m_sourceVersionHasBeenSet =
false;
528 bool m_artifactsOverrideHasBeenSet =
false;
531 bool m_secondaryArtifactsOverrideHasBeenSet =
false;
534 bool m_environmentVariablesOverrideHasBeenSet =
false;
537 bool m_sourceTypeOverrideHasBeenSet =
false;
540 bool m_sourceLocationOverrideHasBeenSet =
false;
543 bool m_sourceAuthOverrideHasBeenSet =
false;
545 int m_gitCloneDepthOverride;
546 bool m_gitCloneDepthOverrideHasBeenSet =
false;
549 bool m_gitSubmodulesConfigOverrideHasBeenSet =
false;
552 bool m_buildspecOverrideHasBeenSet =
false;
554 bool m_insecureSslOverride;
555 bool m_insecureSslOverrideHasBeenSet =
false;
557 bool m_reportBuildBatchStatusOverride;
558 bool m_reportBuildBatchStatusOverrideHasBeenSet =
false;
561 bool m_environmentTypeOverrideHasBeenSet =
false;
564 bool m_imageOverrideHasBeenSet =
false;
567 bool m_computeTypeOverrideHasBeenSet =
false;
570 bool m_certificateOverrideHasBeenSet =
false;
573 bool m_cacheOverrideHasBeenSet =
false;
576 bool m_serviceRoleOverrideHasBeenSet =
false;
578 bool m_privilegedModeOverride;
579 bool m_privilegedModeOverrideHasBeenSet =
false;
581 int m_buildTimeoutInMinutesOverride;
582 bool m_buildTimeoutInMinutesOverrideHasBeenSet =
false;
584 int m_queuedTimeoutInMinutesOverride;
585 bool m_queuedTimeoutInMinutesOverrideHasBeenSet =
false;
588 bool m_encryptionKeyOverrideHasBeenSet =
false;
591 bool m_idempotencyTokenHasBeenSet =
false;
594 bool m_logsConfigOverrideHasBeenSet =
false;
597 bool m_registryCredentialOverrideHasBeenSet =
false;
600 bool m_imagePullCredentialsTypeOverrideHasBeenSet =
false;
603 bool m_buildBatchConfigOverrideHasBeenSet =
false;
605 bool m_debugSessionEnabled;
606 bool m_debugSessionEnabledHasBeenSet =
false;
StartBuildBatchRequest & WithLogsConfigOverride(const LogsConfig &value)
bool ArtifactsOverrideHasBeenSet() const
void SetLogsConfigOverride(LogsConfig &&value)
void SetSourceVersion(Aws::String &&value)
const Aws::String & GetSourceVersion() const
StartBuildBatchRequest & WithBuildTimeoutInMinutesOverride(int value)
void SetCacheOverride(const ProjectCache &value)
StartBuildBatchRequest & WithCacheOverride(ProjectCache &&value)
void SetSourceTypeOverride(const SourceType &value)
bool BuildspecOverrideHasBeenSet() const
const Aws::String & GetServiceRoleOverride() const
StartBuildBatchRequest & AddSecondaryArtifactsOverride(ProjectArtifacts &&value)
bool ImagePullCredentialsTypeOverrideHasBeenSet() const
StartBuildBatchRequest & WithProjectName(const Aws::String &value)
bool ServiceRoleOverrideHasBeenSet() const
void SetProjectName(Aws::String &&value)
StartBuildBatchRequest & WithSecondarySourcesVersionOverride(Aws::Vector< ProjectSourceVersion > &&value)
void SetServiceRoleOverride(Aws::String &&value)
void SetGitCloneDepthOverride(int value)
void SetIdempotencyToken(const Aws::String &value)
bool SecondaryArtifactsOverrideHasBeenSet() const
StartBuildBatchRequest & AddEnvironmentVariablesOverride(EnvironmentVariable &&value)
StartBuildBatchRequest & WithIdempotencyToken(const char *value)
void SetImageOverride(Aws::String &&value)
void SetSourceLocationOverride(const Aws::String &value)
void SetServiceRoleOverride(const Aws::String &value)
void SetProjectName(const char *value)
void SetArtifactsOverride(ProjectArtifacts &&value)
void SetCertificateOverride(const char *value)
StartBuildBatchRequest & WithImageOverride(const Aws::String &value)
StartBuildBatchRequest & WithReportBuildBatchStatusOverride(bool value)
StartBuildBatchRequest & WithSecondaryArtifactsOverride(Aws::Vector< ProjectArtifacts > &&value)
StartBuildBatchRequest & WithEnvironmentVariablesOverride(Aws::Vector< EnvironmentVariable > &&value)
StartBuildBatchRequest & WithSourceVersion(const Aws::String &value)
bool EncryptionKeyOverrideHasBeenSet() const
void SetSourceLocationOverride(Aws::String &&value)
StartBuildBatchRequest & WithCertificateOverride(const char *value)
void SetCertificateOverride(const Aws::String &value)
const ComputeType & GetComputeTypeOverride() const
const Aws::Vector< ProjectSource > & GetSecondarySourcesOverride() const
void SetGitSubmodulesConfigOverride(const GitSubmodulesConfig &value)
void SetEncryptionKeyOverride(const Aws::String &value)
StartBuildBatchRequest & WithCertificateOverride(Aws::String &&value)
void SetRegistryCredentialOverride(const RegistryCredential &value)
StartBuildBatchRequest & WithSecondarySourcesOverride(Aws::Vector< ProjectSource > &&value)
StartBuildBatchRequest & AddSecondarySourcesVersionOverride(ProjectSourceVersion &&value)
void SetSourceAuthOverride(SourceAuth &&value)
void SetComputeTypeOverride(ComputeType &&value)
StartBuildBatchRequest & WithImagePullCredentialsTypeOverride(ImagePullCredentialsType &&value)
const Aws::String & GetBuildspecOverride() const
StartBuildBatchRequest & AddSecondarySourcesOverride(ProjectSource &&value)
void SetSecondarySourcesVersionOverride(const Aws::Vector< ProjectSourceVersion > &value)
StartBuildBatchRequest & WithDebugSessionEnabled(bool value)
bool CacheOverrideHasBeenSet() const
int GetBuildTimeoutInMinutesOverride() const
StartBuildBatchRequest & WithGitSubmodulesConfigOverride(GitSubmodulesConfig &&value)
int GetGitCloneDepthOverride() const
bool ComputeTypeOverrideHasBeenSet() const
void SetIdempotencyToken(const char *value)
StartBuildBatchRequest & WithSecondarySourcesVersionOverride(const Aws::Vector< ProjectSourceVersion > &value)
const GitSubmodulesConfig & GetGitSubmodulesConfigOverride() const
bool SourceAuthOverrideHasBeenSet() const
StartBuildBatchRequest & WithEnvironmentVariablesOverride(const Aws::Vector< EnvironmentVariable > &value)
StartBuildBatchRequest & WithComputeTypeOverride(ComputeType &&value)
StartBuildBatchRequest & WithBuildspecOverride(const char *value)
void SetImageOverride(const Aws::String &value)
void SetBuildspecOverride(const char *value)
bool EnvironmentTypeOverrideHasBeenSet() const
void SetSecondarySourcesOverride(const Aws::Vector< ProjectSource > &value)
void SetBuildTimeoutInMinutesOverride(int value)
bool CertificateOverrideHasBeenSet() const
StartBuildBatchRequest & WithQueuedTimeoutInMinutesOverride(int value)
void SetSourceVersion(const Aws::String &value)
StartBuildBatchRequest & WithIdempotencyToken(Aws::String &&value)
bool GitCloneDepthOverrideHasBeenSet() const
bool BuildBatchConfigOverrideHasBeenSet() const
void SetLogsConfigOverride(const LogsConfig &value)
StartBuildBatchRequest & WithSourceAuthOverride(SourceAuth &&value)
StartBuildBatchRequest & WithServiceRoleOverride(Aws::String &&value)
AWS_CODEBUILD_API StartBuildBatchRequest()
const RegistryCredential & GetRegistryCredentialOverride() const
const Aws::String & GetImageOverride() const
StartBuildBatchRequest & WithIdempotencyToken(const Aws::String &value)
bool PrivilegedModeOverrideHasBeenSet() const
bool ImageOverrideHasBeenSet() const
const SourceAuth & GetSourceAuthOverride() const
void SetEncryptionKeyOverride(Aws::String &&value)
void SetImageOverride(const char *value)
bool DebugSessionEnabledHasBeenSet() const
const Aws::Vector< EnvironmentVariable > & GetEnvironmentVariablesOverride() const
StartBuildBatchRequest & WithSourceVersion(const char *value)
StartBuildBatchRequest & WithArtifactsOverride(ProjectArtifacts &&value)
StartBuildBatchRequest & WithServiceRoleOverride(const char *value)
StartBuildBatchRequest & WithEnvironmentTypeOverride(EnvironmentType &&value)
AWS_CODEBUILD_API Aws::String SerializePayload() const override
StartBuildBatchRequest & WithProjectName(Aws::String &&value)
bool GetInsecureSslOverride() const
StartBuildBatchRequest & WithLogsConfigOverride(LogsConfig &&value)
bool SourceTypeOverrideHasBeenSet() const
void SetComputeTypeOverride(const ComputeType &value)
StartBuildBatchRequest & WithCertificateOverride(const Aws::String &value)
StartBuildBatchRequest & WithRegistryCredentialOverride(const RegistryCredential &value)
void SetSourceVersion(const char *value)
void SetImagePullCredentialsTypeOverride(const ImagePullCredentialsType &value)
const Aws::String & GetIdempotencyToken() const
StartBuildBatchRequest & AddSecondarySourcesVersionOverride(const ProjectSourceVersion &value)
void SetSecondarySourcesOverride(Aws::Vector< ProjectSource > &&value)
void SetProjectName(const Aws::String &value)
bool ReportBuildBatchStatusOverrideHasBeenSet() const
void SetSourceLocationOverride(const char *value)
void SetReportBuildBatchStatusOverride(bool value)
StartBuildBatchRequest & WithSourceVersion(Aws::String &&value)
StartBuildBatchRequest & WithProjectName(const char *value)
void SetBuildBatchConfigOverride(const ProjectBuildBatchConfig &value)
StartBuildBatchRequest & WithSourceTypeOverride(SourceType &&value)
void SetServiceRoleOverride(const char *value)
int GetQueuedTimeoutInMinutesOverride() const
StartBuildBatchRequest & WithCacheOverride(const ProjectCache &value)
void SetEnvironmentVariablesOverride(const Aws::Vector< EnvironmentVariable > &value)
void SetBuildspecOverride(const Aws::String &value)
StartBuildBatchRequest & WithSecondaryArtifactsOverride(const Aws::Vector< ProjectArtifacts > &value)
bool GetDebugSessionEnabled() const
const Aws::String & GetSourceLocationOverride() const
void SetEnvironmentTypeOverride(EnvironmentType &&value)
const SourceType & GetSourceTypeOverride() const
StartBuildBatchRequest & WithServiceRoleOverride(const Aws::String &value)
StartBuildBatchRequest & WithSourceTypeOverride(const SourceType &value)
void SetSecondarySourcesVersionOverride(Aws::Vector< ProjectSourceVersion > &&value)
void SetSourceTypeOverride(SourceType &&value)
void SetEnvironmentVariablesOverride(Aws::Vector< EnvironmentVariable > &&value)
bool SecondarySourcesOverrideHasBeenSet() const
bool ProjectNameHasBeenSet() const
bool GitSubmodulesConfigOverrideHasBeenSet() const
void SetArtifactsOverride(const ProjectArtifacts &value)
StartBuildBatchRequest & WithBuildBatchConfigOverride(ProjectBuildBatchConfig &&value)
StartBuildBatchRequest & WithEncryptionKeyOverride(Aws::String &&value)
StartBuildBatchRequest & AddEnvironmentVariablesOverride(const EnvironmentVariable &value)
StartBuildBatchRequest & WithComputeTypeOverride(const ComputeType &value)
void SetSecondaryArtifactsOverride(Aws::Vector< ProjectArtifacts > &&value)
const Aws::String & GetProjectName() const
const Aws::String & GetCertificateOverride() const
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourcesVersionOverride() const
void SetCacheOverride(ProjectCache &&value)
bool GetPrivilegedModeOverride() const
void SetCertificateOverride(Aws::String &&value)
StartBuildBatchRequest & WithGitCloneDepthOverride(int value)
StartBuildBatchRequest & WithImageOverride(const char *value)
bool IdempotencyTokenHasBeenSet() const
const ProjectArtifacts & GetArtifactsOverride() const
void SetBuildBatchConfigOverride(ProjectBuildBatchConfig &&value)
bool SecondarySourcesVersionOverrideHasBeenSet() const
bool SourceVersionHasBeenSet() const
StartBuildBatchRequest & WithEncryptionKeyOverride(const Aws::String &value)
void SetDebugSessionEnabled(bool value)
void SetBuildspecOverride(Aws::String &&value)
void SetSecondaryArtifactsOverride(const Aws::Vector< ProjectArtifacts > &value)
StartBuildBatchRequest & WithEnvironmentTypeOverride(const EnvironmentType &value)
const ImagePullCredentialsType & GetImagePullCredentialsTypeOverride() const
virtual const char * GetServiceRequestName() const override
StartBuildBatchRequest & AddSecondaryArtifactsOverride(const ProjectArtifacts &value)
void SetEncryptionKeyOverride(const char *value)
void SetImagePullCredentialsTypeOverride(ImagePullCredentialsType &&value)
StartBuildBatchRequest & WithBuildBatchConfigOverride(const ProjectBuildBatchConfig &value)
void SetIdempotencyToken(Aws::String &&value)
bool LogsConfigOverrideHasBeenSet() const
const ProjectBuildBatchConfig & GetBuildBatchConfigOverride() const
void SetQueuedTimeoutInMinutesOverride(int value)
StartBuildBatchRequest & WithArtifactsOverride(const ProjectArtifacts &value)
StartBuildBatchRequest & WithEncryptionKeyOverride(const char *value)
StartBuildBatchRequest & WithSourceAuthOverride(const SourceAuth &value)
bool BuildTimeoutInMinutesOverrideHasBeenSet() const
const Aws::Vector< ProjectArtifacts > & GetSecondaryArtifactsOverride() const
bool QueuedTimeoutInMinutesOverrideHasBeenSet() const
StartBuildBatchRequest & WithImageOverride(Aws::String &&value)
void SetPrivilegedModeOverride(bool value)
StartBuildBatchRequest & WithPrivilegedModeOverride(bool value)
StartBuildBatchRequest & WithSecondarySourcesOverride(const Aws::Vector< ProjectSource > &value)
StartBuildBatchRequest & WithBuildspecOverride(const Aws::String &value)
StartBuildBatchRequest & WithInsecureSslOverride(bool value)
const Aws::String & GetEncryptionKeyOverride() const
void SetInsecureSslOverride(bool value)
StartBuildBatchRequest & WithBuildspecOverride(Aws::String &&value)
bool GetReportBuildBatchStatusOverride() const
StartBuildBatchRequest & WithSourceLocationOverride(const char *value)
void SetRegistryCredentialOverride(RegistryCredential &&value)
void SetSourceAuthOverride(const SourceAuth &value)
StartBuildBatchRequest & WithGitSubmodulesConfigOverride(const GitSubmodulesConfig &value)
bool SourceLocationOverrideHasBeenSet() const
StartBuildBatchRequest & WithRegistryCredentialOverride(RegistryCredential &&value)
void SetGitSubmodulesConfigOverride(GitSubmodulesConfig &&value)
StartBuildBatchRequest & WithImagePullCredentialsTypeOverride(const ImagePullCredentialsType &value)
StartBuildBatchRequest & AddSecondarySourcesOverride(const ProjectSource &value)
StartBuildBatchRequest & WithSourceLocationOverride(const Aws::String &value)
bool RegistryCredentialOverrideHasBeenSet() const
void SetEnvironmentTypeOverride(const EnvironmentType &value)
const ProjectCache & GetCacheOverride() const
StartBuildBatchRequest & WithSourceLocationOverride(Aws::String &&value)
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool EnvironmentVariablesOverrideHasBeenSet() const
const LogsConfig & GetLogsConfigOverride() const
bool InsecureSslOverrideHasBeenSet() const
const EnvironmentType & GetEnvironmentTypeOverride() const
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