AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartBuildBatchRequest.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/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>
25#include <utility>
26
27namespace Aws
28{
29namespace CodeBuild
30{
31namespace Model
32{
33
37 {
38 public:
39 AWS_CODEBUILD_API StartBuildBatchRequest();
40
41 // Service request name is the Operation name which will send this request out,
42 // each operation should has unique request name, so that we can get operation's name from this request.
43 // Note: this is not true for response, multiple operations may have the same response name,
44 // so we can not get operation's name from response.
45 inline virtual const char* GetServiceRequestName() const override { return "StartBuildBatch"; }
46
47 AWS_CODEBUILD_API Aws::String SerializePayload() const override;
48
50
51
53
56 inline const Aws::String& GetProjectName() const{ return m_projectName; }
57 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
58 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
59 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
60 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
61 inline StartBuildBatchRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
62 inline StartBuildBatchRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
63 inline StartBuildBatchRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
65
67
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 StartBuildBatchRequest& AddSecondarySourcesOverride(const ProjectSource& value) { m_secondarySourcesOverrideHasBeenSet = true; m_secondarySourcesOverride.push_back(value); return *this; }
78 inline StartBuildBatchRequest& AddSecondarySourcesOverride(ProjectSource&& value) { m_secondarySourcesOverrideHasBeenSet = true; m_secondarySourcesOverride.push_back(std::move(value)); return *this; }
80
82
86 inline const Aws::Vector<ProjectSourceVersion>& GetSecondarySourcesVersionOverride() const{ return m_secondarySourcesVersionOverride; }
87 inline bool SecondarySourcesVersionOverrideHasBeenSet() const { return m_secondarySourcesVersionOverrideHasBeenSet; }
88 inline void SetSecondarySourcesVersionOverride(const Aws::Vector<ProjectSourceVersion>& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride = value; }
89 inline void SetSecondarySourcesVersionOverride(Aws::Vector<ProjectSourceVersion>&& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride = std::move(value); }
92 inline StartBuildBatchRequest& AddSecondarySourcesVersionOverride(const ProjectSourceVersion& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride.push_back(value); return *this; }
93 inline StartBuildBatchRequest& AddSecondarySourcesVersionOverride(ProjectSourceVersion&& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride.push_back(std::move(value)); return *this; }
95
97
118 inline const Aws::String& GetSourceVersion() const{ return m_sourceVersion; }
119 inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; }
120 inline void SetSourceVersion(const Aws::String& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = value; }
121 inline void SetSourceVersion(Aws::String&& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = std::move(value); }
122 inline void SetSourceVersion(const char* value) { m_sourceVersionHasBeenSet = true; m_sourceVersion.assign(value); }
123 inline StartBuildBatchRequest& WithSourceVersion(const Aws::String& value) { SetSourceVersion(value); return *this;}
124 inline StartBuildBatchRequest& WithSourceVersion(Aws::String&& value) { SetSourceVersion(std::move(value)); return *this;}
125 inline StartBuildBatchRequest& WithSourceVersion(const char* value) { SetSourceVersion(value); return *this;}
127
129
133 inline const ProjectArtifacts& GetArtifactsOverride() const{ return m_artifactsOverride; }
134 inline bool ArtifactsOverrideHasBeenSet() const { return m_artifactsOverrideHasBeenSet; }
135 inline void SetArtifactsOverride(const ProjectArtifacts& value) { m_artifactsOverrideHasBeenSet = true; m_artifactsOverride = value; }
136 inline void SetArtifactsOverride(ProjectArtifacts&& value) { m_artifactsOverrideHasBeenSet = true; m_artifactsOverride = std::move(value); }
138 inline StartBuildBatchRequest& WithArtifactsOverride(ProjectArtifacts&& value) { SetArtifactsOverride(std::move(value)); return *this;}
140
142
146 inline const Aws::Vector<ProjectArtifacts>& GetSecondaryArtifactsOverride() const{ return m_secondaryArtifactsOverride; }
147 inline bool SecondaryArtifactsOverrideHasBeenSet() const { return m_secondaryArtifactsOverrideHasBeenSet; }
148 inline void SetSecondaryArtifactsOverride(const Aws::Vector<ProjectArtifacts>& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride = value; }
149 inline void SetSecondaryArtifactsOverride(Aws::Vector<ProjectArtifacts>&& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride = std::move(value); }
152 inline StartBuildBatchRequest& AddSecondaryArtifactsOverride(const ProjectArtifacts& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride.push_back(value); return *this; }
153 inline StartBuildBatchRequest& AddSecondaryArtifactsOverride(ProjectArtifacts&& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride.push_back(std::move(value)); return *this; }
155
157
161 inline const Aws::Vector<EnvironmentVariable>& GetEnvironmentVariablesOverride() const{ return m_environmentVariablesOverride; }
162 inline bool EnvironmentVariablesOverrideHasBeenSet() const { return m_environmentVariablesOverrideHasBeenSet; }
163 inline void SetEnvironmentVariablesOverride(const Aws::Vector<EnvironmentVariable>& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride = value; }
164 inline void SetEnvironmentVariablesOverride(Aws::Vector<EnvironmentVariable>&& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride = std::move(value); }
167 inline StartBuildBatchRequest& AddEnvironmentVariablesOverride(const EnvironmentVariable& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride.push_back(value); return *this; }
168 inline StartBuildBatchRequest& AddEnvironmentVariablesOverride(EnvironmentVariable&& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride.push_back(std::move(value)); return *this; }
170
172
176 inline const SourceType& GetSourceTypeOverride() const{ return m_sourceTypeOverride; }
177 inline bool SourceTypeOverrideHasBeenSet() const { return m_sourceTypeOverrideHasBeenSet; }
178 inline void SetSourceTypeOverride(const SourceType& value) { m_sourceTypeOverrideHasBeenSet = true; m_sourceTypeOverride = value; }
179 inline void SetSourceTypeOverride(SourceType&& value) { m_sourceTypeOverrideHasBeenSet = true; m_sourceTypeOverride = std::move(value); }
181 inline StartBuildBatchRequest& WithSourceTypeOverride(SourceType&& value) { SetSourceTypeOverride(std::move(value)); return *this;}
183
185
189 inline const Aws::String& GetSourceLocationOverride() const{ return m_sourceLocationOverride; }
190 inline bool SourceLocationOverrideHasBeenSet() const { return m_sourceLocationOverrideHasBeenSet; }
191 inline void SetSourceLocationOverride(const Aws::String& value) { m_sourceLocationOverrideHasBeenSet = true; m_sourceLocationOverride = value; }
192 inline void SetSourceLocationOverride(Aws::String&& value) { m_sourceLocationOverrideHasBeenSet = true; m_sourceLocationOverride = std::move(value); }
193 inline void SetSourceLocationOverride(const char* value) { m_sourceLocationOverrideHasBeenSet = true; m_sourceLocationOverride.assign(value); }
196 inline StartBuildBatchRequest& WithSourceLocationOverride(const char* value) { SetSourceLocationOverride(value); return *this;}
198
200
205 inline const SourceAuth& GetSourceAuthOverride() const{ return m_sourceAuthOverride; }
206 inline bool SourceAuthOverrideHasBeenSet() const { return m_sourceAuthOverrideHasBeenSet; }
207 inline void SetSourceAuthOverride(const SourceAuth& value) { m_sourceAuthOverrideHasBeenSet = true; m_sourceAuthOverride = value; }
208 inline void SetSourceAuthOverride(SourceAuth&& value) { m_sourceAuthOverrideHasBeenSet = true; m_sourceAuthOverride = std::move(value); }
210 inline StartBuildBatchRequest& WithSourceAuthOverride(SourceAuth&& value) { SetSourceAuthOverride(std::move(value)); return *this;}
212
214
219 inline int GetGitCloneDepthOverride() const{ return m_gitCloneDepthOverride; }
220 inline bool GitCloneDepthOverrideHasBeenSet() const { return m_gitCloneDepthOverrideHasBeenSet; }
221 inline void SetGitCloneDepthOverride(int value) { m_gitCloneDepthOverrideHasBeenSet = true; m_gitCloneDepthOverride = value; }
224
226
230 inline const GitSubmodulesConfig& GetGitSubmodulesConfigOverride() const{ return m_gitSubmodulesConfigOverride; }
231 inline bool GitSubmodulesConfigOverrideHasBeenSet() const { return m_gitSubmodulesConfigOverrideHasBeenSet; }
232 inline void SetGitSubmodulesConfigOverride(const GitSubmodulesConfig& value) { m_gitSubmodulesConfigOverrideHasBeenSet = true; m_gitSubmodulesConfigOverride = value; }
233 inline void SetGitSubmodulesConfigOverride(GitSubmodulesConfig&& value) { m_gitSubmodulesConfigOverrideHasBeenSet = true; m_gitSubmodulesConfigOverride = std::move(value); }
237
239
252 inline const Aws::String& GetBuildspecOverride() const{ return m_buildspecOverride; }
253 inline bool BuildspecOverrideHasBeenSet() const { return m_buildspecOverrideHasBeenSet; }
254 inline void SetBuildspecOverride(const Aws::String& value) { m_buildspecOverrideHasBeenSet = true; m_buildspecOverride = value; }
255 inline void SetBuildspecOverride(Aws::String&& value) { m_buildspecOverrideHasBeenSet = true; m_buildspecOverride = std::move(value); }
256 inline void SetBuildspecOverride(const char* value) { m_buildspecOverrideHasBeenSet = true; m_buildspecOverride.assign(value); }
258 inline StartBuildBatchRequest& WithBuildspecOverride(Aws::String&& value) { SetBuildspecOverride(std::move(value)); return *this;}
259 inline StartBuildBatchRequest& WithBuildspecOverride(const char* value) { SetBuildspecOverride(value); return *this;}
261
263
269 inline bool GetInsecureSslOverride() const{ return m_insecureSslOverride; }
270 inline bool InsecureSslOverrideHasBeenSet() const { return m_insecureSslOverrideHasBeenSet; }
271 inline void SetInsecureSslOverride(bool value) { m_insecureSslOverrideHasBeenSet = true; m_insecureSslOverride = value; }
272 inline StartBuildBatchRequest& WithInsecureSslOverride(bool value) { SetInsecureSslOverride(value); return *this;}
274
276
284 inline bool GetReportBuildBatchStatusOverride() const{ return m_reportBuildBatchStatusOverride; }
285 inline bool ReportBuildBatchStatusOverrideHasBeenSet() const { return m_reportBuildBatchStatusOverrideHasBeenSet; }
286 inline void SetReportBuildBatchStatusOverride(bool value) { m_reportBuildBatchStatusOverrideHasBeenSet = true; m_reportBuildBatchStatusOverride = value; }
289
291
295 inline const EnvironmentType& GetEnvironmentTypeOverride() const{ return m_environmentTypeOverride; }
296 inline bool EnvironmentTypeOverrideHasBeenSet() const { return m_environmentTypeOverrideHasBeenSet; }
297 inline void SetEnvironmentTypeOverride(const EnvironmentType& value) { m_environmentTypeOverrideHasBeenSet = true; m_environmentTypeOverride = value; }
298 inline void SetEnvironmentTypeOverride(EnvironmentType&& value) { m_environmentTypeOverrideHasBeenSet = true; m_environmentTypeOverride = std::move(value); }
302
304
308 inline const Aws::String& GetImageOverride() const{ return m_imageOverride; }
309 inline bool ImageOverrideHasBeenSet() const { return m_imageOverrideHasBeenSet; }
310 inline void SetImageOverride(const Aws::String& value) { m_imageOverrideHasBeenSet = true; m_imageOverride = value; }
311 inline void SetImageOverride(Aws::String&& value) { m_imageOverrideHasBeenSet = true; m_imageOverride = std::move(value); }
312 inline void SetImageOverride(const char* value) { m_imageOverrideHasBeenSet = true; m_imageOverride.assign(value); }
313 inline StartBuildBatchRequest& WithImageOverride(const Aws::String& value) { SetImageOverride(value); return *this;}
314 inline StartBuildBatchRequest& WithImageOverride(Aws::String&& value) { SetImageOverride(std::move(value)); return *this;}
315 inline StartBuildBatchRequest& WithImageOverride(const char* value) { SetImageOverride(value); return *this;}
317
319
323 inline const ComputeType& GetComputeTypeOverride() const{ return m_computeTypeOverride; }
324 inline bool ComputeTypeOverrideHasBeenSet() const { return m_computeTypeOverrideHasBeenSet; }
325 inline void SetComputeTypeOverride(const ComputeType& value) { m_computeTypeOverrideHasBeenSet = true; m_computeTypeOverride = value; }
326 inline void SetComputeTypeOverride(ComputeType&& value) { m_computeTypeOverrideHasBeenSet = true; m_computeTypeOverride = std::move(value); }
328 inline StartBuildBatchRequest& WithComputeTypeOverride(ComputeType&& value) { SetComputeTypeOverride(std::move(value)); return *this;}
330
332
336 inline const Aws::String& GetCertificateOverride() const{ return m_certificateOverride; }
337 inline bool CertificateOverrideHasBeenSet() const { return m_certificateOverrideHasBeenSet; }
338 inline void SetCertificateOverride(const Aws::String& value) { m_certificateOverrideHasBeenSet = true; m_certificateOverride = value; }
339 inline void SetCertificateOverride(Aws::String&& value) { m_certificateOverrideHasBeenSet = true; m_certificateOverride = std::move(value); }
340 inline void SetCertificateOverride(const char* value) { m_certificateOverrideHasBeenSet = true; m_certificateOverride.assign(value); }
342 inline StartBuildBatchRequest& WithCertificateOverride(Aws::String&& value) { SetCertificateOverride(std::move(value)); return *this;}
343 inline StartBuildBatchRequest& WithCertificateOverride(const char* value) { SetCertificateOverride(value); return *this;}
345
347
350 inline const ProjectCache& GetCacheOverride() const{ return m_cacheOverride; }
351 inline bool CacheOverrideHasBeenSet() const { return m_cacheOverrideHasBeenSet; }
352 inline void SetCacheOverride(const ProjectCache& value) { m_cacheOverrideHasBeenSet = true; m_cacheOverride = value; }
353 inline void SetCacheOverride(ProjectCache&& value) { m_cacheOverrideHasBeenSet = true; m_cacheOverride = std::move(value); }
354 inline StartBuildBatchRequest& WithCacheOverride(const ProjectCache& value) { SetCacheOverride(value); return *this;}
355 inline StartBuildBatchRequest& WithCacheOverride(ProjectCache&& value) { SetCacheOverride(std::move(value)); return *this;}
357
359
363 inline const Aws::String& GetServiceRoleOverride() const{ return m_serviceRoleOverride; }
364 inline bool ServiceRoleOverrideHasBeenSet() const { return m_serviceRoleOverrideHasBeenSet; }
365 inline void SetServiceRoleOverride(const Aws::String& value) { m_serviceRoleOverrideHasBeenSet = true; m_serviceRoleOverride = value; }
366 inline void SetServiceRoleOverride(Aws::String&& value) { m_serviceRoleOverrideHasBeenSet = true; m_serviceRoleOverride = std::move(value); }
367 inline void SetServiceRoleOverride(const char* value) { m_serviceRoleOverrideHasBeenSet = true; m_serviceRoleOverride.assign(value); }
369 inline StartBuildBatchRequest& WithServiceRoleOverride(Aws::String&& value) { SetServiceRoleOverride(std::move(value)); return *this;}
370 inline StartBuildBatchRequest& WithServiceRoleOverride(const char* value) { SetServiceRoleOverride(value); return *this;}
372
374
377 inline bool GetPrivilegedModeOverride() const{ return m_privilegedModeOverride; }
378 inline bool PrivilegedModeOverrideHasBeenSet() const { return m_privilegedModeOverrideHasBeenSet; }
379 inline void SetPrivilegedModeOverride(bool value) { m_privilegedModeOverrideHasBeenSet = true; m_privilegedModeOverride = value; }
382
384
387 inline int GetBuildTimeoutInMinutesOverride() const{ return m_buildTimeoutInMinutesOverride; }
388 inline bool BuildTimeoutInMinutesOverrideHasBeenSet() const { return m_buildTimeoutInMinutesOverrideHasBeenSet; }
389 inline void SetBuildTimeoutInMinutesOverride(int value) { m_buildTimeoutInMinutesOverrideHasBeenSet = true; m_buildTimeoutInMinutesOverride = value; }
392
394
398 inline int GetQueuedTimeoutInMinutesOverride() const{ return m_queuedTimeoutInMinutesOverride; }
399 inline bool QueuedTimeoutInMinutesOverrideHasBeenSet() const { return m_queuedTimeoutInMinutesOverrideHasBeenSet; }
400 inline void SetQueuedTimeoutInMinutesOverride(int value) { m_queuedTimeoutInMinutesOverrideHasBeenSet = true; m_queuedTimeoutInMinutesOverride = value; }
403
405
414 inline const Aws::String& GetEncryptionKeyOverride() const{ return m_encryptionKeyOverride; }
415 inline bool EncryptionKeyOverrideHasBeenSet() const { return m_encryptionKeyOverrideHasBeenSet; }
416 inline void SetEncryptionKeyOverride(const Aws::String& value) { m_encryptionKeyOverrideHasBeenSet = true; m_encryptionKeyOverride = value; }
417 inline void SetEncryptionKeyOverride(Aws::String&& value) { m_encryptionKeyOverrideHasBeenSet = true; m_encryptionKeyOverride = std::move(value); }
418 inline void SetEncryptionKeyOverride(const char* value) { m_encryptionKeyOverrideHasBeenSet = true; m_encryptionKeyOverride.assign(value); }
421 inline StartBuildBatchRequest& WithEncryptionKeyOverride(const char* value) { SetEncryptionKeyOverride(value); return *this;}
423
425
432 inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
433 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
434 inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
435 inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
436 inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
437 inline StartBuildBatchRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
438 inline StartBuildBatchRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
439 inline StartBuildBatchRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
441
443
447 inline const LogsConfig& GetLogsConfigOverride() const{ return m_logsConfigOverride; }
448 inline bool LogsConfigOverrideHasBeenSet() const { return m_logsConfigOverrideHasBeenSet; }
449 inline void SetLogsConfigOverride(const LogsConfig& value) { m_logsConfigOverrideHasBeenSet = true; m_logsConfigOverride = value; }
450 inline void SetLogsConfigOverride(LogsConfig&& value) { m_logsConfigOverrideHasBeenSet = true; m_logsConfigOverride = std::move(value); }
452 inline StartBuildBatchRequest& WithLogsConfigOverride(LogsConfig&& value) { SetLogsConfigOverride(std::move(value)); return *this;}
454
456
460 inline const RegistryCredential& GetRegistryCredentialOverride() const{ return m_registryCredentialOverride; }
461 inline bool RegistryCredentialOverrideHasBeenSet() const { return m_registryCredentialOverrideHasBeenSet; }
462 inline void SetRegistryCredentialOverride(const RegistryCredential& value) { m_registryCredentialOverrideHasBeenSet = true; m_registryCredentialOverride = value; }
463 inline void SetRegistryCredentialOverride(RegistryCredential&& value) { m_registryCredentialOverrideHasBeenSet = true; m_registryCredentialOverride = std::move(value); }
467
469
479 inline const ImagePullCredentialsType& GetImagePullCredentialsTypeOverride() const{ return m_imagePullCredentialsTypeOverride; }
480 inline bool ImagePullCredentialsTypeOverrideHasBeenSet() const { return m_imagePullCredentialsTypeOverrideHasBeenSet; }
481 inline void SetImagePullCredentialsTypeOverride(const ImagePullCredentialsType& value) { m_imagePullCredentialsTypeOverrideHasBeenSet = true; m_imagePullCredentialsTypeOverride = value; }
482 inline void SetImagePullCredentialsTypeOverride(ImagePullCredentialsType&& value) { m_imagePullCredentialsTypeOverrideHasBeenSet = true; m_imagePullCredentialsTypeOverride = std::move(value); }
486
488
492 inline const ProjectBuildBatchConfig& GetBuildBatchConfigOverride() const{ return m_buildBatchConfigOverride; }
493 inline bool BuildBatchConfigOverrideHasBeenSet() const { return m_buildBatchConfigOverrideHasBeenSet; }
494 inline void SetBuildBatchConfigOverride(const ProjectBuildBatchConfig& value) { m_buildBatchConfigOverrideHasBeenSet = true; m_buildBatchConfigOverride = value; }
495 inline void SetBuildBatchConfigOverride(ProjectBuildBatchConfig&& value) { m_buildBatchConfigOverrideHasBeenSet = true; m_buildBatchConfigOverride = std::move(value); }
499
501
508 inline bool GetDebugSessionEnabled() const{ return m_debugSessionEnabled; }
509 inline bool DebugSessionEnabledHasBeenSet() const { return m_debugSessionEnabledHasBeenSet; }
510 inline void SetDebugSessionEnabled(bool value) { m_debugSessionEnabledHasBeenSet = true; m_debugSessionEnabled = value; }
511 inline StartBuildBatchRequest& WithDebugSessionEnabled(bool value) { SetDebugSessionEnabled(value); return *this;}
513 private:
514
515 Aws::String m_projectName;
516 bool m_projectNameHasBeenSet = false;
517
518 Aws::Vector<ProjectSource> m_secondarySourcesOverride;
519 bool m_secondarySourcesOverrideHasBeenSet = false;
520
521 Aws::Vector<ProjectSourceVersion> m_secondarySourcesVersionOverride;
522 bool m_secondarySourcesVersionOverrideHasBeenSet = false;
523
524 Aws::String m_sourceVersion;
525 bool m_sourceVersionHasBeenSet = false;
526
527 ProjectArtifacts m_artifactsOverride;
528 bool m_artifactsOverrideHasBeenSet = false;
529
530 Aws::Vector<ProjectArtifacts> m_secondaryArtifactsOverride;
531 bool m_secondaryArtifactsOverrideHasBeenSet = false;
532
533 Aws::Vector<EnvironmentVariable> m_environmentVariablesOverride;
534 bool m_environmentVariablesOverrideHasBeenSet = false;
535
536 SourceType m_sourceTypeOverride;
537 bool m_sourceTypeOverrideHasBeenSet = false;
538
539 Aws::String m_sourceLocationOverride;
540 bool m_sourceLocationOverrideHasBeenSet = false;
541
542 SourceAuth m_sourceAuthOverride;
543 bool m_sourceAuthOverrideHasBeenSet = false;
544
545 int m_gitCloneDepthOverride;
546 bool m_gitCloneDepthOverrideHasBeenSet = false;
547
548 GitSubmodulesConfig m_gitSubmodulesConfigOverride;
549 bool m_gitSubmodulesConfigOverrideHasBeenSet = false;
550
551 Aws::String m_buildspecOverride;
552 bool m_buildspecOverrideHasBeenSet = false;
553
554 bool m_insecureSslOverride;
555 bool m_insecureSslOverrideHasBeenSet = false;
556
557 bool m_reportBuildBatchStatusOverride;
558 bool m_reportBuildBatchStatusOverrideHasBeenSet = false;
559
560 EnvironmentType m_environmentTypeOverride;
561 bool m_environmentTypeOverrideHasBeenSet = false;
562
563 Aws::String m_imageOverride;
564 bool m_imageOverrideHasBeenSet = false;
565
566 ComputeType m_computeTypeOverride;
567 bool m_computeTypeOverrideHasBeenSet = false;
568
569 Aws::String m_certificateOverride;
570 bool m_certificateOverrideHasBeenSet = false;
571
572 ProjectCache m_cacheOverride;
573 bool m_cacheOverrideHasBeenSet = false;
574
575 Aws::String m_serviceRoleOverride;
576 bool m_serviceRoleOverrideHasBeenSet = false;
577
578 bool m_privilegedModeOverride;
579 bool m_privilegedModeOverrideHasBeenSet = false;
580
581 int m_buildTimeoutInMinutesOverride;
582 bool m_buildTimeoutInMinutesOverrideHasBeenSet = false;
583
584 int m_queuedTimeoutInMinutesOverride;
585 bool m_queuedTimeoutInMinutesOverrideHasBeenSet = false;
586
587 Aws::String m_encryptionKeyOverride;
588 bool m_encryptionKeyOverrideHasBeenSet = false;
589
590 Aws::String m_idempotencyToken;
591 bool m_idempotencyTokenHasBeenSet = false;
592
593 LogsConfig m_logsConfigOverride;
594 bool m_logsConfigOverrideHasBeenSet = false;
595
596 RegistryCredential m_registryCredentialOverride;
597 bool m_registryCredentialOverrideHasBeenSet = false;
598
599 ImagePullCredentialsType m_imagePullCredentialsTypeOverride;
600 bool m_imagePullCredentialsTypeOverrideHasBeenSet = false;
601
602 ProjectBuildBatchConfig m_buildBatchConfigOverride;
603 bool m_buildBatchConfigOverrideHasBeenSet = false;
604
605 bool m_debugSessionEnabled;
606 bool m_debugSessionEnabledHasBeenSet = false;
607 };
608
609} // namespace Model
610} // namespace CodeBuild
611} // namespace Aws
StartBuildBatchRequest & WithLogsConfigOverride(const LogsConfig &value)
StartBuildBatchRequest & WithBuildTimeoutInMinutesOverride(int value)
StartBuildBatchRequest & WithCacheOverride(ProjectCache &&value)
StartBuildBatchRequest & AddSecondaryArtifactsOverride(ProjectArtifacts &&value)
StartBuildBatchRequest & WithProjectName(const Aws::String &value)
StartBuildBatchRequest & WithSecondarySourcesVersionOverride(Aws::Vector< ProjectSourceVersion > &&value)
StartBuildBatchRequest & AddEnvironmentVariablesOverride(EnvironmentVariable &&value)
StartBuildBatchRequest & WithIdempotencyToken(const char *value)
void SetSourceLocationOverride(const Aws::String &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)
StartBuildBatchRequest & WithCertificateOverride(const char *value)
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)
StartBuildBatchRequest & WithImagePullCredentialsTypeOverride(ImagePullCredentialsType &&value)
StartBuildBatchRequest & AddSecondarySourcesOverride(ProjectSource &&value)
void SetSecondarySourcesVersionOverride(const Aws::Vector< ProjectSourceVersion > &value)
StartBuildBatchRequest & WithDebugSessionEnabled(bool value)
StartBuildBatchRequest & WithGitSubmodulesConfigOverride(GitSubmodulesConfig &&value)
StartBuildBatchRequest & WithSecondarySourcesVersionOverride(const Aws::Vector< ProjectSourceVersion > &value)
const GitSubmodulesConfig & GetGitSubmodulesConfigOverride() const
StartBuildBatchRequest & WithEnvironmentVariablesOverride(const Aws::Vector< EnvironmentVariable > &value)
StartBuildBatchRequest & WithComputeTypeOverride(ComputeType &&value)
StartBuildBatchRequest & WithBuildspecOverride(const char *value)
void SetSecondarySourcesOverride(const Aws::Vector< ProjectSource > &value)
StartBuildBatchRequest & WithQueuedTimeoutInMinutesOverride(int value)
StartBuildBatchRequest & WithIdempotencyToken(Aws::String &&value)
StartBuildBatchRequest & WithSourceAuthOverride(SourceAuth &&value)
StartBuildBatchRequest & WithServiceRoleOverride(Aws::String &&value)
const RegistryCredential & GetRegistryCredentialOverride() const
StartBuildBatchRequest & WithIdempotencyToken(const Aws::String &value)
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)
StartBuildBatchRequest & WithLogsConfigOverride(LogsConfig &&value)
StartBuildBatchRequest & WithCertificateOverride(const Aws::String &value)
StartBuildBatchRequest & WithRegistryCredentialOverride(const RegistryCredential &value)
void SetImagePullCredentialsTypeOverride(const ImagePullCredentialsType &value)
StartBuildBatchRequest & AddSecondarySourcesVersionOverride(const ProjectSourceVersion &value)
void SetSecondarySourcesOverride(Aws::Vector< ProjectSource > &&value)
StartBuildBatchRequest & WithSourceVersion(Aws::String &&value)
StartBuildBatchRequest & WithProjectName(const char *value)
void SetBuildBatchConfigOverride(const ProjectBuildBatchConfig &value)
StartBuildBatchRequest & WithSourceTypeOverride(SourceType &&value)
StartBuildBatchRequest & WithCacheOverride(const ProjectCache &value)
void SetEnvironmentVariablesOverride(const Aws::Vector< EnvironmentVariable > &value)
StartBuildBatchRequest & WithSecondaryArtifactsOverride(const Aws::Vector< ProjectArtifacts > &value)
StartBuildBatchRequest & WithServiceRoleOverride(const Aws::String &value)
StartBuildBatchRequest & WithSourceTypeOverride(const SourceType &value)
void SetSecondarySourcesVersionOverride(Aws::Vector< ProjectSourceVersion > &&value)
void SetEnvironmentVariablesOverride(Aws::Vector< EnvironmentVariable > &&value)
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::Vector< ProjectSourceVersion > & GetSecondarySourcesVersionOverride() const
StartBuildBatchRequest & WithGitCloneDepthOverride(int value)
StartBuildBatchRequest & WithImageOverride(const char *value)
const ProjectArtifacts & GetArtifactsOverride() const
void SetBuildBatchConfigOverride(ProjectBuildBatchConfig &&value)
StartBuildBatchRequest & WithEncryptionKeyOverride(const 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 SetImagePullCredentialsTypeOverride(ImagePullCredentialsType &&value)
StartBuildBatchRequest & WithBuildBatchConfigOverride(const ProjectBuildBatchConfig &value)
const ProjectBuildBatchConfig & GetBuildBatchConfigOverride() const
StartBuildBatchRequest & WithArtifactsOverride(const ProjectArtifacts &value)
StartBuildBatchRequest & WithEncryptionKeyOverride(const char *value)
StartBuildBatchRequest & WithSourceAuthOverride(const SourceAuth &value)
const Aws::Vector< ProjectArtifacts > & GetSecondaryArtifactsOverride() const
StartBuildBatchRequest & WithImageOverride(Aws::String &&value)
StartBuildBatchRequest & WithPrivilegedModeOverride(bool value)
StartBuildBatchRequest & WithSecondarySourcesOverride(const Aws::Vector< ProjectSource > &value)
StartBuildBatchRequest & WithBuildspecOverride(const Aws::String &value)
StartBuildBatchRequest & WithInsecureSslOverride(bool value)
StartBuildBatchRequest & WithBuildspecOverride(Aws::String &&value)
StartBuildBatchRequest & WithSourceLocationOverride(const char *value)
void SetRegistryCredentialOverride(RegistryCredential &&value)
StartBuildBatchRequest & WithGitSubmodulesConfigOverride(const GitSubmodulesConfig &value)
StartBuildBatchRequest & WithRegistryCredentialOverride(RegistryCredential &&value)
void SetGitSubmodulesConfigOverride(GitSubmodulesConfig &&value)
StartBuildBatchRequest & WithImagePullCredentialsTypeOverride(const ImagePullCredentialsType &value)
StartBuildBatchRequest & AddSecondarySourcesOverride(const ProjectSource &value)
StartBuildBatchRequest & WithSourceLocationOverride(const Aws::String &value)
void SetEnvironmentTypeOverride(const EnvironmentType &value)
StartBuildBatchRequest & WithSourceLocationOverride(Aws::String &&value)
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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