AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Branch.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/amplify/model/Stage.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/amplify/model/Backend.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Amplify
27{
28namespace Model
29{
30
37 class Branch
38 {
39 public:
40 AWS_AMPLIFY_API Branch() = default;
41 AWS_AMPLIFY_API Branch(Aws::Utils::Json::JsonView jsonValue);
42 AWS_AMPLIFY_API Branch& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetBranchArn() const { return m_branchArn; }
52 inline bool BranchArnHasBeenSet() const { return m_branchArnHasBeenSet; }
53 template<typename BranchArnT = Aws::String>
54 void SetBranchArn(BranchArnT&& value) { m_branchArnHasBeenSet = true; m_branchArn = std::forward<BranchArnT>(value); }
55 template<typename BranchArnT = Aws::String>
56 Branch& WithBranchArn(BranchArnT&& value) { SetBranchArn(std::forward<BranchArnT>(value)); return *this;}
58
60
63 inline const Aws::String& GetBranchName() const { return m_branchName; }
64 inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; }
65 template<typename BranchNameT = Aws::String>
66 void SetBranchName(BranchNameT&& value) { m_branchNameHasBeenSet = true; m_branchName = std::forward<BranchNameT>(value); }
67 template<typename BranchNameT = Aws::String>
68 Branch& WithBranchName(BranchNameT&& value) { SetBranchName(std::forward<BranchNameT>(value)); return *this;}
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template<typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
79 template<typename DescriptionT = Aws::String>
80 Branch& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
82
84
87 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
88 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
89 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
90 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
91 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
92 Branch& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
93 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
94 Branch& AddTags(TagsKeyT&& key, TagsValueT&& value) {
95 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
96 }
98
100
103 inline Stage GetStage() const { return m_stage; }
104 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
105 inline void SetStage(Stage value) { m_stageHasBeenSet = true; m_stage = value; }
106 inline Branch& WithStage(Stage value) { SetStage(value); return *this;}
108
110
114 inline const Aws::String& GetDisplayName() const { return m_displayName; }
115 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
116 template<typename DisplayNameT = Aws::String>
117 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
118 template<typename DisplayNameT = Aws::String>
119 Branch& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
121
123
126 inline bool GetEnableNotification() const { return m_enableNotification; }
127 inline bool EnableNotificationHasBeenSet() const { return m_enableNotificationHasBeenSet; }
128 inline void SetEnableNotification(bool value) { m_enableNotificationHasBeenSet = true; m_enableNotification = value; }
129 inline Branch& WithEnableNotification(bool value) { SetEnableNotification(value); return *this;}
131
133
136 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
137 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
138 template<typename CreateTimeT = Aws::Utils::DateTime>
139 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
140 template<typename CreateTimeT = Aws::Utils::DateTime>
141 Branch& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
143
145
148 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
149 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
150 template<typename UpdateTimeT = Aws::Utils::DateTime>
151 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
152 template<typename UpdateTimeT = Aws::Utils::DateTime>
153 Branch& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
155
157
160 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironmentVariables() const { return m_environmentVariables; }
161 inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
162 template<typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
163 void SetEnvironmentVariables(EnvironmentVariablesT&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = std::forward<EnvironmentVariablesT>(value); }
164 template<typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
165 Branch& WithEnvironmentVariables(EnvironmentVariablesT&& value) { SetEnvironmentVariables(std::forward<EnvironmentVariablesT>(value)); return *this;}
166 template<typename EnvironmentVariablesKeyT = Aws::String, typename EnvironmentVariablesValueT = Aws::String>
167 Branch& AddEnvironmentVariables(EnvironmentVariablesKeyT&& key, EnvironmentVariablesValueT&& value) {
168 m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value)); return *this;
169 }
171
173
176 inline bool GetEnableAutoBuild() const { return m_enableAutoBuild; }
177 inline bool EnableAutoBuildHasBeenSet() const { return m_enableAutoBuildHasBeenSet; }
178 inline void SetEnableAutoBuild(bool value) { m_enableAutoBuildHasBeenSet = true; m_enableAutoBuild = value; }
179 inline Branch& WithEnableAutoBuild(bool value) { SetEnableAutoBuild(value); return *this;}
181
183
193 inline bool GetEnableSkewProtection() const { return m_enableSkewProtection; }
194 inline bool EnableSkewProtectionHasBeenSet() const { return m_enableSkewProtectionHasBeenSet; }
195 inline void SetEnableSkewProtection(bool value) { m_enableSkewProtectionHasBeenSet = true; m_enableSkewProtection = value; }
196 inline Branch& WithEnableSkewProtection(bool value) { SetEnableSkewProtection(value); return *this;}
198
200
203 inline const Aws::Vector<Aws::String>& GetCustomDomains() const { return m_customDomains; }
204 inline bool CustomDomainsHasBeenSet() const { return m_customDomainsHasBeenSet; }
205 template<typename CustomDomainsT = Aws::Vector<Aws::String>>
206 void SetCustomDomains(CustomDomainsT&& value) { m_customDomainsHasBeenSet = true; m_customDomains = std::forward<CustomDomainsT>(value); }
207 template<typename CustomDomainsT = Aws::Vector<Aws::String>>
208 Branch& WithCustomDomains(CustomDomainsT&& value) { SetCustomDomains(std::forward<CustomDomainsT>(value)); return *this;}
209 template<typename CustomDomainsT = Aws::String>
210 Branch& AddCustomDomains(CustomDomainsT&& value) { m_customDomainsHasBeenSet = true; m_customDomains.emplace_back(std::forward<CustomDomainsT>(value)); return *this; }
212
214
217 inline const Aws::String& GetFramework() const { return m_framework; }
218 inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
219 template<typename FrameworkT = Aws::String>
220 void SetFramework(FrameworkT&& value) { m_frameworkHasBeenSet = true; m_framework = std::forward<FrameworkT>(value); }
221 template<typename FrameworkT = Aws::String>
222 Branch& WithFramework(FrameworkT&& value) { SetFramework(std::forward<FrameworkT>(value)); return *this;}
224
226
229 inline const Aws::String& GetActiveJobId() const { return m_activeJobId; }
230 inline bool ActiveJobIdHasBeenSet() const { return m_activeJobIdHasBeenSet; }
231 template<typename ActiveJobIdT = Aws::String>
232 void SetActiveJobId(ActiveJobIdT&& value) { m_activeJobIdHasBeenSet = true; m_activeJobId = std::forward<ActiveJobIdT>(value); }
233 template<typename ActiveJobIdT = Aws::String>
234 Branch& WithActiveJobId(ActiveJobIdT&& value) { SetActiveJobId(std::forward<ActiveJobIdT>(value)); return *this;}
236
238
241 inline const Aws::String& GetTotalNumberOfJobs() const { return m_totalNumberOfJobs; }
242 inline bool TotalNumberOfJobsHasBeenSet() const { return m_totalNumberOfJobsHasBeenSet; }
243 template<typename TotalNumberOfJobsT = Aws::String>
244 void SetTotalNumberOfJobs(TotalNumberOfJobsT&& value) { m_totalNumberOfJobsHasBeenSet = true; m_totalNumberOfJobs = std::forward<TotalNumberOfJobsT>(value); }
245 template<typename TotalNumberOfJobsT = Aws::String>
246 Branch& WithTotalNumberOfJobs(TotalNumberOfJobsT&& value) { SetTotalNumberOfJobs(std::forward<TotalNumberOfJobsT>(value)); return *this;}
248
250
253 inline bool GetEnableBasicAuth() const { return m_enableBasicAuth; }
254 inline bool EnableBasicAuthHasBeenSet() const { return m_enableBasicAuthHasBeenSet; }
255 inline void SetEnableBasicAuth(bool value) { m_enableBasicAuthHasBeenSet = true; m_enableBasicAuth = value; }
256 inline Branch& WithEnableBasicAuth(bool value) { SetEnableBasicAuth(value); return *this;}
258
260
266 inline bool GetEnablePerformanceMode() const { return m_enablePerformanceMode; }
267 inline bool EnablePerformanceModeHasBeenSet() const { return m_enablePerformanceModeHasBeenSet; }
268 inline void SetEnablePerformanceMode(bool value) { m_enablePerformanceModeHasBeenSet = true; m_enablePerformanceMode = value; }
269 inline Branch& WithEnablePerformanceMode(bool value) { SetEnablePerformanceMode(value); return *this;}
271
273
276 inline const Aws::String& GetThumbnailUrl() const { return m_thumbnailUrl; }
277 inline bool ThumbnailUrlHasBeenSet() const { return m_thumbnailUrlHasBeenSet; }
278 template<typename ThumbnailUrlT = Aws::String>
279 void SetThumbnailUrl(ThumbnailUrlT&& value) { m_thumbnailUrlHasBeenSet = true; m_thumbnailUrl = std::forward<ThumbnailUrlT>(value); }
280 template<typename ThumbnailUrlT = Aws::String>
281 Branch& WithThumbnailUrl(ThumbnailUrlT&& value) { SetThumbnailUrl(std::forward<ThumbnailUrlT>(value)); return *this;}
283
285
290 inline const Aws::String& GetBasicAuthCredentials() const { return m_basicAuthCredentials; }
291 inline bool BasicAuthCredentialsHasBeenSet() const { return m_basicAuthCredentialsHasBeenSet; }
292 template<typename BasicAuthCredentialsT = Aws::String>
293 void SetBasicAuthCredentials(BasicAuthCredentialsT&& value) { m_basicAuthCredentialsHasBeenSet = true; m_basicAuthCredentials = std::forward<BasicAuthCredentialsT>(value); }
294 template<typename BasicAuthCredentialsT = Aws::String>
295 Branch& WithBasicAuthCredentials(BasicAuthCredentialsT&& value) { SetBasicAuthCredentials(std::forward<BasicAuthCredentialsT>(value)); return *this;}
297
299
303 inline const Aws::String& GetBuildSpec() const { return m_buildSpec; }
304 inline bool BuildSpecHasBeenSet() const { return m_buildSpecHasBeenSet; }
305 template<typename BuildSpecT = Aws::String>
306 void SetBuildSpec(BuildSpecT&& value) { m_buildSpecHasBeenSet = true; m_buildSpec = std::forward<BuildSpecT>(value); }
307 template<typename BuildSpecT = Aws::String>
308 Branch& WithBuildSpec(BuildSpecT&& value) { SetBuildSpec(std::forward<BuildSpecT>(value)); return *this;}
310
312
315 inline const Aws::String& GetTtl() const { return m_ttl; }
316 inline bool TtlHasBeenSet() const { return m_ttlHasBeenSet; }
317 template<typename TtlT = Aws::String>
318 void SetTtl(TtlT&& value) { m_ttlHasBeenSet = true; m_ttl = std::forward<TtlT>(value); }
319 template<typename TtlT = Aws::String>
320 Branch& WithTtl(TtlT&& value) { SetTtl(std::forward<TtlT>(value)); return *this;}
322
324
327 inline const Aws::Vector<Aws::String>& GetAssociatedResources() const { return m_associatedResources; }
328 inline bool AssociatedResourcesHasBeenSet() const { return m_associatedResourcesHasBeenSet; }
329 template<typename AssociatedResourcesT = Aws::Vector<Aws::String>>
330 void SetAssociatedResources(AssociatedResourcesT&& value) { m_associatedResourcesHasBeenSet = true; m_associatedResources = std::forward<AssociatedResourcesT>(value); }
331 template<typename AssociatedResourcesT = Aws::Vector<Aws::String>>
332 Branch& WithAssociatedResources(AssociatedResourcesT&& value) { SetAssociatedResources(std::forward<AssociatedResourcesT>(value)); return *this;}
333 template<typename AssociatedResourcesT = Aws::String>
334 Branch& AddAssociatedResources(AssociatedResourcesT&& value) { m_associatedResourcesHasBeenSet = true; m_associatedResources.emplace_back(std::forward<AssociatedResourcesT>(value)); return *this; }
336
338
341 inline bool GetEnablePullRequestPreview() const { return m_enablePullRequestPreview; }
342 inline bool EnablePullRequestPreviewHasBeenSet() const { return m_enablePullRequestPreviewHasBeenSet; }
343 inline void SetEnablePullRequestPreview(bool value) { m_enablePullRequestPreviewHasBeenSet = true; m_enablePullRequestPreview = value; }
344 inline Branch& WithEnablePullRequestPreview(bool value) { SetEnablePullRequestPreview(value); return *this;}
346
348
351 inline const Aws::String& GetPullRequestEnvironmentName() const { return m_pullRequestEnvironmentName; }
352 inline bool PullRequestEnvironmentNameHasBeenSet() const { return m_pullRequestEnvironmentNameHasBeenSet; }
353 template<typename PullRequestEnvironmentNameT = Aws::String>
354 void SetPullRequestEnvironmentName(PullRequestEnvironmentNameT&& value) { m_pullRequestEnvironmentNameHasBeenSet = true; m_pullRequestEnvironmentName = std::forward<PullRequestEnvironmentNameT>(value); }
355 template<typename PullRequestEnvironmentNameT = Aws::String>
356 Branch& WithPullRequestEnvironmentName(PullRequestEnvironmentNameT&& value) { SetPullRequestEnvironmentName(std::forward<PullRequestEnvironmentNameT>(value)); return *this;}
358
360
363 inline const Aws::String& GetDestinationBranch() const { return m_destinationBranch; }
364 inline bool DestinationBranchHasBeenSet() const { return m_destinationBranchHasBeenSet; }
365 template<typename DestinationBranchT = Aws::String>
366 void SetDestinationBranch(DestinationBranchT&& value) { m_destinationBranchHasBeenSet = true; m_destinationBranch = std::forward<DestinationBranchT>(value); }
367 template<typename DestinationBranchT = Aws::String>
368 Branch& WithDestinationBranch(DestinationBranchT&& value) { SetDestinationBranch(std::forward<DestinationBranchT>(value)); return *this;}
370
372
375 inline const Aws::String& GetSourceBranch() const { return m_sourceBranch; }
376 inline bool SourceBranchHasBeenSet() const { return m_sourceBranchHasBeenSet; }
377 template<typename SourceBranchT = Aws::String>
378 void SetSourceBranch(SourceBranchT&& value) { m_sourceBranchHasBeenSet = true; m_sourceBranch = std::forward<SourceBranchT>(value); }
379 template<typename SourceBranchT = Aws::String>
380 Branch& WithSourceBranch(SourceBranchT&& value) { SetSourceBranch(std::forward<SourceBranchT>(value)); return *this;}
382
384
390 inline const Aws::String& GetBackendEnvironmentArn() const { return m_backendEnvironmentArn; }
391 inline bool BackendEnvironmentArnHasBeenSet() const { return m_backendEnvironmentArnHasBeenSet; }
392 template<typename BackendEnvironmentArnT = Aws::String>
393 void SetBackendEnvironmentArn(BackendEnvironmentArnT&& value) { m_backendEnvironmentArnHasBeenSet = true; m_backendEnvironmentArn = std::forward<BackendEnvironmentArnT>(value); }
394 template<typename BackendEnvironmentArnT = Aws::String>
395 Branch& WithBackendEnvironmentArn(BackendEnvironmentArnT&& value) { SetBackendEnvironmentArn(std::forward<BackendEnvironmentArnT>(value)); return *this;}
397
399
400 inline const Backend& GetBackend() const { return m_backend; }
401 inline bool BackendHasBeenSet() const { return m_backendHasBeenSet; }
402 template<typename BackendT = Backend>
403 void SetBackend(BackendT&& value) { m_backendHasBeenSet = true; m_backend = std::forward<BackendT>(value); }
404 template<typename BackendT = Backend>
405 Branch& WithBackend(BackendT&& value) { SetBackend(std::forward<BackendT>(value)); return *this;}
407
409
417 inline const Aws::String& GetComputeRoleArn() const { return m_computeRoleArn; }
418 inline bool ComputeRoleArnHasBeenSet() const { return m_computeRoleArnHasBeenSet; }
419 template<typename ComputeRoleArnT = Aws::String>
420 void SetComputeRoleArn(ComputeRoleArnT&& value) { m_computeRoleArnHasBeenSet = true; m_computeRoleArn = std::forward<ComputeRoleArnT>(value); }
421 template<typename ComputeRoleArnT = Aws::String>
422 Branch& WithComputeRoleArn(ComputeRoleArnT&& value) { SetComputeRoleArn(std::forward<ComputeRoleArnT>(value)); return *this;}
424 private:
425
426 Aws::String m_branchArn;
427 bool m_branchArnHasBeenSet = false;
428
429 Aws::String m_branchName;
430 bool m_branchNameHasBeenSet = false;
431
432 Aws::String m_description;
433 bool m_descriptionHasBeenSet = false;
434
436 bool m_tagsHasBeenSet = false;
437
438 Stage m_stage{Stage::NOT_SET};
439 bool m_stageHasBeenSet = false;
440
441 Aws::String m_displayName;
442 bool m_displayNameHasBeenSet = false;
443
444 bool m_enableNotification{false};
445 bool m_enableNotificationHasBeenSet = false;
446
447 Aws::Utils::DateTime m_createTime{};
448 bool m_createTimeHasBeenSet = false;
449
450 Aws::Utils::DateTime m_updateTime{};
451 bool m_updateTimeHasBeenSet = false;
452
453 Aws::Map<Aws::String, Aws::String> m_environmentVariables;
454 bool m_environmentVariablesHasBeenSet = false;
455
456 bool m_enableAutoBuild{false};
457 bool m_enableAutoBuildHasBeenSet = false;
458
459 bool m_enableSkewProtection{false};
460 bool m_enableSkewProtectionHasBeenSet = false;
461
462 Aws::Vector<Aws::String> m_customDomains;
463 bool m_customDomainsHasBeenSet = false;
464
465 Aws::String m_framework;
466 bool m_frameworkHasBeenSet = false;
467
468 Aws::String m_activeJobId;
469 bool m_activeJobIdHasBeenSet = false;
470
471 Aws::String m_totalNumberOfJobs;
472 bool m_totalNumberOfJobsHasBeenSet = false;
473
474 bool m_enableBasicAuth{false};
475 bool m_enableBasicAuthHasBeenSet = false;
476
477 bool m_enablePerformanceMode{false};
478 bool m_enablePerformanceModeHasBeenSet = false;
479
480 Aws::String m_thumbnailUrl;
481 bool m_thumbnailUrlHasBeenSet = false;
482
483 Aws::String m_basicAuthCredentials;
484 bool m_basicAuthCredentialsHasBeenSet = false;
485
486 Aws::String m_buildSpec;
487 bool m_buildSpecHasBeenSet = false;
488
489 Aws::String m_ttl;
490 bool m_ttlHasBeenSet = false;
491
492 Aws::Vector<Aws::String> m_associatedResources;
493 bool m_associatedResourcesHasBeenSet = false;
494
495 bool m_enablePullRequestPreview{false};
496 bool m_enablePullRequestPreviewHasBeenSet = false;
497
498 Aws::String m_pullRequestEnvironmentName;
499 bool m_pullRequestEnvironmentNameHasBeenSet = false;
500
501 Aws::String m_destinationBranch;
502 bool m_destinationBranchHasBeenSet = false;
503
504 Aws::String m_sourceBranch;
505 bool m_sourceBranchHasBeenSet = false;
506
507 Aws::String m_backendEnvironmentArn;
508 bool m_backendEnvironmentArnHasBeenSet = false;
509
510 Backend m_backend;
511 bool m_backendHasBeenSet = false;
512
513 Aws::String m_computeRoleArn;
514 bool m_computeRoleArnHasBeenSet = false;
515 };
516
517} // namespace Model
518} // namespace Amplify
519} // namespace Aws
bool ComputeRoleArnHasBeenSet() const
Definition Branch.h:418
void SetTags(TagsT &&value)
Definition Branch.h:90
bool TotalNumberOfJobsHasBeenSet() const
Definition Branch.h:242
Branch & AddAssociatedResources(AssociatedResourcesT &&value)
Definition Branch.h:334
void SetFramework(FrameworkT &&value)
Definition Branch.h:220
bool AssociatedResourcesHasBeenSet() const
Definition Branch.h:328
const Aws::String & GetBasicAuthCredentials() const
Definition Branch.h:290
Branch & WithCreateTime(CreateTimeT &&value)
Definition Branch.h:141
void SetActiveJobId(ActiveJobIdT &&value)
Definition Branch.h:232
void SetEnableSkewProtection(bool value)
Definition Branch.h:195
const Aws::String & GetThumbnailUrl() const
Definition Branch.h:276
Branch & WithTags(TagsT &&value)
Definition Branch.h:92
bool GetEnableAutoBuild() const
Definition Branch.h:176
bool ThumbnailUrlHasBeenSet() const
Definition Branch.h:277
void SetStage(Stage value)
Definition Branch.h:105
Branch & WithDisplayName(DisplayNameT &&value)
Definition Branch.h:119
Branch & WithPullRequestEnvironmentName(PullRequestEnvironmentNameT &&value)
Definition Branch.h:356
bool EnableNotificationHasBeenSet() const
Definition Branch.h:127
void SetBranchArn(BranchArnT &&value)
Definition Branch.h:54
const Aws::String & GetTtl() const
Definition Branch.h:315
bool UpdateTimeHasBeenSet() const
Definition Branch.h:149
void SetSourceBranch(SourceBranchT &&value)
Definition Branch.h:378
void SetAssociatedResources(AssociatedResourcesT &&value)
Definition Branch.h:330
void SetBackendEnvironmentArn(BackendEnvironmentArnT &&value)
Definition Branch.h:393
void SetPullRequestEnvironmentName(PullRequestEnvironmentNameT &&value)
Definition Branch.h:354
void SetBasicAuthCredentials(BasicAuthCredentialsT &&value)
Definition Branch.h:293
Branch & WithBackend(BackendT &&value)
Definition Branch.h:405
Branch & AddEnvironmentVariables(EnvironmentVariablesKeyT &&key, EnvironmentVariablesValueT &&value)
Definition Branch.h:167
bool BuildSpecHasBeenSet() const
Definition Branch.h:304
void SetDestinationBranch(DestinationBranchT &&value)
Definition Branch.h:366
Branch & WithAssociatedResources(AssociatedResourcesT &&value)
Definition Branch.h:332
bool EnableSkewProtectionHasBeenSet() const
Definition Branch.h:194
Branch & WithTotalNumberOfJobs(TotalNumberOfJobsT &&value)
Definition Branch.h:246
void SetEnablePerformanceMode(bool value)
Definition Branch.h:268
void SetEnableNotification(bool value)
Definition Branch.h:128
Branch & WithEnableNotification(bool value)
Definition Branch.h:129
void SetUpdateTime(UpdateTimeT &&value)
Definition Branch.h:151
AWS_AMPLIFY_API Branch(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTotalNumberOfJobs() const
Definition Branch.h:241
bool TagsHasBeenSet() const
Definition Branch.h:88
Branch & WithFramework(FrameworkT &&value)
Definition Branch.h:222
bool GetEnableBasicAuth() const
Definition Branch.h:253
const Aws::String & GetBranchName() const
Definition Branch.h:63
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
Definition Branch.h:163
Branch & WithActiveJobId(ActiveJobIdT &&value)
Definition Branch.h:234
bool CustomDomainsHasBeenSet() const
Definition Branch.h:204
Branch & WithDescription(DescriptionT &&value)
Definition Branch.h:80
Branch & WithDestinationBranch(DestinationBranchT &&value)
Definition Branch.h:368
Branch & WithEnablePerformanceMode(bool value)
Definition Branch.h:269
bool BackendEnvironmentArnHasBeenSet() const
Definition Branch.h:391
void SetTtl(TtlT &&value)
Definition Branch.h:318
bool EnableAutoBuildHasBeenSet() const
Definition Branch.h:177
void SetComputeRoleArn(ComputeRoleArnT &&value)
Definition Branch.h:420
Branch & WithEnablePullRequestPreview(bool value)
Definition Branch.h:344
Branch & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Branch.h:94
void SetThumbnailUrl(ThumbnailUrlT &&value)
Definition Branch.h:279
Branch & WithUpdateTime(UpdateTimeT &&value)
Definition Branch.h:153
void SetBackend(BackendT &&value)
Definition Branch.h:403
Branch & WithCustomDomains(CustomDomainsT &&value)
Definition Branch.h:208
bool FrameworkHasBeenSet() const
Definition Branch.h:218
bool EnvironmentVariablesHasBeenSet() const
Definition Branch.h:161
const Backend & GetBackend() const
Definition Branch.h:400
bool BranchArnHasBeenSet() const
Definition Branch.h:52
bool BranchNameHasBeenSet() const
Definition Branch.h:64
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Branch.h:87
bool GetEnablePullRequestPreview() const
Definition Branch.h:341
const Aws::String & GetActiveJobId() const
Definition Branch.h:229
Branch & WithBasicAuthCredentials(BasicAuthCredentialsT &&value)
Definition Branch.h:295
const Aws::String & GetSourceBranch() const
Definition Branch.h:375
const Aws::String & GetPullRequestEnvironmentName() const
Definition Branch.h:351
bool BackendHasBeenSet() const
Definition Branch.h:401
AWS_AMPLIFY_API Branch()=default
const Aws::String & GetBranchArn() const
Definition Branch.h:51
void SetEnableAutoBuild(bool value)
Definition Branch.h:178
bool PullRequestEnvironmentNameHasBeenSet() const
Definition Branch.h:352
void SetDescription(DescriptionT &&value)
Definition Branch.h:78
bool TtlHasBeenSet() const
Definition Branch.h:316
Branch & WithBranchArn(BranchArnT &&value)
Definition Branch.h:56
bool ActiveJobIdHasBeenSet() const
Definition Branch.h:230
bool BasicAuthCredentialsHasBeenSet() const
Definition Branch.h:291
Branch & WithEnableSkewProtection(bool value)
Definition Branch.h:196
void SetCustomDomains(CustomDomainsT &&value)
Definition Branch.h:206
void SetBuildSpec(BuildSpecT &&value)
Definition Branch.h:306
bool DestinationBranchHasBeenSet() const
Definition Branch.h:364
bool GetEnablePerformanceMode() const
Definition Branch.h:266
Stage GetStage() const
Definition Branch.h:103
Branch & AddCustomDomains(CustomDomainsT &&value)
Definition Branch.h:210
bool DescriptionHasBeenSet() const
Definition Branch.h:76
Branch & WithSourceBranch(SourceBranchT &&value)
Definition Branch.h:380
Branch & WithEnvironmentVariables(EnvironmentVariablesT &&value)
Definition Branch.h:165
bool StageHasBeenSet() const
Definition Branch.h:104
const Aws::String & GetDestinationBranch() const
Definition Branch.h:363
bool GetEnableNotification() const
Definition Branch.h:126
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetFramework() const
Definition Branch.h:217
const Aws::String & GetDescription() const
Definition Branch.h:75
Branch & WithThumbnailUrl(ThumbnailUrlT &&value)
Definition Branch.h:281
void SetBranchName(BranchNameT &&value)
Definition Branch.h:66
const Aws::String & GetBuildSpec() const
Definition Branch.h:303
const Aws::Vector< Aws::String > & GetCustomDomains() const
Definition Branch.h:203
Branch & WithBuildSpec(BuildSpecT &&value)
Definition Branch.h:308
const Aws::Utils::DateTime & GetUpdateTime() const
Definition Branch.h:148
const Aws::String & GetComputeRoleArn() const
Definition Branch.h:417
const Aws::String & GetBackendEnvironmentArn() const
Definition Branch.h:390
Branch & WithStage(Stage value)
Definition Branch.h:106
bool SourceBranchHasBeenSet() const
Definition Branch.h:376
AWS_AMPLIFY_API Branch & operator=(Aws::Utils::Json::JsonView jsonValue)
Branch & WithComputeRoleArn(ComputeRoleArnT &&value)
Definition Branch.h:422
Branch & WithTtl(TtlT &&value)
Definition Branch.h:320
bool GetEnableSkewProtection() const
Definition Branch.h:193
void SetCreateTime(CreateTimeT &&value)
Definition Branch.h:139
void SetEnableBasicAuth(bool value)
Definition Branch.h:255
bool CreateTimeHasBeenSet() const
Definition Branch.h:137
bool DisplayNameHasBeenSet() const
Definition Branch.h:115
Branch & WithBranchName(BranchNameT &&value)
Definition Branch.h:68
void SetEnablePullRequestPreview(bool value)
Definition Branch.h:343
const Aws::String & GetDisplayName() const
Definition Branch.h:114
Branch & WithEnableBasicAuth(bool value)
Definition Branch.h:256
bool EnablePullRequestPreviewHasBeenSet() const
Definition Branch.h:342
const Aws::Vector< Aws::String > & GetAssociatedResources() const
Definition Branch.h:327
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
Definition Branch.h:160
const Aws::Utils::DateTime & GetCreateTime() const
Definition Branch.h:136
Branch & WithEnableAutoBuild(bool value)
Definition Branch.h:179
bool EnableBasicAuthHasBeenSet() const
Definition Branch.h:254
void SetTotalNumberOfJobs(TotalNumberOfJobsT &&value)
Definition Branch.h:244
void SetDisplayName(DisplayNameT &&value)
Definition Branch.h:117
Branch & WithBackendEnvironmentArn(BackendEnvironmentArnT &&value)
Definition Branch.h:395
bool EnablePerformanceModeHasBeenSet() const
Definition Branch.h:267
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue