AWS SDK for C++

AWS SDK for C++ Version 1.11.637

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() = default;
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 template<typename ProjectNameT = Aws::String>
60 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
61 template<typename ProjectNameT = Aws::String>
62 StartBuildRequest& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
64
66
69 inline const Aws::Vector<ProjectSource>& GetSecondarySourcesOverride() const { return m_secondarySourcesOverride; }
70 inline bool SecondarySourcesOverrideHasBeenSet() const { return m_secondarySourcesOverrideHasBeenSet; }
71 template<typename SecondarySourcesOverrideT = Aws::Vector<ProjectSource>>
72 void SetSecondarySourcesOverride(SecondarySourcesOverrideT&& value) { m_secondarySourcesOverrideHasBeenSet = true; m_secondarySourcesOverride = std::forward<SecondarySourcesOverrideT>(value); }
73 template<typename SecondarySourcesOverrideT = Aws::Vector<ProjectSource>>
74 StartBuildRequest& WithSecondarySourcesOverride(SecondarySourcesOverrideT&& value) { SetSecondarySourcesOverride(std::forward<SecondarySourcesOverrideT>(value)); return *this;}
75 template<typename SecondarySourcesOverrideT = ProjectSource>
76 StartBuildRequest& AddSecondarySourcesOverride(SecondarySourcesOverrideT&& value) { m_secondarySourcesOverrideHasBeenSet = true; m_secondarySourcesOverride.emplace_back(std::forward<SecondarySourcesOverrideT>(value)); return *this; }
78
80
85 inline const Aws::Vector<ProjectSourceVersion>& GetSecondarySourcesVersionOverride() const { return m_secondarySourcesVersionOverride; }
86 inline bool SecondarySourcesVersionOverrideHasBeenSet() const { return m_secondarySourcesVersionOverrideHasBeenSet; }
87 template<typename SecondarySourcesVersionOverrideT = Aws::Vector<ProjectSourceVersion>>
88 void SetSecondarySourcesVersionOverride(SecondarySourcesVersionOverrideT&& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride = std::forward<SecondarySourcesVersionOverrideT>(value); }
89 template<typename SecondarySourcesVersionOverrideT = Aws::Vector<ProjectSourceVersion>>
90 StartBuildRequest& WithSecondarySourcesVersionOverride(SecondarySourcesVersionOverrideT&& value) { SetSecondarySourcesVersionOverride(std::forward<SecondarySourcesVersionOverrideT>(value)); return *this;}
91 template<typename SecondarySourcesVersionOverrideT = ProjectSourceVersion>
92 StartBuildRequest& AddSecondarySourcesVersionOverride(SecondarySourcesVersionOverrideT&& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride.emplace_back(std::forward<SecondarySourcesVersionOverrideT>(value)); return *this; }
94
96
118 inline const Aws::String& GetSourceVersion() const { return m_sourceVersion; }
119 inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; }
120 template<typename SourceVersionT = Aws::String>
121 void SetSourceVersion(SourceVersionT&& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = std::forward<SourceVersionT>(value); }
122 template<typename SourceVersionT = Aws::String>
123 StartBuildRequest& WithSourceVersion(SourceVersionT&& value) { SetSourceVersion(std::forward<SourceVersionT>(value)); return *this;}
125
127
131 inline const ProjectArtifacts& GetArtifactsOverride() const { return m_artifactsOverride; }
132 inline bool ArtifactsOverrideHasBeenSet() const { return m_artifactsOverrideHasBeenSet; }
133 template<typename ArtifactsOverrideT = ProjectArtifacts>
134 void SetArtifactsOverride(ArtifactsOverrideT&& value) { m_artifactsOverrideHasBeenSet = true; m_artifactsOverride = std::forward<ArtifactsOverrideT>(value); }
135 template<typename ArtifactsOverrideT = ProjectArtifacts>
136 StartBuildRequest& WithArtifactsOverride(ArtifactsOverrideT&& value) { SetArtifactsOverride(std::forward<ArtifactsOverrideT>(value)); return *this;}
138
140
143 inline const Aws::Vector<ProjectArtifacts>& GetSecondaryArtifactsOverride() const { return m_secondaryArtifactsOverride; }
144 inline bool SecondaryArtifactsOverrideHasBeenSet() const { return m_secondaryArtifactsOverrideHasBeenSet; }
145 template<typename SecondaryArtifactsOverrideT = Aws::Vector<ProjectArtifacts>>
146 void SetSecondaryArtifactsOverride(SecondaryArtifactsOverrideT&& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride = std::forward<SecondaryArtifactsOverrideT>(value); }
147 template<typename SecondaryArtifactsOverrideT = Aws::Vector<ProjectArtifacts>>
148 StartBuildRequest& WithSecondaryArtifactsOverride(SecondaryArtifactsOverrideT&& value) { SetSecondaryArtifactsOverride(std::forward<SecondaryArtifactsOverrideT>(value)); return *this;}
149 template<typename SecondaryArtifactsOverrideT = ProjectArtifacts>
150 StartBuildRequest& AddSecondaryArtifactsOverride(SecondaryArtifactsOverrideT&& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride.emplace_back(std::forward<SecondaryArtifactsOverrideT>(value)); return *this; }
152
154
158 inline const Aws::Vector<EnvironmentVariable>& GetEnvironmentVariablesOverride() const { return m_environmentVariablesOverride; }
159 inline bool EnvironmentVariablesOverrideHasBeenSet() const { return m_environmentVariablesOverrideHasBeenSet; }
160 template<typename EnvironmentVariablesOverrideT = Aws::Vector<EnvironmentVariable>>
161 void SetEnvironmentVariablesOverride(EnvironmentVariablesOverrideT&& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride = std::forward<EnvironmentVariablesOverrideT>(value); }
162 template<typename EnvironmentVariablesOverrideT = Aws::Vector<EnvironmentVariable>>
163 StartBuildRequest& WithEnvironmentVariablesOverride(EnvironmentVariablesOverrideT&& value) { SetEnvironmentVariablesOverride(std::forward<EnvironmentVariablesOverrideT>(value)); return *this;}
164 template<typename EnvironmentVariablesOverrideT = EnvironmentVariable>
165 StartBuildRequest& AddEnvironmentVariablesOverride(EnvironmentVariablesOverrideT&& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride.emplace_back(std::forward<EnvironmentVariablesOverrideT>(value)); return *this; }
167
169
173 inline SourceType GetSourceTypeOverride() const { return m_sourceTypeOverride; }
174 inline bool SourceTypeOverrideHasBeenSet() const { return m_sourceTypeOverrideHasBeenSet; }
175 inline void SetSourceTypeOverride(SourceType value) { m_sourceTypeOverrideHasBeenSet = true; m_sourceTypeOverride = value; }
178
180
184 inline const Aws::String& GetSourceLocationOverride() const { return m_sourceLocationOverride; }
185 inline bool SourceLocationOverrideHasBeenSet() const { return m_sourceLocationOverrideHasBeenSet; }
186 template<typename SourceLocationOverrideT = Aws::String>
187 void SetSourceLocationOverride(SourceLocationOverrideT&& value) { m_sourceLocationOverrideHasBeenSet = true; m_sourceLocationOverride = std::forward<SourceLocationOverrideT>(value); }
188 template<typename SourceLocationOverrideT = Aws::String>
189 StartBuildRequest& WithSourceLocationOverride(SourceLocationOverrideT&& value) { SetSourceLocationOverride(std::forward<SourceLocationOverrideT>(value)); return *this;}
191
193
198 inline const SourceAuth& GetSourceAuthOverride() const { return m_sourceAuthOverride; }
199 inline bool SourceAuthOverrideHasBeenSet() const { return m_sourceAuthOverrideHasBeenSet; }
200 template<typename SourceAuthOverrideT = SourceAuth>
201 void SetSourceAuthOverride(SourceAuthOverrideT&& value) { m_sourceAuthOverrideHasBeenSet = true; m_sourceAuthOverride = std::forward<SourceAuthOverrideT>(value); }
202 template<typename SourceAuthOverrideT = SourceAuth>
203 StartBuildRequest& WithSourceAuthOverride(SourceAuthOverrideT&& value) { SetSourceAuthOverride(std::forward<SourceAuthOverrideT>(value)); return *this;}
205
207
212 inline int GetGitCloneDepthOverride() const { return m_gitCloneDepthOverride; }
213 inline bool GitCloneDepthOverrideHasBeenSet() const { return m_gitCloneDepthOverrideHasBeenSet; }
214 inline void SetGitCloneDepthOverride(int value) { m_gitCloneDepthOverrideHasBeenSet = true; m_gitCloneDepthOverride = value; }
215 inline StartBuildRequest& WithGitCloneDepthOverride(int value) { SetGitCloneDepthOverride(value); return *this;}
217
219
223 inline const GitSubmodulesConfig& GetGitSubmodulesConfigOverride() const { return m_gitSubmodulesConfigOverride; }
224 inline bool GitSubmodulesConfigOverrideHasBeenSet() const { return m_gitSubmodulesConfigOverrideHasBeenSet; }
225 template<typename GitSubmodulesConfigOverrideT = GitSubmodulesConfig>
226 void SetGitSubmodulesConfigOverride(GitSubmodulesConfigOverrideT&& value) { m_gitSubmodulesConfigOverrideHasBeenSet = true; m_gitSubmodulesConfigOverride = std::forward<GitSubmodulesConfigOverrideT>(value); }
227 template<typename GitSubmodulesConfigOverrideT = GitSubmodulesConfig>
228 StartBuildRequest& WithGitSubmodulesConfigOverride(GitSubmodulesConfigOverrideT&& value) { SetGitSubmodulesConfigOverride(std::forward<GitSubmodulesConfigOverrideT>(value)); return *this;}
230
232
254 inline const Aws::String& GetBuildspecOverride() const { return m_buildspecOverride; }
255 inline bool BuildspecOverrideHasBeenSet() const { return m_buildspecOverrideHasBeenSet; }
256 template<typename BuildspecOverrideT = Aws::String>
257 void SetBuildspecOverride(BuildspecOverrideT&& value) { m_buildspecOverrideHasBeenSet = true; m_buildspecOverride = std::forward<BuildspecOverrideT>(value); }
258 template<typename BuildspecOverrideT = Aws::String>
259 StartBuildRequest& WithBuildspecOverride(BuildspecOverrideT&& value) { SetBuildspecOverride(std::forward<BuildspecOverrideT>(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 StartBuildRequest& WithInsecureSslOverride(bool value) { SetInsecureSslOverride(value); return *this;}
274
276
289 inline bool GetReportBuildStatusOverride() const { return m_reportBuildStatusOverride; }
290 inline bool ReportBuildStatusOverrideHasBeenSet() const { return m_reportBuildStatusOverrideHasBeenSet; }
291 inline void SetReportBuildStatusOverride(bool value) { m_reportBuildStatusOverrideHasBeenSet = true; m_reportBuildStatusOverride = value; }
294
296
302 inline const BuildStatusConfig& GetBuildStatusConfigOverride() const { return m_buildStatusConfigOverride; }
303 inline bool BuildStatusConfigOverrideHasBeenSet() const { return m_buildStatusConfigOverrideHasBeenSet; }
304 template<typename BuildStatusConfigOverrideT = BuildStatusConfig>
305 void SetBuildStatusConfigOverride(BuildStatusConfigOverrideT&& value) { m_buildStatusConfigOverrideHasBeenSet = true; m_buildStatusConfigOverride = std::forward<BuildStatusConfigOverrideT>(value); }
306 template<typename BuildStatusConfigOverrideT = BuildStatusConfig>
307 StartBuildRequest& WithBuildStatusConfigOverride(BuildStatusConfigOverrideT&& value) { SetBuildStatusConfigOverride(std::forward<BuildStatusConfigOverrideT>(value)); return *this;}
309
311
315 inline EnvironmentType GetEnvironmentTypeOverride() const { return m_environmentTypeOverride; }
316 inline bool EnvironmentTypeOverrideHasBeenSet() const { return m_environmentTypeOverrideHasBeenSet; }
317 inline void SetEnvironmentTypeOverride(EnvironmentType value) { m_environmentTypeOverrideHasBeenSet = true; m_environmentTypeOverride = value; }
320
322
326 inline const Aws::String& GetImageOverride() const { return m_imageOverride; }
327 inline bool ImageOverrideHasBeenSet() const { return m_imageOverrideHasBeenSet; }
328 template<typename ImageOverrideT = Aws::String>
329 void SetImageOverride(ImageOverrideT&& value) { m_imageOverrideHasBeenSet = true; m_imageOverride = std::forward<ImageOverrideT>(value); }
330 template<typename ImageOverrideT = Aws::String>
331 StartBuildRequest& WithImageOverride(ImageOverrideT&& value) { SetImageOverride(std::forward<ImageOverrideT>(value)); return *this;}
333
335
339 inline ComputeType GetComputeTypeOverride() const { return m_computeTypeOverride; }
340 inline bool ComputeTypeOverrideHasBeenSet() const { return m_computeTypeOverrideHasBeenSet; }
341 inline void SetComputeTypeOverride(ComputeType value) { m_computeTypeOverrideHasBeenSet = true; m_computeTypeOverride = value; }
344
346
350 inline const Aws::String& GetCertificateOverride() const { return m_certificateOverride; }
351 inline bool CertificateOverrideHasBeenSet() const { return m_certificateOverrideHasBeenSet; }
352 template<typename CertificateOverrideT = Aws::String>
353 void SetCertificateOverride(CertificateOverrideT&& value) { m_certificateOverrideHasBeenSet = true; m_certificateOverride = std::forward<CertificateOverrideT>(value); }
354 template<typename CertificateOverrideT = Aws::String>
355 StartBuildRequest& WithCertificateOverride(CertificateOverrideT&& value) { SetCertificateOverride(std::forward<CertificateOverrideT>(value)); return *this;}
357
359
363 inline const ProjectCache& GetCacheOverride() const { return m_cacheOverride; }
364 inline bool CacheOverrideHasBeenSet() const { return m_cacheOverrideHasBeenSet; }
365 template<typename CacheOverrideT = ProjectCache>
366 void SetCacheOverride(CacheOverrideT&& value) { m_cacheOverrideHasBeenSet = true; m_cacheOverride = std::forward<CacheOverrideT>(value); }
367 template<typename CacheOverrideT = ProjectCache>
368 StartBuildRequest& WithCacheOverride(CacheOverrideT&& value) { SetCacheOverride(std::forward<CacheOverrideT>(value)); return *this;}
370
372
376 inline const Aws::String& GetServiceRoleOverride() const { return m_serviceRoleOverride; }
377 inline bool ServiceRoleOverrideHasBeenSet() const { return m_serviceRoleOverrideHasBeenSet; }
378 template<typename ServiceRoleOverrideT = Aws::String>
379 void SetServiceRoleOverride(ServiceRoleOverrideT&& value) { m_serviceRoleOverrideHasBeenSet = true; m_serviceRoleOverride = std::forward<ServiceRoleOverrideT>(value); }
380 template<typename ServiceRoleOverrideT = Aws::String>
381 StartBuildRequest& WithServiceRoleOverride(ServiceRoleOverrideT&& value) { SetServiceRoleOverride(std::forward<ServiceRoleOverrideT>(value)); return *this;}
383
385
388 inline bool GetPrivilegedModeOverride() const { return m_privilegedModeOverride; }
389 inline bool PrivilegedModeOverrideHasBeenSet() const { return m_privilegedModeOverrideHasBeenSet; }
390 inline void SetPrivilegedModeOverride(bool value) { m_privilegedModeOverrideHasBeenSet = true; m_privilegedModeOverride = value; }
391 inline StartBuildRequest& WithPrivilegedModeOverride(bool value) { SetPrivilegedModeOverride(value); return *this;}
393
395
400 inline int GetTimeoutInMinutesOverride() const { return m_timeoutInMinutesOverride; }
401 inline bool TimeoutInMinutesOverrideHasBeenSet() const { return m_timeoutInMinutesOverrideHasBeenSet; }
402 inline void SetTimeoutInMinutesOverride(int value) { m_timeoutInMinutesOverrideHasBeenSet = true; m_timeoutInMinutesOverride = value; }
405
407
411 inline int GetQueuedTimeoutInMinutesOverride() const { return m_queuedTimeoutInMinutesOverride; }
412 inline bool QueuedTimeoutInMinutesOverrideHasBeenSet() const { return m_queuedTimeoutInMinutesOverrideHasBeenSet; }
413 inline void SetQueuedTimeoutInMinutesOverride(int value) { m_queuedTimeoutInMinutesOverrideHasBeenSet = true; m_queuedTimeoutInMinutesOverride = value; }
416
418
427 inline const Aws::String& GetEncryptionKeyOverride() const { return m_encryptionKeyOverride; }
428 inline bool EncryptionKeyOverrideHasBeenSet() const { return m_encryptionKeyOverrideHasBeenSet; }
429 template<typename EncryptionKeyOverrideT = Aws::String>
430 void SetEncryptionKeyOverride(EncryptionKeyOverrideT&& value) { m_encryptionKeyOverrideHasBeenSet = true; m_encryptionKeyOverride = std::forward<EncryptionKeyOverrideT>(value); }
431 template<typename EncryptionKeyOverrideT = Aws::String>
432 StartBuildRequest& WithEncryptionKeyOverride(EncryptionKeyOverrideT&& value) { SetEncryptionKeyOverride(std::forward<EncryptionKeyOverrideT>(value)); return *this;}
434
436
442 inline const Aws::String& GetIdempotencyToken() const { return m_idempotencyToken; }
443 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
444 template<typename IdempotencyTokenT = Aws::String>
445 void SetIdempotencyToken(IdempotencyTokenT&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::forward<IdempotencyTokenT>(value); }
446 template<typename IdempotencyTokenT = Aws::String>
447 StartBuildRequest& WithIdempotencyToken(IdempotencyTokenT&& value) { SetIdempotencyToken(std::forward<IdempotencyTokenT>(value)); return *this;}
449
451
455 inline const LogsConfig& GetLogsConfigOverride() const { return m_logsConfigOverride; }
456 inline bool LogsConfigOverrideHasBeenSet() const { return m_logsConfigOverrideHasBeenSet; }
457 template<typename LogsConfigOverrideT = LogsConfig>
458 void SetLogsConfigOverride(LogsConfigOverrideT&& value) { m_logsConfigOverrideHasBeenSet = true; m_logsConfigOverride = std::forward<LogsConfigOverrideT>(value); }
459 template<typename LogsConfigOverrideT = LogsConfig>
460 StartBuildRequest& WithLogsConfigOverride(LogsConfigOverrideT&& value) { SetLogsConfigOverride(std::forward<LogsConfigOverrideT>(value)); return *this;}
462
464
467 inline const RegistryCredential& GetRegistryCredentialOverride() const { return m_registryCredentialOverride; }
468 inline bool RegistryCredentialOverrideHasBeenSet() const { return m_registryCredentialOverrideHasBeenSet; }
469 template<typename RegistryCredentialOverrideT = RegistryCredential>
470 void SetRegistryCredentialOverride(RegistryCredentialOverrideT&& value) { m_registryCredentialOverrideHasBeenSet = true; m_registryCredentialOverride = std::forward<RegistryCredentialOverrideT>(value); }
471 template<typename RegistryCredentialOverrideT = RegistryCredential>
472 StartBuildRequest& WithRegistryCredentialOverride(RegistryCredentialOverrideT&& value) { SetRegistryCredentialOverride(std::forward<RegistryCredentialOverrideT>(value)); return *this;}
474
476
486 inline ImagePullCredentialsType GetImagePullCredentialsTypeOverride() const { return m_imagePullCredentialsTypeOverride; }
487 inline bool ImagePullCredentialsTypeOverrideHasBeenSet() const { return m_imagePullCredentialsTypeOverrideHasBeenSet; }
488 inline void SetImagePullCredentialsTypeOverride(ImagePullCredentialsType value) { m_imagePullCredentialsTypeOverrideHasBeenSet = true; m_imagePullCredentialsTypeOverride = value; }
491
493
499 inline bool GetDebugSessionEnabled() const { return m_debugSessionEnabled; }
500 inline bool DebugSessionEnabledHasBeenSet() const { return m_debugSessionEnabledHasBeenSet; }
501 inline void SetDebugSessionEnabled(bool value) { m_debugSessionEnabledHasBeenSet = true; m_debugSessionEnabled = value; }
502 inline StartBuildRequest& WithDebugSessionEnabled(bool value) { SetDebugSessionEnabled(value); return *this;}
504
506
510 inline const ProjectFleet& GetFleetOverride() const { return m_fleetOverride; }
511 inline bool FleetOverrideHasBeenSet() const { return m_fleetOverrideHasBeenSet; }
512 template<typename FleetOverrideT = ProjectFleet>
513 void SetFleetOverride(FleetOverrideT&& value) { m_fleetOverrideHasBeenSet = true; m_fleetOverride = std::forward<FleetOverrideT>(value); }
514 template<typename FleetOverrideT = ProjectFleet>
515 StartBuildRequest& WithFleetOverride(FleetOverrideT&& value) { SetFleetOverride(std::forward<FleetOverrideT>(value)); return *this;}
517
519
525 inline int GetAutoRetryLimitOverride() const { return m_autoRetryLimitOverride; }
526 inline bool AutoRetryLimitOverrideHasBeenSet() const { return m_autoRetryLimitOverrideHasBeenSet; }
527 inline void SetAutoRetryLimitOverride(int value) { m_autoRetryLimitOverrideHasBeenSet = true; m_autoRetryLimitOverride = value; }
530 private:
531
532 Aws::String m_projectName;
533 bool m_projectNameHasBeenSet = false;
534
535 Aws::Vector<ProjectSource> m_secondarySourcesOverride;
536 bool m_secondarySourcesOverrideHasBeenSet = false;
537
538 Aws::Vector<ProjectSourceVersion> m_secondarySourcesVersionOverride;
539 bool m_secondarySourcesVersionOverrideHasBeenSet = false;
540
541 Aws::String m_sourceVersion;
542 bool m_sourceVersionHasBeenSet = false;
543
544 ProjectArtifacts m_artifactsOverride;
545 bool m_artifactsOverrideHasBeenSet = false;
546
547 Aws::Vector<ProjectArtifacts> m_secondaryArtifactsOverride;
548 bool m_secondaryArtifactsOverrideHasBeenSet = false;
549
550 Aws::Vector<EnvironmentVariable> m_environmentVariablesOverride;
551 bool m_environmentVariablesOverrideHasBeenSet = false;
552
553 SourceType m_sourceTypeOverride{SourceType::NOT_SET};
554 bool m_sourceTypeOverrideHasBeenSet = false;
555
556 Aws::String m_sourceLocationOverride;
557 bool m_sourceLocationOverrideHasBeenSet = false;
558
559 SourceAuth m_sourceAuthOverride;
560 bool m_sourceAuthOverrideHasBeenSet = false;
561
562 int m_gitCloneDepthOverride{0};
563 bool m_gitCloneDepthOverrideHasBeenSet = false;
564
565 GitSubmodulesConfig m_gitSubmodulesConfigOverride;
566 bool m_gitSubmodulesConfigOverrideHasBeenSet = false;
567
568 Aws::String m_buildspecOverride;
569 bool m_buildspecOverrideHasBeenSet = false;
570
571 bool m_insecureSslOverride{false};
572 bool m_insecureSslOverrideHasBeenSet = false;
573
574 bool m_reportBuildStatusOverride{false};
575 bool m_reportBuildStatusOverrideHasBeenSet = false;
576
577 BuildStatusConfig m_buildStatusConfigOverride;
578 bool m_buildStatusConfigOverrideHasBeenSet = false;
579
580 EnvironmentType m_environmentTypeOverride{EnvironmentType::NOT_SET};
581 bool m_environmentTypeOverrideHasBeenSet = false;
582
583 Aws::String m_imageOverride;
584 bool m_imageOverrideHasBeenSet = false;
585
586 ComputeType m_computeTypeOverride{ComputeType::NOT_SET};
587 bool m_computeTypeOverrideHasBeenSet = false;
588
589 Aws::String m_certificateOverride;
590 bool m_certificateOverrideHasBeenSet = false;
591
592 ProjectCache m_cacheOverride;
593 bool m_cacheOverrideHasBeenSet = false;
594
595 Aws::String m_serviceRoleOverride;
596 bool m_serviceRoleOverrideHasBeenSet = false;
597
598 bool m_privilegedModeOverride{false};
599 bool m_privilegedModeOverrideHasBeenSet = false;
600
601 int m_timeoutInMinutesOverride{0};
602 bool m_timeoutInMinutesOverrideHasBeenSet = false;
603
604 int m_queuedTimeoutInMinutesOverride{0};
605 bool m_queuedTimeoutInMinutesOverrideHasBeenSet = false;
606
607 Aws::String m_encryptionKeyOverride;
608 bool m_encryptionKeyOverrideHasBeenSet = false;
609
610 Aws::String m_idempotencyToken;
611 bool m_idempotencyTokenHasBeenSet = false;
612
613 LogsConfig m_logsConfigOverride;
614 bool m_logsConfigOverrideHasBeenSet = false;
615
616 RegistryCredential m_registryCredentialOverride;
617 bool m_registryCredentialOverrideHasBeenSet = false;
618
619 ImagePullCredentialsType m_imagePullCredentialsTypeOverride{ImagePullCredentialsType::NOT_SET};
620 bool m_imagePullCredentialsTypeOverrideHasBeenSet = false;
621
622 bool m_debugSessionEnabled{false};
623 bool m_debugSessionEnabledHasBeenSet = false;
624
625 ProjectFleet m_fleetOverride;
626 bool m_fleetOverrideHasBeenSet = false;
627
628 int m_autoRetryLimitOverride{0};
629 bool m_autoRetryLimitOverrideHasBeenSet = false;
630 };
631
632} // namespace Model
633} // namespace CodeBuild
634} // namespace Aws
void SetEncryptionKeyOverride(EncryptionKeyOverrideT &&value)
StartBuildRequest & WithSecondarySourcesVersionOverride(SecondarySourcesVersionOverrideT &&value)
void SetImageOverride(ImageOverrideT &&value)
const Aws::String & GetServiceRoleOverride() const
StartBuildRequest & WithRegistryCredentialOverride(RegistryCredentialOverrideT &&value)
StartBuildRequest & WithInsecureSslOverride(bool value)
const ProjectArtifacts & GetArtifactsOverride() const
void SetSourceAuthOverride(SourceAuthOverrideT &&value)
StartBuildRequest & WithReportBuildStatusOverride(bool value)
AWS_CODEBUILD_API StartBuildRequest()=default
const Aws::String & GetCertificateOverride() const
StartBuildRequest & WithServiceRoleOverride(ServiceRoleOverrideT &&value)
EnvironmentType GetEnvironmentTypeOverride() const
StartBuildRequest & WithFleetOverride(FleetOverrideT &&value)
StartBuildRequest & WithBuildspecOverride(BuildspecOverrideT &&value)
StartBuildRequest & WithArtifactsOverride(ArtifactsOverrideT &&value)
StartBuildRequest & AddSecondaryArtifactsOverride(SecondaryArtifactsOverrideT &&value)
void SetGitSubmodulesConfigOverride(GitSubmodulesConfigOverrideT &&value)
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourcesVersionOverride() const
void SetRegistryCredentialOverride(RegistryCredentialOverrideT &&value)
void SetServiceRoleOverride(ServiceRoleOverrideT &&value)
StartBuildRequest & WithSourceAuthOverride(SourceAuthOverrideT &&value)
virtual const char * GetServiceRequestName() const override
const ProjectFleet & GetFleetOverride() const
void SetEnvironmentTypeOverride(EnvironmentType value)
void SetSecondarySourcesVersionOverride(SecondarySourcesVersionOverrideT &&value)
StartBuildRequest & WithEnvironmentVariablesOverride(EnvironmentVariablesOverrideT &&value)
StartBuildRequest & WithIdempotencyToken(IdempotencyTokenT &&value)
StartBuildRequest & WithBuildStatusConfigOverride(BuildStatusConfigOverrideT &&value)
const Aws::String & GetProjectName() const
StartBuildRequest & WithSourceTypeOverride(SourceType value)
const GitSubmodulesConfig & GetGitSubmodulesConfigOverride() const
const Aws::Vector< ProjectSource > & GetSecondarySourcesOverride() const
const Aws::String & GetEncryptionKeyOverride() const
const Aws::String & GetBuildspecOverride() const
StartBuildRequest & AddEnvironmentVariablesOverride(EnvironmentVariablesOverrideT &&value)
void SetCertificateOverride(CertificateOverrideT &&value)
void SetBuildStatusConfigOverride(BuildStatusConfigOverrideT &&value)
StartBuildRequest & WithTimeoutInMinutesOverride(int value)
const Aws::String & GetSourceVersion() const
const Aws::Vector< EnvironmentVariable > & GetEnvironmentVariablesOverride() const
void SetSourceLocationOverride(SourceLocationOverrideT &&value)
StartBuildRequest & WithGitSubmodulesConfigOverride(GitSubmodulesConfigOverrideT &&value)
StartBuildRequest & WithDebugSessionEnabled(bool value)
StartBuildRequest & WithImagePullCredentialsTypeOverride(ImagePullCredentialsType value)
StartBuildRequest & WithProjectName(ProjectNameT &&value)
ImagePullCredentialsType GetImagePullCredentialsTypeOverride() const
StartBuildRequest & WithSecondarySourcesOverride(SecondarySourcesOverrideT &&value)
const Aws::String & GetSourceLocationOverride() const
const Aws::Vector< ProjectArtifacts > & GetSecondaryArtifactsOverride() const
void SetLogsConfigOverride(LogsConfigOverrideT &&value)
StartBuildRequest & WithQueuedTimeoutInMinutesOverride(int value)
StartBuildRequest & WithCacheOverride(CacheOverrideT &&value)
const BuildStatusConfig & GetBuildStatusConfigOverride() const
StartBuildRequest & WithSourceVersion(SourceVersionT &&value)
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const RegistryCredential & GetRegistryCredentialOverride() const
const SourceAuth & GetSourceAuthOverride() const
void SetProjectName(ProjectNameT &&value)
StartBuildRequest & AddSecondarySourcesOverride(SecondarySourcesOverrideT &&value)
const LogsConfig & GetLogsConfigOverride() const
StartBuildRequest & WithEnvironmentTypeOverride(EnvironmentType value)
void SetImagePullCredentialsTypeOverride(ImagePullCredentialsType value)
void SetIdempotencyToken(IdempotencyTokenT &&value)
StartBuildRequest & WithCertificateOverride(CertificateOverrideT &&value)
StartBuildRequest & WithGitCloneDepthOverride(int value)
void SetSecondaryArtifactsOverride(SecondaryArtifactsOverrideT &&value)
StartBuildRequest & WithSourceLocationOverride(SourceLocationOverrideT &&value)
const Aws::String & GetIdempotencyToken() const
AWS_CODEBUILD_API Aws::String SerializePayload() const override
StartBuildRequest & WithPrivilegedModeOverride(bool value)
const Aws::String & GetImageOverride() const
void SetSecondarySourcesOverride(SecondarySourcesOverrideT &&value)
StartBuildRequest & WithSecondaryArtifactsOverride(SecondaryArtifactsOverrideT &&value)
StartBuildRequest & WithEncryptionKeyOverride(EncryptionKeyOverrideT &&value)
StartBuildRequest & WithImageOverride(ImageOverrideT &&value)
StartBuildRequest & WithLogsConfigOverride(LogsConfigOverrideT &&value)
StartBuildRequest & WithAutoRetryLimitOverride(int value)
void SetBuildspecOverride(BuildspecOverrideT &&value)
void SetEnvironmentVariablesOverride(EnvironmentVariablesOverrideT &&value)
void SetCacheOverride(CacheOverrideT &&value)
void SetFleetOverride(FleetOverrideT &&value)
const ProjectCache & GetCacheOverride() const
StartBuildRequest & WithComputeTypeOverride(ComputeType value)
void SetArtifactsOverride(ArtifactsOverrideT &&value)
StartBuildRequest & AddSecondarySourcesVersionOverride(SecondarySourcesVersionOverrideT &&value)
void SetSourceVersion(SourceVersionT &&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