AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Branch.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/model/Backend.h>
9#include <aws/amplify/model/Stage.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Amplify {
25namespace Model {
26
33class Branch {
34 public:
35 AWS_AMPLIFY_API Branch() = default;
36 AWS_AMPLIFY_API Branch(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AMPLIFY_API Branch& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline const Aws::String& GetBranchArn() const { return m_branchArn; }
46 inline bool BranchArnHasBeenSet() const { return m_branchArnHasBeenSet; }
47 template <typename BranchArnT = Aws::String>
48 void SetBranchArn(BranchArnT&& value) {
49 m_branchArnHasBeenSet = true;
50 m_branchArn = std::forward<BranchArnT>(value);
51 }
52 template <typename BranchArnT = Aws::String>
53 Branch& WithBranchArn(BranchArnT&& value) {
54 SetBranchArn(std::forward<BranchArnT>(value));
55 return *this;
56 }
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) {
67 m_branchNameHasBeenSet = true;
68 m_branchName = std::forward<BranchNameT>(value);
69 }
70 template <typename BranchNameT = Aws::String>
71 Branch& WithBranchName(BranchNameT&& value) {
72 SetBranchName(std::forward<BranchNameT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template <typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) {
85 m_descriptionHasBeenSet = true;
86 m_description = std::forward<DescriptionT>(value);
87 }
88 template <typename DescriptionT = Aws::String>
89 Branch& WithDescription(DescriptionT&& value) {
90 SetDescription(std::forward<DescriptionT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
100 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
101 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
102 void SetTags(TagsT&& value) {
103 m_tagsHasBeenSet = true;
104 m_tags = std::forward<TagsT>(value);
105 }
106 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
107 Branch& WithTags(TagsT&& value) {
108 SetTags(std::forward<TagsT>(value));
109 return *this;
110 }
111 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
112 Branch& AddTags(TagsKeyT&& key, TagsValueT&& value) {
113 m_tagsHasBeenSet = true;
114 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
115 return *this;
116 }
118
120
123 inline Stage GetStage() const { return m_stage; }
124 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
125 inline void SetStage(Stage value) {
126 m_stageHasBeenSet = true;
127 m_stage = value;
128 }
129 inline Branch& WithStage(Stage value) {
130 SetStage(value);
131 return *this;
132 }
134
136
140 inline const Aws::String& GetDisplayName() const { return m_displayName; }
141 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
142 template <typename DisplayNameT = Aws::String>
143 void SetDisplayName(DisplayNameT&& value) {
144 m_displayNameHasBeenSet = true;
145 m_displayName = std::forward<DisplayNameT>(value);
146 }
147 template <typename DisplayNameT = Aws::String>
148 Branch& WithDisplayName(DisplayNameT&& value) {
149 SetDisplayName(std::forward<DisplayNameT>(value));
150 return *this;
151 }
153
155
158 inline bool GetEnableNotification() const { return m_enableNotification; }
159 inline bool EnableNotificationHasBeenSet() const { return m_enableNotificationHasBeenSet; }
160 inline void SetEnableNotification(bool value) {
161 m_enableNotificationHasBeenSet = true;
162 m_enableNotification = value;
163 }
164 inline Branch& WithEnableNotification(bool value) {
166 return *this;
167 }
169
171
174 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
175 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
176 template <typename CreateTimeT = Aws::Utils::DateTime>
177 void SetCreateTime(CreateTimeT&& value) {
178 m_createTimeHasBeenSet = true;
179 m_createTime = std::forward<CreateTimeT>(value);
180 }
181 template <typename CreateTimeT = Aws::Utils::DateTime>
182 Branch& WithCreateTime(CreateTimeT&& value) {
183 SetCreateTime(std::forward<CreateTimeT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
193 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
194 template <typename UpdateTimeT = Aws::Utils::DateTime>
195 void SetUpdateTime(UpdateTimeT&& value) {
196 m_updateTimeHasBeenSet = true;
197 m_updateTime = std::forward<UpdateTimeT>(value);
198 }
199 template <typename UpdateTimeT = Aws::Utils::DateTime>
200 Branch& WithUpdateTime(UpdateTimeT&& value) {
201 SetUpdateTime(std::forward<UpdateTimeT>(value));
202 return *this;
203 }
205
207
210 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironmentVariables() const { return m_environmentVariables; }
211 inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
212 template <typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
213 void SetEnvironmentVariables(EnvironmentVariablesT&& value) {
214 m_environmentVariablesHasBeenSet = true;
215 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
216 }
217 template <typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
218 Branch& WithEnvironmentVariables(EnvironmentVariablesT&& value) {
219 SetEnvironmentVariables(std::forward<EnvironmentVariablesT>(value));
220 return *this;
221 }
222 template <typename EnvironmentVariablesKeyT = Aws::String, typename EnvironmentVariablesValueT = Aws::String>
223 Branch& AddEnvironmentVariables(EnvironmentVariablesKeyT&& key, EnvironmentVariablesValueT&& value) {
224 m_environmentVariablesHasBeenSet = true;
225 m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value));
226 return *this;
227 }
229
231
234 inline bool GetEnableAutoBuild() const { return m_enableAutoBuild; }
235 inline bool EnableAutoBuildHasBeenSet() const { return m_enableAutoBuildHasBeenSet; }
236 inline void SetEnableAutoBuild(bool value) {
237 m_enableAutoBuildHasBeenSet = true;
238 m_enableAutoBuild = value;
239 }
240 inline Branch& WithEnableAutoBuild(bool value) {
241 SetEnableAutoBuild(value);
242 return *this;
243 }
245
247
257 inline bool GetEnableSkewProtection() const { return m_enableSkewProtection; }
258 inline bool EnableSkewProtectionHasBeenSet() const { return m_enableSkewProtectionHasBeenSet; }
259 inline void SetEnableSkewProtection(bool value) {
260 m_enableSkewProtectionHasBeenSet = true;
261 m_enableSkewProtection = value;
262 }
263 inline Branch& WithEnableSkewProtection(bool value) {
265 return *this;
266 }
268
270
273 inline const Aws::Vector<Aws::String>& GetCustomDomains() const { return m_customDomains; }
274 inline bool CustomDomainsHasBeenSet() const { return m_customDomainsHasBeenSet; }
275 template <typename CustomDomainsT = Aws::Vector<Aws::String>>
276 void SetCustomDomains(CustomDomainsT&& value) {
277 m_customDomainsHasBeenSet = true;
278 m_customDomains = std::forward<CustomDomainsT>(value);
279 }
280 template <typename CustomDomainsT = Aws::Vector<Aws::String>>
281 Branch& WithCustomDomains(CustomDomainsT&& value) {
282 SetCustomDomains(std::forward<CustomDomainsT>(value));
283 return *this;
284 }
285 template <typename CustomDomainsT = Aws::String>
286 Branch& AddCustomDomains(CustomDomainsT&& value) {
287 m_customDomainsHasBeenSet = true;
288 m_customDomains.emplace_back(std::forward<CustomDomainsT>(value));
289 return *this;
290 }
292
294
297 inline const Aws::String& GetFramework() const { return m_framework; }
298 inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
299 template <typename FrameworkT = Aws::String>
300 void SetFramework(FrameworkT&& value) {
301 m_frameworkHasBeenSet = true;
302 m_framework = std::forward<FrameworkT>(value);
303 }
304 template <typename FrameworkT = Aws::String>
305 Branch& WithFramework(FrameworkT&& value) {
306 SetFramework(std::forward<FrameworkT>(value));
307 return *this;
308 }
310
312
315 inline const Aws::String& GetActiveJobId() const { return m_activeJobId; }
316 inline bool ActiveJobIdHasBeenSet() const { return m_activeJobIdHasBeenSet; }
317 template <typename ActiveJobIdT = Aws::String>
318 void SetActiveJobId(ActiveJobIdT&& value) {
319 m_activeJobIdHasBeenSet = true;
320 m_activeJobId = std::forward<ActiveJobIdT>(value);
321 }
322 template <typename ActiveJobIdT = Aws::String>
323 Branch& WithActiveJobId(ActiveJobIdT&& value) {
324 SetActiveJobId(std::forward<ActiveJobIdT>(value));
325 return *this;
326 }
328
330
333 inline const Aws::String& GetTotalNumberOfJobs() const { return m_totalNumberOfJobs; }
334 inline bool TotalNumberOfJobsHasBeenSet() const { return m_totalNumberOfJobsHasBeenSet; }
335 template <typename TotalNumberOfJobsT = Aws::String>
336 void SetTotalNumberOfJobs(TotalNumberOfJobsT&& value) {
337 m_totalNumberOfJobsHasBeenSet = true;
338 m_totalNumberOfJobs = std::forward<TotalNumberOfJobsT>(value);
339 }
340 template <typename TotalNumberOfJobsT = Aws::String>
341 Branch& WithTotalNumberOfJobs(TotalNumberOfJobsT&& value) {
342 SetTotalNumberOfJobs(std::forward<TotalNumberOfJobsT>(value));
343 return *this;
344 }
346
348
351 inline bool GetEnableBasicAuth() const { return m_enableBasicAuth; }
352 inline bool EnableBasicAuthHasBeenSet() const { return m_enableBasicAuthHasBeenSet; }
353 inline void SetEnableBasicAuth(bool value) {
354 m_enableBasicAuthHasBeenSet = true;
355 m_enableBasicAuth = value;
356 }
357 inline Branch& WithEnableBasicAuth(bool value) {
358 SetEnableBasicAuth(value);
359 return *this;
360 }
362
364
370 inline bool GetEnablePerformanceMode() const { return m_enablePerformanceMode; }
371 inline bool EnablePerformanceModeHasBeenSet() const { return m_enablePerformanceModeHasBeenSet; }
372 inline void SetEnablePerformanceMode(bool value) {
373 m_enablePerformanceModeHasBeenSet = true;
374 m_enablePerformanceMode = value;
375 }
376 inline Branch& WithEnablePerformanceMode(bool value) {
378 return *this;
379 }
381
383
386 inline const Aws::String& GetThumbnailUrl() const { return m_thumbnailUrl; }
387 inline bool ThumbnailUrlHasBeenSet() const { return m_thumbnailUrlHasBeenSet; }
388 template <typename ThumbnailUrlT = Aws::String>
389 void SetThumbnailUrl(ThumbnailUrlT&& value) {
390 m_thumbnailUrlHasBeenSet = true;
391 m_thumbnailUrl = std::forward<ThumbnailUrlT>(value);
392 }
393 template <typename ThumbnailUrlT = Aws::String>
394 Branch& WithThumbnailUrl(ThumbnailUrlT&& value) {
395 SetThumbnailUrl(std::forward<ThumbnailUrlT>(value));
396 return *this;
397 }
399
401
406 inline const Aws::String& GetBasicAuthCredentials() const { return m_basicAuthCredentials; }
407 inline bool BasicAuthCredentialsHasBeenSet() const { return m_basicAuthCredentialsHasBeenSet; }
408 template <typename BasicAuthCredentialsT = Aws::String>
409 void SetBasicAuthCredentials(BasicAuthCredentialsT&& value) {
410 m_basicAuthCredentialsHasBeenSet = true;
411 m_basicAuthCredentials = std::forward<BasicAuthCredentialsT>(value);
412 }
413 template <typename BasicAuthCredentialsT = Aws::String>
414 Branch& WithBasicAuthCredentials(BasicAuthCredentialsT&& value) {
415 SetBasicAuthCredentials(std::forward<BasicAuthCredentialsT>(value));
416 return *this;
417 }
419
421
425 inline const Aws::String& GetBuildSpec() const { return m_buildSpec; }
426 inline bool BuildSpecHasBeenSet() const { return m_buildSpecHasBeenSet; }
427 template <typename BuildSpecT = Aws::String>
428 void SetBuildSpec(BuildSpecT&& value) {
429 m_buildSpecHasBeenSet = true;
430 m_buildSpec = std::forward<BuildSpecT>(value);
431 }
432 template <typename BuildSpecT = Aws::String>
433 Branch& WithBuildSpec(BuildSpecT&& value) {
434 SetBuildSpec(std::forward<BuildSpecT>(value));
435 return *this;
436 }
438
440
443 inline const Aws::String& GetTtl() const { return m_ttl; }
444 inline bool TtlHasBeenSet() const { return m_ttlHasBeenSet; }
445 template <typename TtlT = Aws::String>
446 void SetTtl(TtlT&& value) {
447 m_ttlHasBeenSet = true;
448 m_ttl = std::forward<TtlT>(value);
449 }
450 template <typename TtlT = Aws::String>
451 Branch& WithTtl(TtlT&& value) {
452 SetTtl(std::forward<TtlT>(value));
453 return *this;
454 }
456
458
461 inline const Aws::Vector<Aws::String>& GetAssociatedResources() const { return m_associatedResources; }
462 inline bool AssociatedResourcesHasBeenSet() const { return m_associatedResourcesHasBeenSet; }
463 template <typename AssociatedResourcesT = Aws::Vector<Aws::String>>
464 void SetAssociatedResources(AssociatedResourcesT&& value) {
465 m_associatedResourcesHasBeenSet = true;
466 m_associatedResources = std::forward<AssociatedResourcesT>(value);
467 }
468 template <typename AssociatedResourcesT = Aws::Vector<Aws::String>>
469 Branch& WithAssociatedResources(AssociatedResourcesT&& value) {
470 SetAssociatedResources(std::forward<AssociatedResourcesT>(value));
471 return *this;
472 }
473 template <typename AssociatedResourcesT = Aws::String>
474 Branch& AddAssociatedResources(AssociatedResourcesT&& value) {
475 m_associatedResourcesHasBeenSet = true;
476 m_associatedResources.emplace_back(std::forward<AssociatedResourcesT>(value));
477 return *this;
478 }
480
482
485 inline bool GetEnablePullRequestPreview() const { return m_enablePullRequestPreview; }
486 inline bool EnablePullRequestPreviewHasBeenSet() const { return m_enablePullRequestPreviewHasBeenSet; }
487 inline void SetEnablePullRequestPreview(bool value) {
488 m_enablePullRequestPreviewHasBeenSet = true;
489 m_enablePullRequestPreview = value;
490 }
493 return *this;
494 }
496
498
501 inline const Aws::String& GetPullRequestEnvironmentName() const { return m_pullRequestEnvironmentName; }
502 inline bool PullRequestEnvironmentNameHasBeenSet() const { return m_pullRequestEnvironmentNameHasBeenSet; }
503 template <typename PullRequestEnvironmentNameT = Aws::String>
504 void SetPullRequestEnvironmentName(PullRequestEnvironmentNameT&& value) {
505 m_pullRequestEnvironmentNameHasBeenSet = true;
506 m_pullRequestEnvironmentName = std::forward<PullRequestEnvironmentNameT>(value);
507 }
508 template <typename PullRequestEnvironmentNameT = Aws::String>
509 Branch& WithPullRequestEnvironmentName(PullRequestEnvironmentNameT&& value) {
510 SetPullRequestEnvironmentName(std::forward<PullRequestEnvironmentNameT>(value));
511 return *this;
512 }
514
516
519 inline const Aws::String& GetDestinationBranch() const { return m_destinationBranch; }
520 inline bool DestinationBranchHasBeenSet() const { return m_destinationBranchHasBeenSet; }
521 template <typename DestinationBranchT = Aws::String>
522 void SetDestinationBranch(DestinationBranchT&& value) {
523 m_destinationBranchHasBeenSet = true;
524 m_destinationBranch = std::forward<DestinationBranchT>(value);
525 }
526 template <typename DestinationBranchT = Aws::String>
527 Branch& WithDestinationBranch(DestinationBranchT&& value) {
528 SetDestinationBranch(std::forward<DestinationBranchT>(value));
529 return *this;
530 }
532
534
537 inline const Aws::String& GetSourceBranch() const { return m_sourceBranch; }
538 inline bool SourceBranchHasBeenSet() const { return m_sourceBranchHasBeenSet; }
539 template <typename SourceBranchT = Aws::String>
540 void SetSourceBranch(SourceBranchT&& value) {
541 m_sourceBranchHasBeenSet = true;
542 m_sourceBranch = std::forward<SourceBranchT>(value);
543 }
544 template <typename SourceBranchT = Aws::String>
545 Branch& WithSourceBranch(SourceBranchT&& value) {
546 SetSourceBranch(std::forward<SourceBranchT>(value));
547 return *this;
548 }
550
552
558 inline const Aws::String& GetBackendEnvironmentArn() const { return m_backendEnvironmentArn; }
559 inline bool BackendEnvironmentArnHasBeenSet() const { return m_backendEnvironmentArnHasBeenSet; }
560 template <typename BackendEnvironmentArnT = Aws::String>
561 void SetBackendEnvironmentArn(BackendEnvironmentArnT&& value) {
562 m_backendEnvironmentArnHasBeenSet = true;
563 m_backendEnvironmentArn = std::forward<BackendEnvironmentArnT>(value);
564 }
565 template <typename BackendEnvironmentArnT = Aws::String>
566 Branch& WithBackendEnvironmentArn(BackendEnvironmentArnT&& value) {
567 SetBackendEnvironmentArn(std::forward<BackendEnvironmentArnT>(value));
568 return *this;
569 }
571
573
574 inline const Backend& GetBackend() const { return m_backend; }
575 inline bool BackendHasBeenSet() const { return m_backendHasBeenSet; }
576 template <typename BackendT = Backend>
577 void SetBackend(BackendT&& value) {
578 m_backendHasBeenSet = true;
579 m_backend = std::forward<BackendT>(value);
580 }
581 template <typename BackendT = Backend>
582 Branch& WithBackend(BackendT&& value) {
583 SetBackend(std::forward<BackendT>(value));
584 return *this;
585 }
587
589
597 inline const Aws::String& GetComputeRoleArn() const { return m_computeRoleArn; }
598 inline bool ComputeRoleArnHasBeenSet() const { return m_computeRoleArnHasBeenSet; }
599 template <typename ComputeRoleArnT = Aws::String>
600 void SetComputeRoleArn(ComputeRoleArnT&& value) {
601 m_computeRoleArnHasBeenSet = true;
602 m_computeRoleArn = std::forward<ComputeRoleArnT>(value);
603 }
604 template <typename ComputeRoleArnT = Aws::String>
605 Branch& WithComputeRoleArn(ComputeRoleArnT&& value) {
606 SetComputeRoleArn(std::forward<ComputeRoleArnT>(value));
607 return *this;
608 }
610 private:
611 Aws::String m_branchArn;
612
613 Aws::String m_branchName;
614
615 Aws::String m_description;
616
618
619 Stage m_stage{Stage::NOT_SET};
620
621 Aws::String m_displayName;
622
623 bool m_enableNotification{false};
624
625 Aws::Utils::DateTime m_createTime{};
626
627 Aws::Utils::DateTime m_updateTime{};
628
629 Aws::Map<Aws::String, Aws::String> m_environmentVariables;
630
631 bool m_enableAutoBuild{false};
632
633 bool m_enableSkewProtection{false};
634
635 Aws::Vector<Aws::String> m_customDomains;
636
637 Aws::String m_framework;
638
639 Aws::String m_activeJobId;
640
641 Aws::String m_totalNumberOfJobs;
642
643 bool m_enableBasicAuth{false};
644
645 bool m_enablePerformanceMode{false};
646
647 Aws::String m_thumbnailUrl;
648
649 Aws::String m_basicAuthCredentials;
650
651 Aws::String m_buildSpec;
652
653 Aws::String m_ttl;
654
655 Aws::Vector<Aws::String> m_associatedResources;
656
657 bool m_enablePullRequestPreview{false};
658
659 Aws::String m_pullRequestEnvironmentName;
660
661 Aws::String m_destinationBranch;
662
663 Aws::String m_sourceBranch;
664
665 Aws::String m_backendEnvironmentArn;
666
667 Backend m_backend;
668
669 Aws::String m_computeRoleArn;
670 bool m_branchArnHasBeenSet = false;
671 bool m_branchNameHasBeenSet = false;
672 bool m_descriptionHasBeenSet = false;
673 bool m_tagsHasBeenSet = false;
674 bool m_stageHasBeenSet = false;
675 bool m_displayNameHasBeenSet = false;
676 bool m_enableNotificationHasBeenSet = false;
677 bool m_createTimeHasBeenSet = false;
678 bool m_updateTimeHasBeenSet = false;
679 bool m_environmentVariablesHasBeenSet = false;
680 bool m_enableAutoBuildHasBeenSet = false;
681 bool m_enableSkewProtectionHasBeenSet = false;
682 bool m_customDomainsHasBeenSet = false;
683 bool m_frameworkHasBeenSet = false;
684 bool m_activeJobIdHasBeenSet = false;
685 bool m_totalNumberOfJobsHasBeenSet = false;
686 bool m_enableBasicAuthHasBeenSet = false;
687 bool m_enablePerformanceModeHasBeenSet = false;
688 bool m_thumbnailUrlHasBeenSet = false;
689 bool m_basicAuthCredentialsHasBeenSet = false;
690 bool m_buildSpecHasBeenSet = false;
691 bool m_ttlHasBeenSet = false;
692 bool m_associatedResourcesHasBeenSet = false;
693 bool m_enablePullRequestPreviewHasBeenSet = false;
694 bool m_pullRequestEnvironmentNameHasBeenSet = false;
695 bool m_destinationBranchHasBeenSet = false;
696 bool m_sourceBranchHasBeenSet = false;
697 bool m_backendEnvironmentArnHasBeenSet = false;
698 bool m_backendHasBeenSet = false;
699 bool m_computeRoleArnHasBeenSet = false;
700};
701
702} // namespace Model
703} // namespace Amplify
704} // namespace Aws
bool ComputeRoleArnHasBeenSet() const
Definition Branch.h:598
void SetTags(TagsT &&value)
Definition Branch.h:102
bool TotalNumberOfJobsHasBeenSet() const
Definition Branch.h:334
Branch & AddAssociatedResources(AssociatedResourcesT &&value)
Definition Branch.h:474
void SetFramework(FrameworkT &&value)
Definition Branch.h:300
bool AssociatedResourcesHasBeenSet() const
Definition Branch.h:462
const Aws::String & GetBasicAuthCredentials() const
Definition Branch.h:406
Branch & WithCreateTime(CreateTimeT &&value)
Definition Branch.h:182
void SetActiveJobId(ActiveJobIdT &&value)
Definition Branch.h:318
void SetEnableSkewProtection(bool value)
Definition Branch.h:259
const Aws::String & GetThumbnailUrl() const
Definition Branch.h:386
Branch & WithTags(TagsT &&value)
Definition Branch.h:107
bool GetEnableAutoBuild() const
Definition Branch.h:234
bool ThumbnailUrlHasBeenSet() const
Definition Branch.h:387
void SetStage(Stage value)
Definition Branch.h:125
Branch & WithDisplayName(DisplayNameT &&value)
Definition Branch.h:148
Branch & WithPullRequestEnvironmentName(PullRequestEnvironmentNameT &&value)
Definition Branch.h:509
bool EnableNotificationHasBeenSet() const
Definition Branch.h:159
void SetBranchArn(BranchArnT &&value)
Definition Branch.h:48
const Aws::String & GetTtl() const
Definition Branch.h:443
bool UpdateTimeHasBeenSet() const
Definition Branch.h:193
void SetSourceBranch(SourceBranchT &&value)
Definition Branch.h:540
void SetAssociatedResources(AssociatedResourcesT &&value)
Definition Branch.h:464
void SetBackendEnvironmentArn(BackendEnvironmentArnT &&value)
Definition Branch.h:561
void SetPullRequestEnvironmentName(PullRequestEnvironmentNameT &&value)
Definition Branch.h:504
void SetBasicAuthCredentials(BasicAuthCredentialsT &&value)
Definition Branch.h:409
Branch & WithBackend(BackendT &&value)
Definition Branch.h:582
Branch & AddEnvironmentVariables(EnvironmentVariablesKeyT &&key, EnvironmentVariablesValueT &&value)
Definition Branch.h:223
bool BuildSpecHasBeenSet() const
Definition Branch.h:426
void SetDestinationBranch(DestinationBranchT &&value)
Definition Branch.h:522
Branch & WithAssociatedResources(AssociatedResourcesT &&value)
Definition Branch.h:469
bool EnableSkewProtectionHasBeenSet() const
Definition Branch.h:258
Branch & WithTotalNumberOfJobs(TotalNumberOfJobsT &&value)
Definition Branch.h:341
void SetEnablePerformanceMode(bool value)
Definition Branch.h:372
void SetEnableNotification(bool value)
Definition Branch.h:160
Branch & WithEnableNotification(bool value)
Definition Branch.h:164
void SetUpdateTime(UpdateTimeT &&value)
Definition Branch.h:195
AWS_AMPLIFY_API Branch(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTotalNumberOfJobs() const
Definition Branch.h:333
bool TagsHasBeenSet() const
Definition Branch.h:100
Branch & WithFramework(FrameworkT &&value)
Definition Branch.h:305
bool GetEnableBasicAuth() const
Definition Branch.h:351
const Aws::String & GetBranchName() const
Definition Branch.h:63
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
Definition Branch.h:213
Branch & WithActiveJobId(ActiveJobIdT &&value)
Definition Branch.h:323
bool CustomDomainsHasBeenSet() const
Definition Branch.h:274
Branch & WithDescription(DescriptionT &&value)
Definition Branch.h:89
Branch & WithDestinationBranch(DestinationBranchT &&value)
Definition Branch.h:527
Branch & WithEnablePerformanceMode(bool value)
Definition Branch.h:376
bool BackendEnvironmentArnHasBeenSet() const
Definition Branch.h:559
void SetTtl(TtlT &&value)
Definition Branch.h:446
bool EnableAutoBuildHasBeenSet() const
Definition Branch.h:235
void SetComputeRoleArn(ComputeRoleArnT &&value)
Definition Branch.h:600
Branch & WithEnablePullRequestPreview(bool value)
Definition Branch.h:491
Branch & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Branch.h:112
void SetThumbnailUrl(ThumbnailUrlT &&value)
Definition Branch.h:389
Branch & WithUpdateTime(UpdateTimeT &&value)
Definition Branch.h:200
void SetBackend(BackendT &&value)
Definition Branch.h:577
Branch & WithCustomDomains(CustomDomainsT &&value)
Definition Branch.h:281
bool FrameworkHasBeenSet() const
Definition Branch.h:298
bool EnvironmentVariablesHasBeenSet() const
Definition Branch.h:211
const Backend & GetBackend() const
Definition Branch.h:574
bool BranchArnHasBeenSet() const
Definition Branch.h:46
bool BranchNameHasBeenSet() const
Definition Branch.h:64
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Branch.h:99
bool GetEnablePullRequestPreview() const
Definition Branch.h:485
const Aws::String & GetActiveJobId() const
Definition Branch.h:315
Branch & WithBasicAuthCredentials(BasicAuthCredentialsT &&value)
Definition Branch.h:414
const Aws::String & GetSourceBranch() const
Definition Branch.h:537
const Aws::String & GetPullRequestEnvironmentName() const
Definition Branch.h:501
bool BackendHasBeenSet() const
Definition Branch.h:575
AWS_AMPLIFY_API Branch()=default
const Aws::String & GetBranchArn() const
Definition Branch.h:45
void SetEnableAutoBuild(bool value)
Definition Branch.h:236
bool PullRequestEnvironmentNameHasBeenSet() const
Definition Branch.h:502
void SetDescription(DescriptionT &&value)
Definition Branch.h:84
bool TtlHasBeenSet() const
Definition Branch.h:444
Branch & WithBranchArn(BranchArnT &&value)
Definition Branch.h:53
bool ActiveJobIdHasBeenSet() const
Definition Branch.h:316
bool BasicAuthCredentialsHasBeenSet() const
Definition Branch.h:407
Branch & WithEnableSkewProtection(bool value)
Definition Branch.h:263
void SetCustomDomains(CustomDomainsT &&value)
Definition Branch.h:276
void SetBuildSpec(BuildSpecT &&value)
Definition Branch.h:428
bool DestinationBranchHasBeenSet() const
Definition Branch.h:520
bool GetEnablePerformanceMode() const
Definition Branch.h:370
Stage GetStage() const
Definition Branch.h:123
Branch & AddCustomDomains(CustomDomainsT &&value)
Definition Branch.h:286
bool DescriptionHasBeenSet() const
Definition Branch.h:82
Branch & WithSourceBranch(SourceBranchT &&value)
Definition Branch.h:545
Branch & WithEnvironmentVariables(EnvironmentVariablesT &&value)
Definition Branch.h:218
bool StageHasBeenSet() const
Definition Branch.h:124
const Aws::String & GetDestinationBranch() const
Definition Branch.h:519
bool GetEnableNotification() const
Definition Branch.h:158
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetFramework() const
Definition Branch.h:297
const Aws::String & GetDescription() const
Definition Branch.h:81
Branch & WithThumbnailUrl(ThumbnailUrlT &&value)
Definition Branch.h:394
void SetBranchName(BranchNameT &&value)
Definition Branch.h:66
const Aws::String & GetBuildSpec() const
Definition Branch.h:425
const Aws::Vector< Aws::String > & GetCustomDomains() const
Definition Branch.h:273
Branch & WithBuildSpec(BuildSpecT &&value)
Definition Branch.h:433
const Aws::Utils::DateTime & GetUpdateTime() const
Definition Branch.h:192
const Aws::String & GetComputeRoleArn() const
Definition Branch.h:597
const Aws::String & GetBackendEnvironmentArn() const
Definition Branch.h:558
Branch & WithStage(Stage value)
Definition Branch.h:129
bool SourceBranchHasBeenSet() const
Definition Branch.h:538
AWS_AMPLIFY_API Branch & operator=(Aws::Utils::Json::JsonView jsonValue)
Branch & WithComputeRoleArn(ComputeRoleArnT &&value)
Definition Branch.h:605
Branch & WithTtl(TtlT &&value)
Definition Branch.h:451
bool GetEnableSkewProtection() const
Definition Branch.h:257
void SetCreateTime(CreateTimeT &&value)
Definition Branch.h:177
void SetEnableBasicAuth(bool value)
Definition Branch.h:353
bool CreateTimeHasBeenSet() const
Definition Branch.h:175
bool DisplayNameHasBeenSet() const
Definition Branch.h:141
Branch & WithBranchName(BranchNameT &&value)
Definition Branch.h:71
void SetEnablePullRequestPreview(bool value)
Definition Branch.h:487
const Aws::String & GetDisplayName() const
Definition Branch.h:140
Branch & WithEnableBasicAuth(bool value)
Definition Branch.h:357
bool EnablePullRequestPreviewHasBeenSet() const
Definition Branch.h:486
const Aws::Vector< Aws::String > & GetAssociatedResources() const
Definition Branch.h:461
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
Definition Branch.h:210
const Aws::Utils::DateTime & GetCreateTime() const
Definition Branch.h:174
Branch & WithEnableAutoBuild(bool value)
Definition Branch.h:240
bool EnableBasicAuthHasBeenSet() const
Definition Branch.h:352
void SetTotalNumberOfJobs(TotalNumberOfJobsT &&value)
Definition Branch.h:336
void SetDisplayName(DisplayNameT &&value)
Definition Branch.h:143
Branch & WithBackendEnvironmentArn(BackendEnvironmentArnT &&value)
Definition Branch.h:566
bool EnablePerformanceModeHasBeenSet() const
Definition Branch.h:371
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