AWS SDK for C++  1.8.71
AWS SDK for C++
StartBuildRequest.h
Go to the documentation of this file.
1 
6 #pragma once
25 #include <utility>
26 
27 namespace Aws
28 {
29 namespace CodeBuild
30 {
31 namespace Model
32 {
33 
37  {
38  public:
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 "StartBuild"; }
46 
47  Aws::String SerializePayload() const override;
48 
49  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
50 
51 
55  inline const Aws::String& GetProjectName() const{ return m_projectName; }
56 
60  inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
61 
65  inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
66 
70  inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
71 
75  inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
76 
80  inline StartBuildRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
81 
85  inline StartBuildRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
86 
90  inline StartBuildRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
91 
92 
96  inline const Aws::Vector<ProjectSource>& GetSecondarySourcesOverride() const{ return m_secondarySourcesOverride; }
97 
101  inline bool SecondarySourcesOverrideHasBeenSet() const { return m_secondarySourcesOverrideHasBeenSet; }
102 
106  inline void SetSecondarySourcesOverride(const Aws::Vector<ProjectSource>& value) { m_secondarySourcesOverrideHasBeenSet = true; m_secondarySourcesOverride = value; }
107 
111  inline void SetSecondarySourcesOverride(Aws::Vector<ProjectSource>&& value) { m_secondarySourcesOverrideHasBeenSet = true; m_secondarySourcesOverride = std::move(value); }
112 
116  inline StartBuildRequest& WithSecondarySourcesOverride(const Aws::Vector<ProjectSource>& value) { SetSecondarySourcesOverride(value); return *this;}
117 
121  inline StartBuildRequest& WithSecondarySourcesOverride(Aws::Vector<ProjectSource>&& value) { SetSecondarySourcesOverride(std::move(value)); return *this;}
122 
126  inline StartBuildRequest& AddSecondarySourcesOverride(const ProjectSource& value) { m_secondarySourcesOverrideHasBeenSet = true; m_secondarySourcesOverride.push_back(value); return *this; }
127 
131  inline StartBuildRequest& AddSecondarySourcesOverride(ProjectSource&& value) { m_secondarySourcesOverrideHasBeenSet = true; m_secondarySourcesOverride.push_back(std::move(value)); return *this; }
132 
133 
139  inline const Aws::Vector<ProjectSourceVersion>& GetSecondarySourcesVersionOverride() const{ return m_secondarySourcesVersionOverride; }
140 
146  inline bool SecondarySourcesVersionOverrideHasBeenSet() const { return m_secondarySourcesVersionOverrideHasBeenSet; }
147 
153  inline void SetSecondarySourcesVersionOverride(const Aws::Vector<ProjectSourceVersion>& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride = value; }
154 
160  inline void SetSecondarySourcesVersionOverride(Aws::Vector<ProjectSourceVersion>&& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride = std::move(value); }
161 
167  inline StartBuildRequest& WithSecondarySourcesVersionOverride(const Aws::Vector<ProjectSourceVersion>& value) { SetSecondarySourcesVersionOverride(value); return *this;}
168 
174  inline StartBuildRequest& WithSecondarySourcesVersionOverride(Aws::Vector<ProjectSourceVersion>&& value) { SetSecondarySourcesVersionOverride(std::move(value)); return *this;}
175 
181  inline StartBuildRequest& AddSecondarySourcesVersionOverride(const ProjectSourceVersion& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride.push_back(value); return *this; }
182 
188  inline StartBuildRequest& AddSecondarySourcesVersionOverride(ProjectSourceVersion&& value) { m_secondarySourcesVersionOverrideHasBeenSet = true; m_secondarySourcesVersionOverride.push_back(std::move(value)); return *this; }
189 
190 
212  inline const Aws::String& GetSourceVersion() const{ return m_sourceVersion; }
213 
235  inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; }
236 
258  inline void SetSourceVersion(const Aws::String& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = value; }
259 
281  inline void SetSourceVersion(Aws::String&& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = std::move(value); }
282 
304  inline void SetSourceVersion(const char* value) { m_sourceVersionHasBeenSet = true; m_sourceVersion.assign(value); }
305 
327  inline StartBuildRequest& WithSourceVersion(const Aws::String& value) { SetSourceVersion(value); return *this;}
328 
350  inline StartBuildRequest& WithSourceVersion(Aws::String&& value) { SetSourceVersion(std::move(value)); return *this;}
351 
373  inline StartBuildRequest& WithSourceVersion(const char* value) { SetSourceVersion(value); return *this;}
374 
375 
380  inline const ProjectArtifacts& GetArtifactsOverride() const{ return m_artifactsOverride; }
381 
386  inline bool ArtifactsOverrideHasBeenSet() const { return m_artifactsOverrideHasBeenSet; }
387 
392  inline void SetArtifactsOverride(const ProjectArtifacts& value) { m_artifactsOverrideHasBeenSet = true; m_artifactsOverride = value; }
393 
398  inline void SetArtifactsOverride(ProjectArtifacts&& value) { m_artifactsOverrideHasBeenSet = true; m_artifactsOverride = std::move(value); }
399 
404  inline StartBuildRequest& WithArtifactsOverride(const ProjectArtifacts& value) { SetArtifactsOverride(value); return *this;}
405 
410  inline StartBuildRequest& WithArtifactsOverride(ProjectArtifacts&& value) { SetArtifactsOverride(std::move(value)); return *this;}
411 
412 
416  inline const Aws::Vector<ProjectArtifacts>& GetSecondaryArtifactsOverride() const{ return m_secondaryArtifactsOverride; }
417 
421  inline bool SecondaryArtifactsOverrideHasBeenSet() const { return m_secondaryArtifactsOverrideHasBeenSet; }
422 
426  inline void SetSecondaryArtifactsOverride(const Aws::Vector<ProjectArtifacts>& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride = value; }
427 
431  inline void SetSecondaryArtifactsOverride(Aws::Vector<ProjectArtifacts>&& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride = std::move(value); }
432 
436  inline StartBuildRequest& WithSecondaryArtifactsOverride(const Aws::Vector<ProjectArtifacts>& value) { SetSecondaryArtifactsOverride(value); return *this;}
437 
441  inline StartBuildRequest& WithSecondaryArtifactsOverride(Aws::Vector<ProjectArtifacts>&& value) { SetSecondaryArtifactsOverride(std::move(value)); return *this;}
442 
446  inline StartBuildRequest& AddSecondaryArtifactsOverride(const ProjectArtifacts& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride.push_back(value); return *this; }
447 
451  inline StartBuildRequest& AddSecondaryArtifactsOverride(ProjectArtifacts&& value) { m_secondaryArtifactsOverrideHasBeenSet = true; m_secondaryArtifactsOverride.push_back(std::move(value)); return *this; }
452 
453 
458  inline const Aws::Vector<EnvironmentVariable>& GetEnvironmentVariablesOverride() const{ return m_environmentVariablesOverride; }
459 
464  inline bool EnvironmentVariablesOverrideHasBeenSet() const { return m_environmentVariablesOverrideHasBeenSet; }
465 
470  inline void SetEnvironmentVariablesOverride(const Aws::Vector<EnvironmentVariable>& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride = value; }
471 
476  inline void SetEnvironmentVariablesOverride(Aws::Vector<EnvironmentVariable>&& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride = std::move(value); }
477 
482  inline StartBuildRequest& WithEnvironmentVariablesOverride(const Aws::Vector<EnvironmentVariable>& value) { SetEnvironmentVariablesOverride(value); return *this;}
483 
488  inline StartBuildRequest& WithEnvironmentVariablesOverride(Aws::Vector<EnvironmentVariable>&& value) { SetEnvironmentVariablesOverride(std::move(value)); return *this;}
489 
494  inline StartBuildRequest& AddEnvironmentVariablesOverride(const EnvironmentVariable& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride.push_back(value); return *this; }
495 
500  inline StartBuildRequest& AddEnvironmentVariablesOverride(EnvironmentVariable&& value) { m_environmentVariablesOverrideHasBeenSet = true; m_environmentVariablesOverride.push_back(std::move(value)); return *this; }
501 
502 
507  inline const SourceType& GetSourceTypeOverride() const{ return m_sourceTypeOverride; }
508 
513  inline bool SourceTypeOverrideHasBeenSet() const { return m_sourceTypeOverrideHasBeenSet; }
514 
519  inline void SetSourceTypeOverride(const SourceType& value) { m_sourceTypeOverrideHasBeenSet = true; m_sourceTypeOverride = value; }
520 
525  inline void SetSourceTypeOverride(SourceType&& value) { m_sourceTypeOverrideHasBeenSet = true; m_sourceTypeOverride = std::move(value); }
526 
531  inline StartBuildRequest& WithSourceTypeOverride(const SourceType& value) { SetSourceTypeOverride(value); return *this;}
532 
537  inline StartBuildRequest& WithSourceTypeOverride(SourceType&& value) { SetSourceTypeOverride(std::move(value)); return *this;}
538 
539 
544  inline const Aws::String& GetSourceLocationOverride() const{ return m_sourceLocationOverride; }
545 
550  inline bool SourceLocationOverrideHasBeenSet() const { return m_sourceLocationOverrideHasBeenSet; }
551 
556  inline void SetSourceLocationOverride(const Aws::String& value) { m_sourceLocationOverrideHasBeenSet = true; m_sourceLocationOverride = value; }
557 
562  inline void SetSourceLocationOverride(Aws::String&& value) { m_sourceLocationOverrideHasBeenSet = true; m_sourceLocationOverride = std::move(value); }
563 
568  inline void SetSourceLocationOverride(const char* value) { m_sourceLocationOverrideHasBeenSet = true; m_sourceLocationOverride.assign(value); }
569 
574  inline StartBuildRequest& WithSourceLocationOverride(const Aws::String& value) { SetSourceLocationOverride(value); return *this;}
575 
580  inline StartBuildRequest& WithSourceLocationOverride(Aws::String&& value) { SetSourceLocationOverride(std::move(value)); return *this;}
581 
586  inline StartBuildRequest& WithSourceLocationOverride(const char* value) { SetSourceLocationOverride(value); return *this;}
587 
588 
594  inline const SourceAuth& GetSourceAuthOverride() const{ return m_sourceAuthOverride; }
595 
601  inline bool SourceAuthOverrideHasBeenSet() const { return m_sourceAuthOverrideHasBeenSet; }
602 
608  inline void SetSourceAuthOverride(const SourceAuth& value) { m_sourceAuthOverrideHasBeenSet = true; m_sourceAuthOverride = value; }
609 
615  inline void SetSourceAuthOverride(SourceAuth&& value) { m_sourceAuthOverrideHasBeenSet = true; m_sourceAuthOverride = std::move(value); }
616 
622  inline StartBuildRequest& WithSourceAuthOverride(const SourceAuth& value) { SetSourceAuthOverride(value); return *this;}
623 
629  inline StartBuildRequest& WithSourceAuthOverride(SourceAuth&& value) { SetSourceAuthOverride(std::move(value)); return *this;}
630 
631 
637  inline int GetGitCloneDepthOverride() const{ return m_gitCloneDepthOverride; }
638 
644  inline bool GitCloneDepthOverrideHasBeenSet() const { return m_gitCloneDepthOverrideHasBeenSet; }
645 
651  inline void SetGitCloneDepthOverride(int value) { m_gitCloneDepthOverrideHasBeenSet = true; m_gitCloneDepthOverride = value; }
652 
658  inline StartBuildRequest& WithGitCloneDepthOverride(int value) { SetGitCloneDepthOverride(value); return *this;}
659 
660 
665  inline const GitSubmodulesConfig& GetGitSubmodulesConfigOverride() const{ return m_gitSubmodulesConfigOverride; }
666 
671  inline bool GitSubmodulesConfigOverrideHasBeenSet() const { return m_gitSubmodulesConfigOverrideHasBeenSet; }
672 
677  inline void SetGitSubmodulesConfigOverride(const GitSubmodulesConfig& value) { m_gitSubmodulesConfigOverrideHasBeenSet = true; m_gitSubmodulesConfigOverride = value; }
678 
683  inline void SetGitSubmodulesConfigOverride(GitSubmodulesConfig&& value) { m_gitSubmodulesConfigOverrideHasBeenSet = true; m_gitSubmodulesConfigOverride = std::move(value); }
684 
689  inline StartBuildRequest& WithGitSubmodulesConfigOverride(const GitSubmodulesConfig& value) { SetGitSubmodulesConfigOverride(value); return *this;}
690 
695  inline StartBuildRequest& WithGitSubmodulesConfigOverride(GitSubmodulesConfig&& value) { SetGitSubmodulesConfigOverride(std::move(value)); return *this;}
696 
697 
711  inline const Aws::String& GetBuildspecOverride() const{ return m_buildspecOverride; }
712 
726  inline bool BuildspecOverrideHasBeenSet() const { return m_buildspecOverrideHasBeenSet; }
727 
741  inline void SetBuildspecOverride(const Aws::String& value) { m_buildspecOverrideHasBeenSet = true; m_buildspecOverride = value; }
742 
756  inline void SetBuildspecOverride(Aws::String&& value) { m_buildspecOverrideHasBeenSet = true; m_buildspecOverride = std::move(value); }
757 
771  inline void SetBuildspecOverride(const char* value) { m_buildspecOverrideHasBeenSet = true; m_buildspecOverride.assign(value); }
772 
786  inline StartBuildRequest& WithBuildspecOverride(const Aws::String& value) { SetBuildspecOverride(value); return *this;}
787 
801  inline StartBuildRequest& WithBuildspecOverride(Aws::String&& value) { SetBuildspecOverride(std::move(value)); return *this;}
802 
816  inline StartBuildRequest& WithBuildspecOverride(const char* value) { SetBuildspecOverride(value); return *this;}
817 
818 
825  inline bool GetInsecureSslOverride() const{ return m_insecureSslOverride; }
826 
833  inline bool InsecureSslOverrideHasBeenSet() const { return m_insecureSslOverrideHasBeenSet; }
834 
841  inline void SetInsecureSslOverride(bool value) { m_insecureSslOverrideHasBeenSet = true; m_insecureSslOverride = value; }
842 
849  inline StartBuildRequest& WithInsecureSslOverride(bool value) { SetInsecureSslOverride(value); return *this;}
850 
851 
859  inline bool GetReportBuildStatusOverride() const{ return m_reportBuildStatusOverride; }
860 
868  inline bool ReportBuildStatusOverrideHasBeenSet() const { return m_reportBuildStatusOverrideHasBeenSet; }
869 
877  inline void SetReportBuildStatusOverride(bool value) { m_reportBuildStatusOverrideHasBeenSet = true; m_reportBuildStatusOverride = value; }
878 
886  inline StartBuildRequest& WithReportBuildStatusOverride(bool value) { SetReportBuildStatusOverride(value); return *this;}
887 
888 
895  inline const BuildStatusConfig& GetBuildStatusConfigOverride() const{ return m_buildStatusConfigOverride; }
896 
903  inline bool BuildStatusConfigOverrideHasBeenSet() const { return m_buildStatusConfigOverrideHasBeenSet; }
904 
911  inline void SetBuildStatusConfigOverride(const BuildStatusConfig& value) { m_buildStatusConfigOverrideHasBeenSet = true; m_buildStatusConfigOverride = value; }
912 
919  inline void SetBuildStatusConfigOverride(BuildStatusConfig&& value) { m_buildStatusConfigOverrideHasBeenSet = true; m_buildStatusConfigOverride = std::move(value); }
920 
927  inline StartBuildRequest& WithBuildStatusConfigOverride(const BuildStatusConfig& value) { SetBuildStatusConfigOverride(value); return *this;}
928 
935  inline StartBuildRequest& WithBuildStatusConfigOverride(BuildStatusConfig&& value) { SetBuildStatusConfigOverride(std::move(value)); return *this;}
936 
937 
942  inline const EnvironmentType& GetEnvironmentTypeOverride() const{ return m_environmentTypeOverride; }
943 
948  inline bool EnvironmentTypeOverrideHasBeenSet() const { return m_environmentTypeOverrideHasBeenSet; }
949 
954  inline void SetEnvironmentTypeOverride(const EnvironmentType& value) { m_environmentTypeOverrideHasBeenSet = true; m_environmentTypeOverride = value; }
955 
960  inline void SetEnvironmentTypeOverride(EnvironmentType&& value) { m_environmentTypeOverrideHasBeenSet = true; m_environmentTypeOverride = std::move(value); }
961 
966  inline StartBuildRequest& WithEnvironmentTypeOverride(const EnvironmentType& value) { SetEnvironmentTypeOverride(value); return *this;}
967 
972  inline StartBuildRequest& WithEnvironmentTypeOverride(EnvironmentType&& value) { SetEnvironmentTypeOverride(std::move(value)); return *this;}
973 
974 
979  inline const Aws::String& GetImageOverride() const{ return m_imageOverride; }
980 
985  inline bool ImageOverrideHasBeenSet() const { return m_imageOverrideHasBeenSet; }
986 
991  inline void SetImageOverride(const Aws::String& value) { m_imageOverrideHasBeenSet = true; m_imageOverride = value; }
992 
997  inline void SetImageOverride(Aws::String&& value) { m_imageOverrideHasBeenSet = true; m_imageOverride = std::move(value); }
998 
1003  inline void SetImageOverride(const char* value) { m_imageOverrideHasBeenSet = true; m_imageOverride.assign(value); }
1004 
1009  inline StartBuildRequest& WithImageOverride(const Aws::String& value) { SetImageOverride(value); return *this;}
1010 
1015  inline StartBuildRequest& WithImageOverride(Aws::String&& value) { SetImageOverride(std::move(value)); return *this;}
1016 
1021  inline StartBuildRequest& WithImageOverride(const char* value) { SetImageOverride(value); return *this;}
1022 
1023 
1028  inline const ComputeType& GetComputeTypeOverride() const{ return m_computeTypeOverride; }
1029 
1034  inline bool ComputeTypeOverrideHasBeenSet() const { return m_computeTypeOverrideHasBeenSet; }
1035 
1040  inline void SetComputeTypeOverride(const ComputeType& value) { m_computeTypeOverrideHasBeenSet = true; m_computeTypeOverride = value; }
1041 
1046  inline void SetComputeTypeOverride(ComputeType&& value) { m_computeTypeOverrideHasBeenSet = true; m_computeTypeOverride = std::move(value); }
1047 
1052  inline StartBuildRequest& WithComputeTypeOverride(const ComputeType& value) { SetComputeTypeOverride(value); return *this;}
1053 
1058  inline StartBuildRequest& WithComputeTypeOverride(ComputeType&& value) { SetComputeTypeOverride(std::move(value)); return *this;}
1059 
1060 
1065  inline const Aws::String& GetCertificateOverride() const{ return m_certificateOverride; }
1066 
1071  inline bool CertificateOverrideHasBeenSet() const { return m_certificateOverrideHasBeenSet; }
1072 
1077  inline void SetCertificateOverride(const Aws::String& value) { m_certificateOverrideHasBeenSet = true; m_certificateOverride = value; }
1078 
1083  inline void SetCertificateOverride(Aws::String&& value) { m_certificateOverrideHasBeenSet = true; m_certificateOverride = std::move(value); }
1084 
1089  inline void SetCertificateOverride(const char* value) { m_certificateOverrideHasBeenSet = true; m_certificateOverride.assign(value); }
1090 
1095  inline StartBuildRequest& WithCertificateOverride(const Aws::String& value) { SetCertificateOverride(value); return *this;}
1096 
1101  inline StartBuildRequest& WithCertificateOverride(Aws::String&& value) { SetCertificateOverride(std::move(value)); return *this;}
1102 
1107  inline StartBuildRequest& WithCertificateOverride(const char* value) { SetCertificateOverride(value); return *this;}
1108 
1109 
1114  inline const ProjectCache& GetCacheOverride() const{ return m_cacheOverride; }
1115 
1120  inline bool CacheOverrideHasBeenSet() const { return m_cacheOverrideHasBeenSet; }
1121 
1126  inline void SetCacheOverride(const ProjectCache& value) { m_cacheOverrideHasBeenSet = true; m_cacheOverride = value; }
1127 
1132  inline void SetCacheOverride(ProjectCache&& value) { m_cacheOverrideHasBeenSet = true; m_cacheOverride = std::move(value); }
1133 
1138  inline StartBuildRequest& WithCacheOverride(const ProjectCache& value) { SetCacheOverride(value); return *this;}
1139 
1144  inline StartBuildRequest& WithCacheOverride(ProjectCache&& value) { SetCacheOverride(std::move(value)); return *this;}
1145 
1146 
1151  inline const Aws::String& GetServiceRoleOverride() const{ return m_serviceRoleOverride; }
1152 
1157  inline bool ServiceRoleOverrideHasBeenSet() const { return m_serviceRoleOverrideHasBeenSet; }
1158 
1163  inline void SetServiceRoleOverride(const Aws::String& value) { m_serviceRoleOverrideHasBeenSet = true; m_serviceRoleOverride = value; }
1164 
1169  inline void SetServiceRoleOverride(Aws::String&& value) { m_serviceRoleOverrideHasBeenSet = true; m_serviceRoleOverride = std::move(value); }
1170 
1175  inline void SetServiceRoleOverride(const char* value) { m_serviceRoleOverrideHasBeenSet = true; m_serviceRoleOverride.assign(value); }
1176 
1181  inline StartBuildRequest& WithServiceRoleOverride(const Aws::String& value) { SetServiceRoleOverride(value); return *this;}
1182 
1187  inline StartBuildRequest& WithServiceRoleOverride(Aws::String&& value) { SetServiceRoleOverride(std::move(value)); return *this;}
1188 
1193  inline StartBuildRequest& WithServiceRoleOverride(const char* value) { SetServiceRoleOverride(value); return *this;}
1194 
1195 
1199  inline bool GetPrivilegedModeOverride() const{ return m_privilegedModeOverride; }
1200 
1204  inline bool PrivilegedModeOverrideHasBeenSet() const { return m_privilegedModeOverrideHasBeenSet; }
1205 
1209  inline void SetPrivilegedModeOverride(bool value) { m_privilegedModeOverrideHasBeenSet = true; m_privilegedModeOverride = value; }
1210 
1214  inline StartBuildRequest& WithPrivilegedModeOverride(bool value) { SetPrivilegedModeOverride(value); return *this;}
1215 
1216 
1222  inline int GetTimeoutInMinutesOverride() const{ return m_timeoutInMinutesOverride; }
1223 
1229  inline bool TimeoutInMinutesOverrideHasBeenSet() const { return m_timeoutInMinutesOverrideHasBeenSet; }
1230 
1236  inline void SetTimeoutInMinutesOverride(int value) { m_timeoutInMinutesOverrideHasBeenSet = true; m_timeoutInMinutesOverride = value; }
1237 
1243  inline StartBuildRequest& WithTimeoutInMinutesOverride(int value) { SetTimeoutInMinutesOverride(value); return *this;}
1244 
1245 
1250  inline int GetQueuedTimeoutInMinutesOverride() const{ return m_queuedTimeoutInMinutesOverride; }
1251 
1256  inline bool QueuedTimeoutInMinutesOverrideHasBeenSet() const { return m_queuedTimeoutInMinutesOverrideHasBeenSet; }
1257 
1262  inline void SetQueuedTimeoutInMinutesOverride(int value) { m_queuedTimeoutInMinutesOverrideHasBeenSet = true; m_queuedTimeoutInMinutesOverride = value; }
1263 
1268  inline StartBuildRequest& WithQueuedTimeoutInMinutesOverride(int value) { SetQueuedTimeoutInMinutesOverride(value); return *this;}
1269 
1270 
1280  inline const Aws::String& GetEncryptionKeyOverride() const{ return m_encryptionKeyOverride; }
1281 
1291  inline bool EncryptionKeyOverrideHasBeenSet() const { return m_encryptionKeyOverrideHasBeenSet; }
1292 
1302  inline void SetEncryptionKeyOverride(const Aws::String& value) { m_encryptionKeyOverrideHasBeenSet = true; m_encryptionKeyOverride = value; }
1303 
1313  inline void SetEncryptionKeyOverride(Aws::String&& value) { m_encryptionKeyOverrideHasBeenSet = true; m_encryptionKeyOverride = std::move(value); }
1314 
1324  inline void SetEncryptionKeyOverride(const char* value) { m_encryptionKeyOverrideHasBeenSet = true; m_encryptionKeyOverride.assign(value); }
1325 
1335  inline StartBuildRequest& WithEncryptionKeyOverride(const Aws::String& value) { SetEncryptionKeyOverride(value); return *this;}
1336 
1346  inline StartBuildRequest& WithEncryptionKeyOverride(Aws::String&& value) { SetEncryptionKeyOverride(std::move(value)); return *this;}
1347 
1357  inline StartBuildRequest& WithEncryptionKeyOverride(const char* value) { SetEncryptionKeyOverride(value); return *this;}
1358 
1359 
1366  inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
1367 
1374  inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
1375 
1382  inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
1383 
1390  inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
1391 
1398  inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
1399 
1406  inline StartBuildRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
1407 
1414  inline StartBuildRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
1415 
1422  inline StartBuildRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
1423 
1424 
1429  inline const LogsConfig& GetLogsConfigOverride() const{ return m_logsConfigOverride; }
1430 
1435  inline bool LogsConfigOverrideHasBeenSet() const { return m_logsConfigOverrideHasBeenSet; }
1436 
1441  inline void SetLogsConfigOverride(const LogsConfig& value) { m_logsConfigOverrideHasBeenSet = true; m_logsConfigOverride = value; }
1442 
1447  inline void SetLogsConfigOverride(LogsConfig&& value) { m_logsConfigOverrideHasBeenSet = true; m_logsConfigOverride = std::move(value); }
1448 
1453  inline StartBuildRequest& WithLogsConfigOverride(const LogsConfig& value) { SetLogsConfigOverride(value); return *this;}
1454 
1459  inline StartBuildRequest& WithLogsConfigOverride(LogsConfig&& value) { SetLogsConfigOverride(std::move(value)); return *this;}
1460 
1461 
1465  inline const RegistryCredential& GetRegistryCredentialOverride() const{ return m_registryCredentialOverride; }
1466 
1470  inline bool RegistryCredentialOverrideHasBeenSet() const { return m_registryCredentialOverrideHasBeenSet; }
1471 
1475  inline void SetRegistryCredentialOverride(const RegistryCredential& value) { m_registryCredentialOverrideHasBeenSet = true; m_registryCredentialOverride = value; }
1476 
1480  inline void SetRegistryCredentialOverride(RegistryCredential&& value) { m_registryCredentialOverrideHasBeenSet = true; m_registryCredentialOverride = std::move(value); }
1481 
1485  inline StartBuildRequest& WithRegistryCredentialOverride(const RegistryCredential& value) { SetRegistryCredentialOverride(value); return *this;}
1486 
1490  inline StartBuildRequest& WithRegistryCredentialOverride(RegistryCredential&& value) { SetRegistryCredentialOverride(std::move(value)); return *this;}
1491 
1492 
1504  inline const ImagePullCredentialsType& GetImagePullCredentialsTypeOverride() const{ return m_imagePullCredentialsTypeOverride; }
1505 
1517  inline bool ImagePullCredentialsTypeOverrideHasBeenSet() const { return m_imagePullCredentialsTypeOverrideHasBeenSet; }
1518 
1530  inline void SetImagePullCredentialsTypeOverride(const ImagePullCredentialsType& value) { m_imagePullCredentialsTypeOverrideHasBeenSet = true; m_imagePullCredentialsTypeOverride = value; }
1531 
1543  inline void SetImagePullCredentialsTypeOverride(ImagePullCredentialsType&& value) { m_imagePullCredentialsTypeOverrideHasBeenSet = true; m_imagePullCredentialsTypeOverride = std::move(value); }
1544 
1556  inline StartBuildRequest& WithImagePullCredentialsTypeOverride(const ImagePullCredentialsType& value) { SetImagePullCredentialsTypeOverride(value); return *this;}
1557 
1569  inline StartBuildRequest& WithImagePullCredentialsTypeOverride(ImagePullCredentialsType&& value) { SetImagePullCredentialsTypeOverride(std::move(value)); return *this;}
1570 
1571 
1578  inline bool GetDebugSessionEnabled() const{ return m_debugSessionEnabled; }
1579 
1586  inline bool DebugSessionEnabledHasBeenSet() const { return m_debugSessionEnabledHasBeenSet; }
1587 
1594  inline void SetDebugSessionEnabled(bool value) { m_debugSessionEnabledHasBeenSet = true; m_debugSessionEnabled = value; }
1595 
1602  inline StartBuildRequest& WithDebugSessionEnabled(bool value) { SetDebugSessionEnabled(value); return *this;}
1603 
1604  private:
1605 
1606  Aws::String m_projectName;
1607  bool m_projectNameHasBeenSet;
1608 
1609  Aws::Vector<ProjectSource> m_secondarySourcesOverride;
1610  bool m_secondarySourcesOverrideHasBeenSet;
1611 
1612  Aws::Vector<ProjectSourceVersion> m_secondarySourcesVersionOverride;
1613  bool m_secondarySourcesVersionOverrideHasBeenSet;
1614 
1615  Aws::String m_sourceVersion;
1616  bool m_sourceVersionHasBeenSet;
1617 
1618  ProjectArtifacts m_artifactsOverride;
1619  bool m_artifactsOverrideHasBeenSet;
1620 
1621  Aws::Vector<ProjectArtifacts> m_secondaryArtifactsOverride;
1622  bool m_secondaryArtifactsOverrideHasBeenSet;
1623 
1624  Aws::Vector<EnvironmentVariable> m_environmentVariablesOverride;
1625  bool m_environmentVariablesOverrideHasBeenSet;
1626 
1627  SourceType m_sourceTypeOverride;
1628  bool m_sourceTypeOverrideHasBeenSet;
1629 
1630  Aws::String m_sourceLocationOverride;
1631  bool m_sourceLocationOverrideHasBeenSet;
1632 
1633  SourceAuth m_sourceAuthOverride;
1634  bool m_sourceAuthOverrideHasBeenSet;
1635 
1636  int m_gitCloneDepthOverride;
1637  bool m_gitCloneDepthOverrideHasBeenSet;
1638 
1639  GitSubmodulesConfig m_gitSubmodulesConfigOverride;
1640  bool m_gitSubmodulesConfigOverrideHasBeenSet;
1641 
1642  Aws::String m_buildspecOverride;
1643  bool m_buildspecOverrideHasBeenSet;
1644 
1645  bool m_insecureSslOverride;
1646  bool m_insecureSslOverrideHasBeenSet;
1647 
1648  bool m_reportBuildStatusOverride;
1649  bool m_reportBuildStatusOverrideHasBeenSet;
1650 
1651  BuildStatusConfig m_buildStatusConfigOverride;
1652  bool m_buildStatusConfigOverrideHasBeenSet;
1653 
1654  EnvironmentType m_environmentTypeOverride;
1655  bool m_environmentTypeOverrideHasBeenSet;
1656 
1657  Aws::String m_imageOverride;
1658  bool m_imageOverrideHasBeenSet;
1659 
1660  ComputeType m_computeTypeOverride;
1661  bool m_computeTypeOverrideHasBeenSet;
1662 
1663  Aws::String m_certificateOverride;
1664  bool m_certificateOverrideHasBeenSet;
1665 
1666  ProjectCache m_cacheOverride;
1667  bool m_cacheOverrideHasBeenSet;
1668 
1669  Aws::String m_serviceRoleOverride;
1670  bool m_serviceRoleOverrideHasBeenSet;
1671 
1672  bool m_privilegedModeOverride;
1673  bool m_privilegedModeOverrideHasBeenSet;
1674 
1675  int m_timeoutInMinutesOverride;
1676  bool m_timeoutInMinutesOverrideHasBeenSet;
1677 
1678  int m_queuedTimeoutInMinutesOverride;
1679  bool m_queuedTimeoutInMinutesOverrideHasBeenSet;
1680 
1681  Aws::String m_encryptionKeyOverride;
1682  bool m_encryptionKeyOverrideHasBeenSet;
1683 
1684  Aws::String m_idempotencyToken;
1685  bool m_idempotencyTokenHasBeenSet;
1686 
1687  LogsConfig m_logsConfigOverride;
1688  bool m_logsConfigOverrideHasBeenSet;
1689 
1690  RegistryCredential m_registryCredentialOverride;
1691  bool m_registryCredentialOverrideHasBeenSet;
1692 
1693  ImagePullCredentialsType m_imagePullCredentialsTypeOverride;
1694  bool m_imagePullCredentialsTypeOverrideHasBeenSet;
1695 
1696  bool m_debugSessionEnabled;
1697  bool m_debugSessionEnabledHasBeenSet;
1698  };
1699 
1700 } // namespace Model
1701 } // namespace CodeBuild
1702 } // namespace Aws
void SetSecondaryArtifactsOverride(Aws::Vector< ProjectArtifacts > &&value)
StartBuildRequest & AddSecondaryArtifactsOverride(const ProjectArtifacts &value)
void SetBuildspecOverride(const Aws::String &value)
StartBuildRequest & WithSecondaryArtifactsOverride(Aws::Vector< ProjectArtifacts > &&value)
void SetBuildspecOverride(Aws::String &&value)
StartBuildRequest & WithIdempotencyToken(const char *value)
void SetArtifactsOverride(const ProjectArtifacts &value)
void SetSecondarySourcesVersionOverride(Aws::Vector< ProjectSourceVersion > &&value)
void SetSourceLocationOverride(Aws::String &&value)
StartBuildRequest & WithSecondaryArtifactsOverride(const Aws::Vector< ProjectArtifacts > &value)
StartBuildRequest & WithPrivilegedModeOverride(bool value)
StartBuildRequest & WithImageOverride(const char *value)
const Aws::Vector< ProjectArtifacts > & GetSecondaryArtifactsOverride() const
void SetImageOverride(const Aws::String &value)
const Aws::String & GetBuildspecOverride() const
void SetGitSubmodulesConfigOverride(GitSubmodulesConfig &&value)
void SetSourceTypeOverride(const SourceType &value)
StartBuildRequest & WithCertificateOverride(Aws::String &&value)
void SetSourceLocationOverride(const char *value)
StartBuildRequest & WithRegistryCredentialOverride(RegistryCredential &&value)
StartBuildRequest & WithGitSubmodulesConfigOverride(GitSubmodulesConfig &&value)
void SetSourceVersion(Aws::String &&value)
void SetSourceAuthOverride(const SourceAuth &value)
const ImagePullCredentialsType & GetImagePullCredentialsTypeOverride() const
StartBuildRequest & WithSourceLocationOverride(const Aws::String &value)
StartBuildRequest & AddSecondarySourcesOverride(const ProjectSource &value)
void SetRegistryCredentialOverride(RegistryCredential &&value)
StartBuildRequest & WithComputeTypeOverride(const ComputeType &value)
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourcesVersionOverride() const
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
StartBuildRequest & WithLogsConfigOverride(LogsConfig &&value)
void SetSourceTypeOverride(SourceType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
StartBuildRequest & WithSecondarySourcesVersionOverride(const Aws::Vector< ProjectSourceVersion > &value)
StartBuildRequest & WithBuildspecOverride(const char *value)
void SetRegistryCredentialOverride(const RegistryCredential &value)
StartBuildRequest & AddSecondaryArtifactsOverride(ProjectArtifacts &&value)
StartBuildRequest & WithBuildStatusConfigOverride(BuildStatusConfig &&value)
StartBuildRequest & WithServiceRoleOverride(const Aws::String &value)
StartBuildRequest & WithBuildStatusConfigOverride(const BuildStatusConfig &value)
StartBuildRequest & AddSecondarySourcesVersionOverride(ProjectSourceVersion &&value)
StartBuildRequest & WithServiceRoleOverride(Aws::String &&value)
void SetSecondarySourcesOverride(const Aws::Vector< ProjectSource > &value)
void SetEnvironmentTypeOverride(const EnvironmentType &value)
void SetSourceAuthOverride(SourceAuth &&value)
void SetSourceLocationOverride(const Aws::String &value)
StartBuildRequest & WithSecondarySourcesVersionOverride(Aws::Vector< ProjectSourceVersion > &&value)
const Aws::String & GetServiceRoleOverride() const
virtual const char * GetServiceRequestName() const override
StartBuildRequest & WithProjectName(const char *value)
void SetSecondarySourcesOverride(Aws::Vector< ProjectSource > &&value)
void SetComputeTypeOverride(ComputeType &&value)
void SetSecondaryArtifactsOverride(const Aws::Vector< ProjectArtifacts > &value)
const LogsConfig & GetLogsConfigOverride() const
StartBuildRequest & WithImageOverride(Aws::String &&value)
StartBuildRequest & WithSourceAuthOverride(const SourceAuth &value)
void SetEnvironmentVariablesOverride(const Aws::Vector< EnvironmentVariable > &value)
StartBuildRequest & AddSecondarySourcesOverride(ProjectSource &&value)
StartBuildRequest & WithSourceAuthOverride(SourceAuth &&value)
void SetCertificateOverride(const Aws::String &value)
const GitSubmodulesConfig & GetGitSubmodulesConfigOverride() const
StartBuildRequest & WithCacheOverride(const ProjectCache &value)
StartBuildRequest & WithSourceTypeOverride(const SourceType &value)
void SetCacheOverride(const ProjectCache &value)
StartBuildRequest & WithSourceVersion(const Aws::String &value)
void SetProjectName(const Aws::String &value)
StartBuildRequest & WithSecondarySourcesOverride(const Aws::Vector< ProjectSource > &value)
const Aws::String & GetCertificateOverride() const
StartBuildRequest & WithSourceLocationOverride(Aws::String &&value)
const Aws::String & GetProjectName() const
void SetBuildStatusConfigOverride(BuildStatusConfig &&value)
void SetBuildStatusConfigOverride(const BuildStatusConfig &value)
const EnvironmentType & GetEnvironmentTypeOverride() const
StartBuildRequest & WithEnvironmentVariablesOverride(const Aws::Vector< EnvironmentVariable > &value)
StartBuildRequest & WithLogsConfigOverride(const LogsConfig &value)
StartBuildRequest & AddEnvironmentVariablesOverride(EnvironmentVariable &&value)
#define AWS_CODEBUILD_API
StartBuildRequest & WithIdempotencyToken(const Aws::String &value)
StartBuildRequest & WithImagePullCredentialsTypeOverride(ImagePullCredentialsType &&value)
StartBuildRequest & WithSecondarySourcesOverride(Aws::Vector< ProjectSource > &&value)
void SetServiceRoleOverride(Aws::String &&value)
StartBuildRequest & WithGitCloneDepthOverride(int value)
StartBuildRequest & WithComputeTypeOverride(ComputeType &&value)
void SetEncryptionKeyOverride(const Aws::String &value)
void SetProjectName(Aws::String &&value)
StartBuildRequest & WithEncryptionKeyOverride(const char *value)
void SetSecondarySourcesVersionOverride(const Aws::Vector< ProjectSourceVersion > &value)
StartBuildRequest & WithInsecureSslOverride(bool value)
StartBuildRequest & WithEncryptionKeyOverride(const Aws::String &value)
StartBuildRequest & AddEnvironmentVariablesOverride(const EnvironmentVariable &value)
StartBuildRequest & WithProjectName(const Aws::String &value)
StartBuildRequest & WithServiceRoleOverride(const char *value)
const Aws::Vector< ProjectSource > & GetSecondarySourcesOverride() const
void SetGitSubmodulesConfigOverride(const GitSubmodulesConfig &value)
StartBuildRequest & WithCertificateOverride(const char *value)
void SetLogsConfigOverride(const LogsConfig &value)
const Aws::Vector< EnvironmentVariable > & GetEnvironmentVariablesOverride() const
StartBuildRequest & WithEnvironmentTypeOverride(const EnvironmentType &value)
StartBuildRequest & WithQueuedTimeoutInMinutesOverride(int value)
const ProjectArtifacts & GetArtifactsOverride() const
StartBuildRequest & WithSourceVersion(Aws::String &&value)
void SetComputeTypeOverride(const ComputeType &value)
StartBuildRequest & WithEncryptionKeyOverride(Aws::String &&value)
StartBuildRequest & WithBuildspecOverride(Aws::String &&value)
const ComputeType & GetComputeTypeOverride() const
const ProjectCache & GetCacheOverride() const
StartBuildRequest & WithIdempotencyToken(Aws::String &&value)
const RegistryCredential & GetRegistryCredentialOverride() const
void SetCertificateOverride(Aws::String &&value)
const Aws::String & GetSourceVersion() const
StartBuildRequest & WithSourceLocationOverride(const char *value)
StartBuildRequest & WithSourceVersion(const char *value)
StartBuildRequest & WithRegistryCredentialOverride(const RegistryCredential &value)
StartBuildRequest & WithArtifactsOverride(const ProjectArtifacts &value)
void SetImageOverride(Aws::String &&value)
StartBuildRequest & WithTimeoutInMinutesOverride(int value)
void SetLogsConfigOverride(LogsConfig &&value)
void SetEnvironmentTypeOverride(EnvironmentType &&value)
void SetEncryptionKeyOverride(Aws::String &&value)
StartBuildRequest & WithCertificateOverride(const Aws::String &value)
void SetArtifactsOverride(ProjectArtifacts &&value)
void SetSourceVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
StartBuildRequest & WithSourceTypeOverride(SourceType &&value)
const Aws::String & GetSourceLocationOverride() const
StartBuildRequest & WithEnvironmentVariablesOverride(Aws::Vector< EnvironmentVariable > &&value)
const Aws::String & GetImageOverride() const
StartBuildRequest & WithImageOverride(const Aws::String &value)
const Aws::String & GetEncryptionKeyOverride() const
StartBuildRequest & WithArtifactsOverride(ProjectArtifacts &&value)
void SetImagePullCredentialsTypeOverride(const ImagePullCredentialsType &value)
StartBuildRequest & WithBuildspecOverride(const Aws::String &value)
StartBuildRequest & WithDebugSessionEnabled(bool value)
StartBuildRequest & WithGitSubmodulesConfigOverride(const GitSubmodulesConfig &value)
const BuildStatusConfig & GetBuildStatusConfigOverride() const
void SetServiceRoleOverride(const Aws::String &value)
const SourceAuth & GetSourceAuthOverride() const
void SetIdempotencyToken(const Aws::String &value)
StartBuildRequest & WithProjectName(Aws::String &&value)
StartBuildRequest & WithCacheOverride(ProjectCache &&value)
StartBuildRequest & WithEnvironmentTypeOverride(EnvironmentType &&value)
void SetIdempotencyToken(Aws::String &&value)
void SetEnvironmentVariablesOverride(Aws::Vector< EnvironmentVariable > &&value)
const SourceType & GetSourceTypeOverride() const
StartBuildRequest & WithReportBuildStatusOverride(bool value)
void SetImagePullCredentialsTypeOverride(ImagePullCredentialsType &&value)
void SetCacheOverride(ProjectCache &&value)
void SetEncryptionKeyOverride(const char *value)
StartBuildRequest & WithImagePullCredentialsTypeOverride(const ImagePullCredentialsType &value)
const Aws::String & GetIdempotencyToken() const
StartBuildRequest & AddSecondarySourcesVersionOverride(const ProjectSourceVersion &value)