AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartBuildRequest.h
1
6#pragma once
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>
26#include <utility>
27
28namespace Aws
29{
30namespace CodeBuild
31{
32namespace Model
33{
34
38 {
39 public:
40 AWS_CODEBUILD_API StartBuildRequest();
41
42 // Service request name is the Operation name which will send this request out,
43 // each operation should has unique request name, so that we can get operation's name from this request.
44 // Note: this is not true for response, multiple operations may have the same response name,
45 // so we can not get operation's name from response.
46 inline virtual const char* GetServiceRequestName() const override { return "StartBuild"; }
47
48 AWS_CODEBUILD_API Aws::String SerializePayload() const override;
49
51
52
54
57 inline const Aws::String& GetProjectName() const{ return m_projectName; }
58 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
59 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
60 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
61 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
62 inline StartBuildRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
63 inline StartBuildRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
64 inline StartBuildRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
66
68
71 inline const Aws::Vector<ProjectSource>& GetSecondarySourcesOverride() const{ return m_secondarySourcesOverride; }
72 inline bool SecondarySourcesOverrideHasBeenSet() const { return m_secondarySourcesOverrideHasBeenSet; }
73 inline void SetSecondarySourcesOverride(const Aws::Vector<ProjectSource>& value) { m_secondarySourcesOverrideHasBeenSet = true; m_secondarySourcesOverride = value; }
74 inline void SetSecondarySourcesOverride(Aws::Vector<ProjectSource>&& value) { m_secondarySourcesOverrideHasBeenSet = true; m_secondarySourcesOverride = std::move(value); }
77 inline StartBuildRequest& AddSecondarySourcesOverride(const ProjectSource& value) { m_secondarySourcesOverrideHasBeenSet = true; m_secondarySourcesOverride.push_back(value); return *this; }
78 inline StartBuildRequest& AddSecondarySourcesOverride(ProjectSource&& value) { m_secondarySourcesOverrideHasBeenSet = true; m_secondarySourcesOverride.push_back(std::move(value)); return *this; }
80
82
87 inline const Aws::Vector<ProjectSourceVersion>& GetSecondarySourcesVersionOverride() const{ return m_secondarySourcesVersionOverride; }
88 inline bool SecondarySourcesVersionOverrideHasBeenSet() const { return m_secondarySourcesVersionOverrideHasBeenSet; }
89 inline void SetSecondarySourcesVersionOverride(const Aws::Vector<ProjectSourceVersion>& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride = value; }
90 inline void SetSecondarySourcesVersionOverride(Aws::Vector<ProjectSourceVersion>&& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride = std::move(value); }
93 inline StartBuildRequest& AddSecondarySourcesVersionOverride(const ProjectSourceVersion& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride.push_back(value); return *this; }
94 inline StartBuildRequest& AddSecondarySourcesVersionOverride(ProjectSourceVersion&& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride.push_back(std::move(value)); return *this; }
96
98
120 inline const Aws::String& GetSourceVersion() const{ return m_sourceVersion; }
121 inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; }
122 inline void SetSourceVersion(const Aws::String& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = value; }
123 inline void SetSourceVersion(Aws::String&& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = std::move(value); }
124 inline void SetSourceVersion(const char* value) { m_sourceVersionHasBeenSet = true; m_sourceVersion.assign(value); }
125 inline StartBuildRequest& WithSourceVersion(const Aws::String& value) { SetSourceVersion(value); return *this;}
126 inline StartBuildRequest& WithSourceVersion(Aws::String&& value) { SetSourceVersion(std::move(value)); return *this;}
127 inline StartBuildRequest& WithSourceVersion(const char* value) { SetSourceVersion(value); return *this;}
129
131
135 inline const ProjectArtifacts& GetArtifactsOverride() const{ return m_artifactsOverride; }
136 inline bool ArtifactsOverrideHasBeenSet() const { return m_artifactsOverrideHasBeenSet; }
137 inline void SetArtifactsOverride(const ProjectArtifacts& value) { m_artifactsOverrideHasBeenSet = true; m_artifactsOverride = value; }
138 inline void SetArtifactsOverride(ProjectArtifacts&& value) { m_artifactsOverrideHasBeenSet = true; m_artifactsOverride = std::move(value); }
140 inline StartBuildRequest& WithArtifactsOverride(ProjectArtifacts&& value) { SetArtifactsOverride(std::move(value)); return *this;}
142
144
147 inline const Aws::Vector<ProjectArtifacts>& GetSecondaryArtifactsOverride() const{ return m_secondaryArtifactsOverride; }
148 inline bool SecondaryArtifactsOverrideHasBeenSet() const { return m_secondaryArtifactsOverrideHasBeenSet; }
149 inline void SetSecondaryArtifactsOverride(const Aws::Vector<ProjectArtifacts>& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride = value; }
150 inline void SetSecondaryArtifactsOverride(Aws::Vector<ProjectArtifacts>&& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride = std::move(value); }
153 inline StartBuildRequest& AddSecondaryArtifactsOverride(const ProjectArtifacts& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride.push_back(value); return *this; }
154 inline StartBuildRequest& AddSecondaryArtifactsOverride(ProjectArtifacts&& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride.push_back(std::move(value)); return *this; }
156
158
162 inline const Aws::Vector<EnvironmentVariable>& GetEnvironmentVariablesOverride() const{ return m_environmentVariablesOverride; }
163 inline bool EnvironmentVariablesOverrideHasBeenSet() const { return m_environmentVariablesOverrideHasBeenSet; }
164 inline void SetEnvironmentVariablesOverride(const Aws::Vector<EnvironmentVariable>& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride = value; }
165 inline void SetEnvironmentVariablesOverride(Aws::Vector<EnvironmentVariable>&& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride = std::move(value); }
168 inline StartBuildRequest& AddEnvironmentVariablesOverride(const EnvironmentVariable& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride.push_back(value); return *this; }
169 inline StartBuildRequest& AddEnvironmentVariablesOverride(EnvironmentVariable&& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride.push_back(std::move(value)); return *this; }
171
173
177 inline const SourceType& GetSourceTypeOverride() const{ return m_sourceTypeOverride; }
178 inline bool SourceTypeOverrideHasBeenSet() const { return m_sourceTypeOverrideHasBeenSet; }
179 inline void SetSourceTypeOverride(const SourceType& value) { m_sourceTypeOverrideHasBeenSet = true; m_sourceTypeOverride = value; }
180 inline void SetSourceTypeOverride(SourceType&& value) { m_sourceTypeOverrideHasBeenSet = true; m_sourceTypeOverride = std::move(value); }
181 inline StartBuildRequest& WithSourceTypeOverride(const SourceType& value) { SetSourceTypeOverride(value); return *this;}
182 inline StartBuildRequest& WithSourceTypeOverride(SourceType&& value) { SetSourceTypeOverride(std::move(value)); return *this;}
184
186
190 inline const Aws::String& GetSourceLocationOverride() const{ return m_sourceLocationOverride; }
191 inline bool SourceLocationOverrideHasBeenSet() const { return m_sourceLocationOverrideHasBeenSet; }
192 inline void SetSourceLocationOverride(const Aws::String& value) { m_sourceLocationOverrideHasBeenSet = true; m_sourceLocationOverride = value; }
193 inline void SetSourceLocationOverride(Aws::String&& value) { m_sourceLocationOverrideHasBeenSet = true; m_sourceLocationOverride = std::move(value); }
194 inline void SetSourceLocationOverride(const char* value) { m_sourceLocationOverrideHasBeenSet = true; m_sourceLocationOverride.assign(value); }
196 inline StartBuildRequest& WithSourceLocationOverride(Aws::String&& value) { SetSourceLocationOverride(std::move(value)); return *this;}
197 inline StartBuildRequest& WithSourceLocationOverride(const char* value) { SetSourceLocationOverride(value); return *this;}
199
201
206 inline const SourceAuth& GetSourceAuthOverride() const{ return m_sourceAuthOverride; }
207 inline bool SourceAuthOverrideHasBeenSet() const { return m_sourceAuthOverrideHasBeenSet; }
208 inline void SetSourceAuthOverride(const SourceAuth& value) { m_sourceAuthOverrideHasBeenSet = true; m_sourceAuthOverride = value; }
209 inline void SetSourceAuthOverride(SourceAuth&& value) { m_sourceAuthOverrideHasBeenSet = true; m_sourceAuthOverride = std::move(value); }
210 inline StartBuildRequest& WithSourceAuthOverride(const SourceAuth& value) { SetSourceAuthOverride(value); return *this;}
211 inline StartBuildRequest& WithSourceAuthOverride(SourceAuth&& value) { SetSourceAuthOverride(std::move(value)); return *this;}
213
215
220 inline int GetGitCloneDepthOverride() const{ return m_gitCloneDepthOverride; }
221 inline bool GitCloneDepthOverrideHasBeenSet() const { return m_gitCloneDepthOverrideHasBeenSet; }
222 inline void SetGitCloneDepthOverride(int value) { m_gitCloneDepthOverrideHasBeenSet = true; m_gitCloneDepthOverride = value; }
223 inline StartBuildRequest& WithGitCloneDepthOverride(int value) { SetGitCloneDepthOverride(value); return *this;}
225
227
231 inline const GitSubmodulesConfig& GetGitSubmodulesConfigOverride() const{ return m_gitSubmodulesConfigOverride; }
232 inline bool GitSubmodulesConfigOverrideHasBeenSet() const { return m_gitSubmodulesConfigOverrideHasBeenSet; }
233 inline void SetGitSubmodulesConfigOverride(const GitSubmodulesConfig& value) { m_gitSubmodulesConfigOverrideHasBeenSet = true; m_gitSubmodulesConfigOverride = value; }
234 inline void SetGitSubmodulesConfigOverride(GitSubmodulesConfig&& value) { m_gitSubmodulesConfigOverrideHasBeenSet = true; m_gitSubmodulesConfigOverride = std::move(value); }
238
240
259 inline const Aws::String& GetBuildspecOverride() const{ return m_buildspecOverride; }
260 inline bool BuildspecOverrideHasBeenSet() const { return m_buildspecOverrideHasBeenSet; }
261 inline void SetBuildspecOverride(const Aws::String& value) { m_buildspecOverrideHasBeenSet = true; m_buildspecOverride = value; }
262 inline void SetBuildspecOverride(Aws::String&& value) { m_buildspecOverrideHasBeenSet = true; m_buildspecOverride = std::move(value); }
263 inline void SetBuildspecOverride(const char* value) { m_buildspecOverrideHasBeenSet = true; m_buildspecOverride.assign(value); }
264 inline StartBuildRequest& WithBuildspecOverride(const Aws::String& value) { SetBuildspecOverride(value); return *this;}
265 inline StartBuildRequest& WithBuildspecOverride(Aws::String&& value) { SetBuildspecOverride(std::move(value)); return *this;}
266 inline StartBuildRequest& WithBuildspecOverride(const char* value) { SetBuildspecOverride(value); return *this;}
268
270
276 inline bool GetInsecureSslOverride() const{ return m_insecureSslOverride; }
277 inline bool InsecureSslOverrideHasBeenSet() const { return m_insecureSslOverrideHasBeenSet; }
278 inline void SetInsecureSslOverride(bool value) { m_insecureSslOverrideHasBeenSet = true; m_insecureSslOverride = value; }
279 inline StartBuildRequest& WithInsecureSslOverride(bool value) { SetInsecureSslOverride(value); return *this;}
281
283
296 inline bool GetReportBuildStatusOverride() const{ return m_reportBuildStatusOverride; }
297 inline bool ReportBuildStatusOverrideHasBeenSet() const { return m_reportBuildStatusOverrideHasBeenSet; }
298 inline void SetReportBuildStatusOverride(bool value) { m_reportBuildStatusOverrideHasBeenSet = true; m_reportBuildStatusOverride = value; }
301
303
309 inline const BuildStatusConfig& GetBuildStatusConfigOverride() const{ return m_buildStatusConfigOverride; }
310 inline bool BuildStatusConfigOverrideHasBeenSet() const { return m_buildStatusConfigOverrideHasBeenSet; }
311 inline void SetBuildStatusConfigOverride(const BuildStatusConfig& value) { m_buildStatusConfigOverrideHasBeenSet = true; m_buildStatusConfigOverride = value; }
312 inline void SetBuildStatusConfigOverride(BuildStatusConfig&& value) { m_buildStatusConfigOverrideHasBeenSet = true; m_buildStatusConfigOverride = std::move(value); }
316
318
322 inline const EnvironmentType& GetEnvironmentTypeOverride() const{ return m_environmentTypeOverride; }
323 inline bool EnvironmentTypeOverrideHasBeenSet() const { return m_environmentTypeOverrideHasBeenSet; }
324 inline void SetEnvironmentTypeOverride(const EnvironmentType& value) { m_environmentTypeOverrideHasBeenSet = true; m_environmentTypeOverride = value; }
325 inline void SetEnvironmentTypeOverride(EnvironmentType&& value) { m_environmentTypeOverrideHasBeenSet = true; m_environmentTypeOverride = std::move(value); }
329
331
335 inline const Aws::String& GetImageOverride() const{ return m_imageOverride; }
336 inline bool ImageOverrideHasBeenSet() const { return m_imageOverrideHasBeenSet; }
337 inline void SetImageOverride(const Aws::String& value) { m_imageOverrideHasBeenSet = true; m_imageOverride = value; }
338 inline void SetImageOverride(Aws::String&& value) { m_imageOverrideHasBeenSet = true; m_imageOverride = std::move(value); }
339 inline void SetImageOverride(const char* value) { m_imageOverrideHasBeenSet = true; m_imageOverride.assign(value); }
340 inline StartBuildRequest& WithImageOverride(const Aws::String& value) { SetImageOverride(value); return *this;}
341 inline StartBuildRequest& WithImageOverride(Aws::String&& value) { SetImageOverride(std::move(value)); return *this;}
342 inline StartBuildRequest& WithImageOverride(const char* value) { SetImageOverride(value); return *this;}
344
346
350 inline const ComputeType& GetComputeTypeOverride() const{ return m_computeTypeOverride; }
351 inline bool ComputeTypeOverrideHasBeenSet() const { return m_computeTypeOverrideHasBeenSet; }
352 inline void SetComputeTypeOverride(const ComputeType& value) { m_computeTypeOverrideHasBeenSet = true; m_computeTypeOverride = value; }
353 inline void SetComputeTypeOverride(ComputeType&& value) { m_computeTypeOverrideHasBeenSet = true; m_computeTypeOverride = std::move(value); }
355 inline StartBuildRequest& WithComputeTypeOverride(ComputeType&& value) { SetComputeTypeOverride(std::move(value)); return *this;}
357
359
363 inline const Aws::String& GetCertificateOverride() const{ return m_certificateOverride; }
364 inline bool CertificateOverrideHasBeenSet() const { return m_certificateOverrideHasBeenSet; }
365 inline void SetCertificateOverride(const Aws::String& value) { m_certificateOverrideHasBeenSet = true; m_certificateOverride = value; }
366 inline void SetCertificateOverride(Aws::String&& value) { m_certificateOverrideHasBeenSet = true; m_certificateOverride = std::move(value); }
367 inline void SetCertificateOverride(const char* value) { m_certificateOverrideHasBeenSet = true; m_certificateOverride.assign(value); }
369 inline StartBuildRequest& WithCertificateOverride(Aws::String&& value) { SetCertificateOverride(std::move(value)); return *this;}
370 inline StartBuildRequest& WithCertificateOverride(const char* value) { SetCertificateOverride(value); return *this;}
372
374
378 inline const ProjectCache& GetCacheOverride() const{ return m_cacheOverride; }
379 inline bool CacheOverrideHasBeenSet() const { return m_cacheOverrideHasBeenSet; }
380 inline void SetCacheOverride(const ProjectCache& value) { m_cacheOverrideHasBeenSet = true; m_cacheOverride = value; }
381 inline void SetCacheOverride(ProjectCache&& value) { m_cacheOverrideHasBeenSet = true; m_cacheOverride = std::move(value); }
382 inline StartBuildRequest& WithCacheOverride(const ProjectCache& value) { SetCacheOverride(value); return *this;}
383 inline StartBuildRequest& WithCacheOverride(ProjectCache&& value) { SetCacheOverride(std::move(value)); return *this;}
385
387
391 inline const Aws::String& GetServiceRoleOverride() const{ return m_serviceRoleOverride; }
392 inline bool ServiceRoleOverrideHasBeenSet() const { return m_serviceRoleOverrideHasBeenSet; }
393 inline void SetServiceRoleOverride(const Aws::String& value) { m_serviceRoleOverrideHasBeenSet = true; m_serviceRoleOverride = value; }
394 inline void SetServiceRoleOverride(Aws::String&& value) { m_serviceRoleOverrideHasBeenSet = true; m_serviceRoleOverride = std::move(value); }
395 inline void SetServiceRoleOverride(const char* value) { m_serviceRoleOverrideHasBeenSet = true; m_serviceRoleOverride.assign(value); }
397 inline StartBuildRequest& WithServiceRoleOverride(Aws::String&& value) { SetServiceRoleOverride(std::move(value)); return *this;}
398 inline StartBuildRequest& WithServiceRoleOverride(const char* value) { SetServiceRoleOverride(value); return *this;}
400
402
405 inline bool GetPrivilegedModeOverride() const{ return m_privilegedModeOverride; }
406 inline bool PrivilegedModeOverrideHasBeenSet() const { return m_privilegedModeOverrideHasBeenSet; }
407 inline void SetPrivilegedModeOverride(bool value) { m_privilegedModeOverrideHasBeenSet = true; m_privilegedModeOverride = value; }
408 inline StartBuildRequest& WithPrivilegedModeOverride(bool value) { SetPrivilegedModeOverride(value); return *this;}
410
412
417 inline int GetTimeoutInMinutesOverride() const{ return m_timeoutInMinutesOverride; }
418 inline bool TimeoutInMinutesOverrideHasBeenSet() const { return m_timeoutInMinutesOverrideHasBeenSet; }
419 inline void SetTimeoutInMinutesOverride(int value) { m_timeoutInMinutesOverrideHasBeenSet = true; m_timeoutInMinutesOverride = value; }
422
424
428 inline int GetQueuedTimeoutInMinutesOverride() const{ return m_queuedTimeoutInMinutesOverride; }
429 inline bool QueuedTimeoutInMinutesOverrideHasBeenSet() const { return m_queuedTimeoutInMinutesOverrideHasBeenSet; }
430 inline void SetQueuedTimeoutInMinutesOverride(int value) { m_queuedTimeoutInMinutesOverrideHasBeenSet = true; m_queuedTimeoutInMinutesOverride = value; }
433
435
444 inline const Aws::String& GetEncryptionKeyOverride() const{ return m_encryptionKeyOverride; }
445 inline bool EncryptionKeyOverrideHasBeenSet() const { return m_encryptionKeyOverrideHasBeenSet; }
446 inline void SetEncryptionKeyOverride(const Aws::String& value) { m_encryptionKeyOverrideHasBeenSet = true; m_encryptionKeyOverride = value; }
447 inline void SetEncryptionKeyOverride(Aws::String&& value) { m_encryptionKeyOverrideHasBeenSet = true; m_encryptionKeyOverride = std::move(value); }
448 inline void SetEncryptionKeyOverride(const char* value) { m_encryptionKeyOverrideHasBeenSet = true; m_encryptionKeyOverride.assign(value); }
450 inline StartBuildRequest& WithEncryptionKeyOverride(Aws::String&& value) { SetEncryptionKeyOverride(std::move(value)); return *this;}
451 inline StartBuildRequest& WithEncryptionKeyOverride(const char* value) { SetEncryptionKeyOverride(value); return *this;}
453
455
461 inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
462 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
463 inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
464 inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
465 inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
466 inline StartBuildRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
467 inline StartBuildRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
468 inline StartBuildRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
470
472
476 inline const LogsConfig& GetLogsConfigOverride() const{ return m_logsConfigOverride; }
477 inline bool LogsConfigOverrideHasBeenSet() const { return m_logsConfigOverrideHasBeenSet; }
478 inline void SetLogsConfigOverride(const LogsConfig& value) { m_logsConfigOverrideHasBeenSet = true; m_logsConfigOverride = value; }
479 inline void SetLogsConfigOverride(LogsConfig&& value) { m_logsConfigOverrideHasBeenSet = true; m_logsConfigOverride = std::move(value); }
480 inline StartBuildRequest& WithLogsConfigOverride(const LogsConfig& value) { SetLogsConfigOverride(value); return *this;}
481 inline StartBuildRequest& WithLogsConfigOverride(LogsConfig&& value) { SetLogsConfigOverride(std::move(value)); return *this;}
483
485
488 inline const RegistryCredential& GetRegistryCredentialOverride() const{ return m_registryCredentialOverride; }
489 inline bool RegistryCredentialOverrideHasBeenSet() const { return m_registryCredentialOverrideHasBeenSet; }
490 inline void SetRegistryCredentialOverride(const RegistryCredential& value) { m_registryCredentialOverrideHasBeenSet = true; m_registryCredentialOverride = value; }
491 inline void SetRegistryCredentialOverride(RegistryCredential&& value) { m_registryCredentialOverrideHasBeenSet = true; m_registryCredentialOverride = std::move(value); }
495
497
507 inline const ImagePullCredentialsType& GetImagePullCredentialsTypeOverride() const{ return m_imagePullCredentialsTypeOverride; }
508 inline bool ImagePullCredentialsTypeOverrideHasBeenSet() const { return m_imagePullCredentialsTypeOverrideHasBeenSet; }
509 inline void SetImagePullCredentialsTypeOverride(const ImagePullCredentialsType& value) { m_imagePullCredentialsTypeOverrideHasBeenSet = true; m_imagePullCredentialsTypeOverride = value; }
510 inline void SetImagePullCredentialsTypeOverride(ImagePullCredentialsType&& value) { m_imagePullCredentialsTypeOverrideHasBeenSet = true; m_imagePullCredentialsTypeOverride = std::move(value); }
514
516
522 inline bool GetDebugSessionEnabled() const{ return m_debugSessionEnabled; }
523 inline bool DebugSessionEnabledHasBeenSet() const { return m_debugSessionEnabledHasBeenSet; }
524 inline void SetDebugSessionEnabled(bool value) { m_debugSessionEnabledHasBeenSet = true; m_debugSessionEnabled = value; }
525 inline StartBuildRequest& WithDebugSessionEnabled(bool value) { SetDebugSessionEnabled(value); return *this;}
527
529
533 inline const ProjectFleet& GetFleetOverride() const{ return m_fleetOverride; }
534 inline bool FleetOverrideHasBeenSet() const { return m_fleetOverrideHasBeenSet; }
535 inline void SetFleetOverride(const ProjectFleet& value) { m_fleetOverrideHasBeenSet = true; m_fleetOverride = value; }
536 inline void SetFleetOverride(ProjectFleet&& value) { m_fleetOverrideHasBeenSet = true; m_fleetOverride = std::move(value); }
537 inline StartBuildRequest& WithFleetOverride(const ProjectFleet& value) { SetFleetOverride(value); return *this;}
538 inline StartBuildRequest& WithFleetOverride(ProjectFleet&& value) { SetFleetOverride(std::move(value)); return *this;}
540
542
548 inline int GetAutoRetryLimitOverride() const{ return m_autoRetryLimitOverride; }
549 inline bool AutoRetryLimitOverrideHasBeenSet() const { return m_autoRetryLimitOverrideHasBeenSet; }
550 inline void SetAutoRetryLimitOverride(int value) { m_autoRetryLimitOverrideHasBeenSet = true; m_autoRetryLimitOverride = value; }
553 private:
554
555 Aws::String m_projectName;
556 bool m_projectNameHasBeenSet = false;
557
558 Aws::Vector<ProjectSource> m_secondarySourcesOverride;
559 bool m_secondarySourcesOverrideHasBeenSet = false;
560
561 Aws::Vector<ProjectSourceVersion> m_secondarySourcesVersionOverride;
562 bool m_secondarySourcesVersionOverrideHasBeenSet = false;
563
564 Aws::String m_sourceVersion;
565 bool m_sourceVersionHasBeenSet = false;
566
567 ProjectArtifacts m_artifactsOverride;
568 bool m_artifactsOverrideHasBeenSet = false;
569
570 Aws::Vector<ProjectArtifacts> m_secondaryArtifactsOverride;
571 bool m_secondaryArtifactsOverrideHasBeenSet = false;
572
573 Aws::Vector<EnvironmentVariable> m_environmentVariablesOverride;
574 bool m_environmentVariablesOverrideHasBeenSet = false;
575
576 SourceType m_sourceTypeOverride;
577 bool m_sourceTypeOverrideHasBeenSet = false;
578
579 Aws::String m_sourceLocationOverride;
580 bool m_sourceLocationOverrideHasBeenSet = false;
581
582 SourceAuth m_sourceAuthOverride;
583 bool m_sourceAuthOverrideHasBeenSet = false;
584
585 int m_gitCloneDepthOverride;
586 bool m_gitCloneDepthOverrideHasBeenSet = false;
587
588 GitSubmodulesConfig m_gitSubmodulesConfigOverride;
589 bool m_gitSubmodulesConfigOverrideHasBeenSet = false;
590
591 Aws::String m_buildspecOverride;
592 bool m_buildspecOverrideHasBeenSet = false;
593
594 bool m_insecureSslOverride;
595 bool m_insecureSslOverrideHasBeenSet = false;
596
597 bool m_reportBuildStatusOverride;
598 bool m_reportBuildStatusOverrideHasBeenSet = false;
599
600 BuildStatusConfig m_buildStatusConfigOverride;
601 bool m_buildStatusConfigOverrideHasBeenSet = false;
602
603 EnvironmentType m_environmentTypeOverride;
604 bool m_environmentTypeOverrideHasBeenSet = false;
605
606 Aws::String m_imageOverride;
607 bool m_imageOverrideHasBeenSet = false;
608
609 ComputeType m_computeTypeOverride;
610 bool m_computeTypeOverrideHasBeenSet = false;
611
612 Aws::String m_certificateOverride;
613 bool m_certificateOverrideHasBeenSet = false;
614
615 ProjectCache m_cacheOverride;
616 bool m_cacheOverrideHasBeenSet = false;
617
618 Aws::String m_serviceRoleOverride;
619 bool m_serviceRoleOverrideHasBeenSet = false;
620
621 bool m_privilegedModeOverride;
622 bool m_privilegedModeOverrideHasBeenSet = false;
623
624 int m_timeoutInMinutesOverride;
625 bool m_timeoutInMinutesOverrideHasBeenSet = false;
626
627 int m_queuedTimeoutInMinutesOverride;
628 bool m_queuedTimeoutInMinutesOverrideHasBeenSet = false;
629
630 Aws::String m_encryptionKeyOverride;
631 bool m_encryptionKeyOverrideHasBeenSet = false;
632
633 Aws::String m_idempotencyToken;
634 bool m_idempotencyTokenHasBeenSet = false;
635
636 LogsConfig m_logsConfigOverride;
637 bool m_logsConfigOverrideHasBeenSet = false;
638
639 RegistryCredential m_registryCredentialOverride;
640 bool m_registryCredentialOverrideHasBeenSet = false;
641
642 ImagePullCredentialsType m_imagePullCredentialsTypeOverride;
643 bool m_imagePullCredentialsTypeOverrideHasBeenSet = false;
644
645 bool m_debugSessionEnabled;
646 bool m_debugSessionEnabledHasBeenSet = false;
647
648 ProjectFleet m_fleetOverride;
649 bool m_fleetOverrideHasBeenSet = false;
650
651 int m_autoRetryLimitOverride;
652 bool m_autoRetryLimitOverrideHasBeenSet = false;
653 };
654
655} // namespace Model
656} // namespace CodeBuild
657} // namespace Aws
StartBuildRequest & WithEnvironmentVariablesOverride(Aws::Vector< EnvironmentVariable > &&value)
StartBuildRequest & WithBuildStatusConfigOverride(const BuildStatusConfig &value)
StartBuildRequest & AddSecondarySourcesVersionOverride(ProjectSourceVersion &&value)
void SetSecondaryArtifactsOverride(Aws::Vector< ProjectArtifacts > &&value)
void SetSecondarySourcesOverride(Aws::Vector< ProjectSource > &&value)
StartBuildRequest & WithComputeTypeOverride(const ComputeType &value)
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)
StartBuildRequest & WithImageOverride(Aws::String &&value)
void SetCertificateOverride(const Aws::String &value)
StartBuildRequest & WithServiceRoleOverride(Aws::String &&value)
StartBuildRequest & WithReportBuildStatusOverride(bool value)
void SetProjectName(const Aws::String &value)
StartBuildRequest & AddEnvironmentVariablesOverride(EnvironmentVariable &&value)
void SetComputeTypeOverride(ComputeType &&value)
const Aws::String & GetCertificateOverride() const
void SetSourceLocationOverride(const Aws::String &value)
StartBuildRequest & AddSecondarySourcesOverride(ProjectSource &&value)
void SetRegistryCredentialOverride(const RegistryCredential &value)
StartBuildRequest & WithCertificateOverride(const Aws::String &value)
void SetFleetOverride(ProjectFleet &&value)
StartBuildRequest & WithRegistryCredentialOverride(RegistryCredential &&value)
StartBuildRequest & WithSecondarySourcesVersionOverride(const Aws::Vector< ProjectSourceVersion > &value)
StartBuildRequest & WithSecondarySourcesVersionOverride(Aws::Vector< ProjectSourceVersion > &&value)
StartBuildRequest & WithCertificateOverride(Aws::String &&value)
StartBuildRequest & WithFleetOverride(const ProjectFleet &value)
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourcesVersionOverride() 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)
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)
const EnvironmentType & GetEnvironmentTypeOverride() const
StartBuildRequest & WithSourceAuthOverride(SourceAuth &&value)
StartBuildRequest & WithBuildStatusConfigOverride(BuildStatusConfig &&value)
StartBuildRequest & WithSourceLocationOverride(const char *value)
StartBuildRequest & WithEnvironmentVariablesOverride(const Aws::Vector< EnvironmentVariable > &value)
const Aws::String & GetProjectName() const
void SetSourceTypeOverride(const SourceType &value)
const GitSubmodulesConfig & GetGitSubmodulesConfigOverride() const
StartBuildRequest & WithBuildspecOverride(Aws::String &&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)
StartBuildRequest & WithProjectName(const char *value)
void SetCacheOverride(ProjectCache &&value)
StartBuildRequest & WithCacheOverride(ProjectCache &&value)
void SetArtifactsOverride(const ProjectArtifacts &value)
void SetBuildspecOverride(const Aws::String &value)
const SourceType & GetSourceTypeOverride() const
const Aws::String & GetSourceLocationOverride() const
StartBuildRequest & WithSourceLocationOverride(Aws::String &&value)
void SetSecondaryArtifactsOverride(const Aws::Vector< ProjectArtifacts > &value)
const ImagePullCredentialsType & GetImagePullCredentialsTypeOverride() const
void SetServiceRoleOverride(Aws::String &&value)
const Aws::Vector< ProjectArtifacts > & GetSecondaryArtifactsOverride() const
void SetEnvironmentTypeOverride(EnvironmentType &&value)
void SetEnvironmentVariablesOverride(Aws::Vector< EnvironmentVariable > &&value)
StartBuildRequest & WithCacheOverride(const ProjectCache &value)
StartBuildRequest & AddSecondarySourcesOverride(const ProjectSource &value)
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)
StartBuildRequest & WithProjectName(Aws::String &&value)
const RegistryCredential & GetRegistryCredentialOverride() const
void SetImagePullCredentialsTypeOverride(const ImagePullCredentialsType &value)
StartBuildRequest & WithRegistryCredentialOverride(const RegistryCredential &value)
StartBuildRequest & WithEnvironmentTypeOverride(const EnvironmentType &value)
const SourceAuth & GetSourceAuthOverride() const
void SetBuildspecOverride(Aws::String &&value)
StartBuildRequest & WithSourceLocationOverride(const Aws::String &value)
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
void SetCertificateOverride(Aws::String &&value)
StartBuildRequest & WithBuildspecOverride(const char *value)
void SetGitSubmodulesConfigOverride(GitSubmodulesConfig &&value)
StartBuildRequest & WithGitCloneDepthOverride(int value)
void SetSecondarySourcesVersionOverride(const Aws::Vector< ProjectSourceVersion > &value)
StartBuildRequest & WithSecondarySourcesOverride(Aws::Vector< ProjectSource > &&value)
StartBuildRequest & WithGitSubmodulesConfigOverride(GitSubmodulesConfig &&value)
const Aws::String & GetIdempotencyToken() const
AWS_CODEBUILD_API Aws::String SerializePayload() const override
StartBuildRequest & WithEncryptionKeyOverride(const Aws::String &value)
StartBuildRequest & AddSecondaryArtifactsOverride(ProjectArtifacts &&value)
StartBuildRequest & WithComputeTypeOverride(ComputeType &&value)
StartBuildRequest & WithPrivilegedModeOverride(bool value)
const ComputeType & GetComputeTypeOverride() const
void SetIdempotencyToken(const Aws::String &value)
StartBuildRequest & WithEncryptionKeyOverride(Aws::String &&value)
StartBuildRequest & WithSourceVersion(const Aws::String &value)
const Aws::String & GetImageOverride() const
StartBuildRequest & WithImageOverride(const 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 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