AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Stack.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/cloudformation/model/RollbackConfiguration.h>
13#include <aws/cloudformation/model/StackStatus.h>
14#include <aws/cloudformation/model/StackDriftInformation.h>
15#include <aws/cloudformation/model/DeletionMode.h>
16#include <aws/cloudformation/model/DetailedStatus.h>
17#include <aws/cloudformation/model/Parameter.h>
18#include <aws/cloudformation/model/Capability.h>
19#include <aws/cloudformation/model/Output.h>
20#include <aws/cloudformation/model/Tag.h>
21#include <utility>
22
23namespace Aws
24{
25namespace Utils
26{
27namespace Xml
28{
29 class XmlNode;
30} // namespace Xml
31} // namespace Utils
32namespace CloudFormation
33{
34namespace Model
35{
36
42 class Stack
43 {
44 public:
45 AWS_CLOUDFORMATION_API Stack();
46 AWS_CLOUDFORMATION_API Stack(const Aws::Utils::Xml::XmlNode& xmlNode);
47 AWS_CLOUDFORMATION_API Stack& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
48
49 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
50 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
51
52
54
57 inline const Aws::String& GetStackId() const{ return m_stackId; }
58 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
59 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
60 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
61 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
62 inline Stack& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
63 inline Stack& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
64 inline Stack& WithStackId(const char* value) { SetStackId(value); return *this;}
66
68
71 inline const Aws::String& GetStackName() const{ return m_stackName; }
72 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
73 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
74 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
75 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
76 inline Stack& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
77 inline Stack& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
78 inline Stack& WithStackName(const char* value) { SetStackName(value); return *this;}
80
82
85 inline const Aws::String& GetChangeSetId() const{ return m_changeSetId; }
86 inline bool ChangeSetIdHasBeenSet() const { return m_changeSetIdHasBeenSet; }
87 inline void SetChangeSetId(const Aws::String& value) { m_changeSetIdHasBeenSet = true; m_changeSetId = value; }
88 inline void SetChangeSetId(Aws::String&& value) { m_changeSetIdHasBeenSet = true; m_changeSetId = std::move(value); }
89 inline void SetChangeSetId(const char* value) { m_changeSetIdHasBeenSet = true; m_changeSetId.assign(value); }
90 inline Stack& WithChangeSetId(const Aws::String& value) { SetChangeSetId(value); return *this;}
91 inline Stack& WithChangeSetId(Aws::String&& value) { SetChangeSetId(std::move(value)); return *this;}
92 inline Stack& WithChangeSetId(const char* value) { SetChangeSetId(value); return *this;}
94
96
99 inline const Aws::String& GetDescription() const{ return m_description; }
100 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
101 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
102 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
103 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
104 inline Stack& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
105 inline Stack& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
106 inline Stack& WithDescription(const char* value) { SetDescription(value); return *this;}
108
110
113 inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
114 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
115 inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
116 inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
117 inline Stack& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
118 inline Stack& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
119 inline Stack& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
120 inline Stack& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
122
124
127 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
128 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
129 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
130 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
131 inline Stack& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
132 inline Stack& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetDeletionTime() const{ return m_deletionTime; }
140 inline bool DeletionTimeHasBeenSet() const { return m_deletionTimeHasBeenSet; }
141 inline void SetDeletionTime(const Aws::Utils::DateTime& value) { m_deletionTimeHasBeenSet = true; m_deletionTime = value; }
142 inline void SetDeletionTime(Aws::Utils::DateTime&& value) { m_deletionTimeHasBeenSet = true; m_deletionTime = std::move(value); }
143 inline Stack& WithDeletionTime(const Aws::Utils::DateTime& value) { SetDeletionTime(value); return *this;}
144 inline Stack& WithDeletionTime(Aws::Utils::DateTime&& value) { SetDeletionTime(std::move(value)); return *this;}
146
148
152 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
153 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
154 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
155 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
156 inline Stack& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
157 inline Stack& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
159
161
165 inline const RollbackConfiguration& GetRollbackConfiguration() const{ return m_rollbackConfiguration; }
166 inline bool RollbackConfigurationHasBeenSet() const { return m_rollbackConfigurationHasBeenSet; }
167 inline void SetRollbackConfiguration(const RollbackConfiguration& value) { m_rollbackConfigurationHasBeenSet = true; m_rollbackConfiguration = value; }
168 inline void SetRollbackConfiguration(RollbackConfiguration&& value) { m_rollbackConfigurationHasBeenSet = true; m_rollbackConfiguration = std::move(value); }
170 inline Stack& WithRollbackConfiguration(RollbackConfiguration&& value) { SetRollbackConfiguration(std::move(value)); return *this;}
172
174
177 inline const StackStatus& GetStackStatus() const{ return m_stackStatus; }
178 inline bool StackStatusHasBeenSet() const { return m_stackStatusHasBeenSet; }
179 inline void SetStackStatus(const StackStatus& value) { m_stackStatusHasBeenSet = true; m_stackStatus = value; }
180 inline void SetStackStatus(StackStatus&& value) { m_stackStatusHasBeenSet = true; m_stackStatus = std::move(value); }
181 inline Stack& WithStackStatus(const StackStatus& value) { SetStackStatus(value); return *this;}
182 inline Stack& WithStackStatus(StackStatus&& value) { SetStackStatus(std::move(value)); return *this;}
184
186
189 inline const Aws::String& GetStackStatusReason() const{ return m_stackStatusReason; }
190 inline bool StackStatusReasonHasBeenSet() const { return m_stackStatusReasonHasBeenSet; }
191 inline void SetStackStatusReason(const Aws::String& value) { m_stackStatusReasonHasBeenSet = true; m_stackStatusReason = value; }
192 inline void SetStackStatusReason(Aws::String&& value) { m_stackStatusReasonHasBeenSet = true; m_stackStatusReason = std::move(value); }
193 inline void SetStackStatusReason(const char* value) { m_stackStatusReasonHasBeenSet = true; m_stackStatusReason.assign(value); }
194 inline Stack& WithStackStatusReason(const Aws::String& value) { SetStackStatusReason(value); return *this;}
195 inline Stack& WithStackStatusReason(Aws::String&& value) { SetStackStatusReason(std::move(value)); return *this;}
196 inline Stack& WithStackStatusReason(const char* value) { SetStackStatusReason(value); return *this;}
198
200
205 inline bool GetDisableRollback() const{ return m_disableRollback; }
206 inline bool DisableRollbackHasBeenSet() const { return m_disableRollbackHasBeenSet; }
207 inline void SetDisableRollback(bool value) { m_disableRollbackHasBeenSet = true; m_disableRollback = value; }
208 inline Stack& WithDisableRollback(bool value) { SetDisableRollback(value); return *this;}
210
212
216 inline const Aws::Vector<Aws::String>& GetNotificationARNs() const{ return m_notificationARNs; }
217 inline bool NotificationARNsHasBeenSet() const { return m_notificationARNsHasBeenSet; }
218 inline void SetNotificationARNs(const Aws::Vector<Aws::String>& value) { m_notificationARNsHasBeenSet = true; m_notificationARNs = value; }
219 inline void SetNotificationARNs(Aws::Vector<Aws::String>&& value) { m_notificationARNsHasBeenSet = true; m_notificationARNs = std::move(value); }
220 inline Stack& WithNotificationARNs(const Aws::Vector<Aws::String>& value) { SetNotificationARNs(value); return *this;}
221 inline Stack& WithNotificationARNs(Aws::Vector<Aws::String>&& value) { SetNotificationARNs(std::move(value)); return *this;}
222 inline Stack& AddNotificationARNs(const Aws::String& value) { m_notificationARNsHasBeenSet = true; m_notificationARNs.push_back(value); return *this; }
223 inline Stack& AddNotificationARNs(Aws::String&& value) { m_notificationARNsHasBeenSet = true; m_notificationARNs.push_back(std::move(value)); return *this; }
224 inline Stack& AddNotificationARNs(const char* value) { m_notificationARNsHasBeenSet = true; m_notificationARNs.push_back(value); return *this; }
226
228
231 inline int GetTimeoutInMinutes() const{ return m_timeoutInMinutes; }
232 inline bool TimeoutInMinutesHasBeenSet() const { return m_timeoutInMinutesHasBeenSet; }
233 inline void SetTimeoutInMinutes(int value) { m_timeoutInMinutesHasBeenSet = true; m_timeoutInMinutes = value; }
234 inline Stack& WithTimeoutInMinutes(int value) { SetTimeoutInMinutes(value); return *this;}
236
238
241 inline const Aws::Vector<Capability>& GetCapabilities() const{ return m_capabilities; }
242 inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; }
243 inline void SetCapabilities(const Aws::Vector<Capability>& value) { m_capabilitiesHasBeenSet = true; m_capabilities = value; }
244 inline void SetCapabilities(Aws::Vector<Capability>&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::move(value); }
245 inline Stack& WithCapabilities(const Aws::Vector<Capability>& value) { SetCapabilities(value); return *this;}
246 inline Stack& WithCapabilities(Aws::Vector<Capability>&& value) { SetCapabilities(std::move(value)); return *this;}
247 inline Stack& AddCapabilities(const Capability& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; }
248 inline Stack& AddCapabilities(Capability&& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(std::move(value)); return *this; }
250
252
255 inline const Aws::Vector<Output>& GetOutputs() const{ return m_outputs; }
256 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
257 inline void SetOutputs(const Aws::Vector<Output>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
258 inline void SetOutputs(Aws::Vector<Output>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
259 inline Stack& WithOutputs(const Aws::Vector<Output>& value) { SetOutputs(value); return *this;}
260 inline Stack& WithOutputs(Aws::Vector<Output>&& value) { SetOutputs(std::move(value)); return *this;}
261 inline Stack& AddOutputs(const Output& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
262 inline Stack& AddOutputs(Output&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
264
266
271 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
272 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
273 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
274 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
275 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
276 inline Stack& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
277 inline Stack& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
278 inline Stack& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
280
282
285 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
286 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
287 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
288 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
289 inline Stack& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
290 inline Stack& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
291 inline Stack& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
292 inline Stack& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
294
296
305 inline bool GetEnableTerminationProtection() const{ return m_enableTerminationProtection; }
306 inline bool EnableTerminationProtectionHasBeenSet() const { return m_enableTerminationProtectionHasBeenSet; }
307 inline void SetEnableTerminationProtection(bool value) { m_enableTerminationProtectionHasBeenSet = true; m_enableTerminationProtection = value; }
308 inline Stack& WithEnableTerminationProtection(bool value) { SetEnableTerminationProtection(value); return *this;}
310
312
320 inline const Aws::String& GetParentId() const{ return m_parentId; }
321 inline bool ParentIdHasBeenSet() const { return m_parentIdHasBeenSet; }
322 inline void SetParentId(const Aws::String& value) { m_parentIdHasBeenSet = true; m_parentId = value; }
323 inline void SetParentId(Aws::String&& value) { m_parentIdHasBeenSet = true; m_parentId = std::move(value); }
324 inline void SetParentId(const char* value) { m_parentIdHasBeenSet = true; m_parentId.assign(value); }
325 inline Stack& WithParentId(const Aws::String& value) { SetParentId(value); return *this;}
326 inline Stack& WithParentId(Aws::String&& value) { SetParentId(std::move(value)); return *this;}
327 inline Stack& WithParentId(const char* value) { SetParentId(value); return *this;}
329
331
339 inline const Aws::String& GetRootId() const{ return m_rootId; }
340 inline bool RootIdHasBeenSet() const { return m_rootIdHasBeenSet; }
341 inline void SetRootId(const Aws::String& value) { m_rootIdHasBeenSet = true; m_rootId = value; }
342 inline void SetRootId(Aws::String&& value) { m_rootIdHasBeenSet = true; m_rootId = std::move(value); }
343 inline void SetRootId(const char* value) { m_rootIdHasBeenSet = true; m_rootId.assign(value); }
344 inline Stack& WithRootId(const Aws::String& value) { SetRootId(value); return *this;}
345 inline Stack& WithRootId(Aws::String&& value) { SetRootId(std::move(value)); return *this;}
346 inline Stack& WithRootId(const char* value) { SetRootId(value); return *this;}
348
350
359 inline const StackDriftInformation& GetDriftInformation() const{ return m_driftInformation; }
360 inline bool DriftInformationHasBeenSet() const { return m_driftInformationHasBeenSet; }
361 inline void SetDriftInformation(const StackDriftInformation& value) { m_driftInformationHasBeenSet = true; m_driftInformation = value; }
362 inline void SetDriftInformation(StackDriftInformation&& value) { m_driftInformationHasBeenSet = true; m_driftInformation = std::move(value); }
363 inline Stack& WithDriftInformation(const StackDriftInformation& value) { SetDriftInformation(value); return *this;}
364 inline Stack& WithDriftInformation(StackDriftInformation&& value) { SetDriftInformation(std::move(value)); return *this;}
366
368
373 inline bool GetRetainExceptOnCreate() const{ return m_retainExceptOnCreate; }
374 inline bool RetainExceptOnCreateHasBeenSet() const { return m_retainExceptOnCreateHasBeenSet; }
375 inline void SetRetainExceptOnCreate(bool value) { m_retainExceptOnCreateHasBeenSet = true; m_retainExceptOnCreate = value; }
376 inline Stack& WithRetainExceptOnCreate(bool value) { SetRetainExceptOnCreate(value); return *this;}
378
380
388 inline const DeletionMode& GetDeletionMode() const{ return m_deletionMode; }
389 inline bool DeletionModeHasBeenSet() const { return m_deletionModeHasBeenSet; }
390 inline void SetDeletionMode(const DeletionMode& value) { m_deletionModeHasBeenSet = true; m_deletionMode = value; }
391 inline void SetDeletionMode(DeletionMode&& value) { m_deletionModeHasBeenSet = true; m_deletionMode = std::move(value); }
392 inline Stack& WithDeletionMode(const DeletionMode& value) { SetDeletionMode(value); return *this;}
393 inline Stack& WithDeletionMode(DeletionMode&& value) { SetDeletionMode(std::move(value)); return *this;}
395
397
407 inline const DetailedStatus& GetDetailedStatus() const{ return m_detailedStatus; }
408 inline bool DetailedStatusHasBeenSet() const { return m_detailedStatusHasBeenSet; }
409 inline void SetDetailedStatus(const DetailedStatus& value) { m_detailedStatusHasBeenSet = true; m_detailedStatus = value; }
410 inline void SetDetailedStatus(DetailedStatus&& value) { m_detailedStatusHasBeenSet = true; m_detailedStatus = std::move(value); }
411 inline Stack& WithDetailedStatus(const DetailedStatus& value) { SetDetailedStatus(value); return *this;}
412 inline Stack& WithDetailedStatus(DetailedStatus&& value) { SetDetailedStatus(std::move(value)); return *this;}
414 private:
415
416 Aws::String m_stackId;
417 bool m_stackIdHasBeenSet = false;
418
419 Aws::String m_stackName;
420 bool m_stackNameHasBeenSet = false;
421
422 Aws::String m_changeSetId;
423 bool m_changeSetIdHasBeenSet = false;
424
425 Aws::String m_description;
426 bool m_descriptionHasBeenSet = false;
427
428 Aws::Vector<Parameter> m_parameters;
429 bool m_parametersHasBeenSet = false;
430
431 Aws::Utils::DateTime m_creationTime;
432 bool m_creationTimeHasBeenSet = false;
433
434 Aws::Utils::DateTime m_deletionTime;
435 bool m_deletionTimeHasBeenSet = false;
436
437 Aws::Utils::DateTime m_lastUpdatedTime;
438 bool m_lastUpdatedTimeHasBeenSet = false;
439
440 RollbackConfiguration m_rollbackConfiguration;
441 bool m_rollbackConfigurationHasBeenSet = false;
442
443 StackStatus m_stackStatus;
444 bool m_stackStatusHasBeenSet = false;
445
446 Aws::String m_stackStatusReason;
447 bool m_stackStatusReasonHasBeenSet = false;
448
449 bool m_disableRollback;
450 bool m_disableRollbackHasBeenSet = false;
451
452 Aws::Vector<Aws::String> m_notificationARNs;
453 bool m_notificationARNsHasBeenSet = false;
454
455 int m_timeoutInMinutes;
456 bool m_timeoutInMinutesHasBeenSet = false;
457
458 Aws::Vector<Capability> m_capabilities;
459 bool m_capabilitiesHasBeenSet = false;
460
461 Aws::Vector<Output> m_outputs;
462 bool m_outputsHasBeenSet = false;
463
464 Aws::String m_roleARN;
465 bool m_roleARNHasBeenSet = false;
466
467 Aws::Vector<Tag> m_tags;
468 bool m_tagsHasBeenSet = false;
469
470 bool m_enableTerminationProtection;
471 bool m_enableTerminationProtectionHasBeenSet = false;
472
473 Aws::String m_parentId;
474 bool m_parentIdHasBeenSet = false;
475
476 Aws::String m_rootId;
477 bool m_rootIdHasBeenSet = false;
478
479 StackDriftInformation m_driftInformation;
480 bool m_driftInformationHasBeenSet = false;
481
482 bool m_retainExceptOnCreate;
483 bool m_retainExceptOnCreateHasBeenSet = false;
484
485 DeletionMode m_deletionMode;
486 bool m_deletionModeHasBeenSet = false;
487
488 DetailedStatus m_detailedStatus;
489 bool m_detailedStatusHasBeenSet = false;
490 };
491
492} // namespace Model
493} // namespace CloudFormation
494} // namespace Aws
void SetDriftInformation(StackDriftInformation &&value)
Definition Stack.h:362
Stack & AddNotificationARNs(const char *value)
Definition Stack.h:224
Stack & WithStackId(Aws::String &&value)
Definition Stack.h:63
const DetailedStatus & GetDetailedStatus() const
Definition Stack.h:407
Stack & WithChangeSetId(const char *value)
Definition Stack.h:92
Stack & AddOutputs(const Output &value)
Definition Stack.h:261
Stack & WithDriftInformation(const StackDriftInformation &value)
Definition Stack.h:363
const Aws::Utils::DateTime & GetCreationTime() const
Definition Stack.h:127
const Aws::Vector< Output > & GetOutputs() const
Definition Stack.h:255
void SetStackId(Aws::String &&value)
Definition Stack.h:60
void SetDetailedStatus(DetailedStatus &&value)
Definition Stack.h:410
Stack & WithDetailedStatus(DetailedStatus &&value)
Definition Stack.h:412
void SetRollbackConfiguration(RollbackConfiguration &&value)
Definition Stack.h:168
const Aws::String & GetRoleARN() const
Definition Stack.h:271
void SetDisableRollback(bool value)
Definition Stack.h:207
Stack & WithRootId(Aws::String &&value)
Definition Stack.h:345
Stack & WithStackStatusReason(const char *value)
Definition Stack.h:196
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition Stack.h:129
Stack & WithRoleARN(const Aws::String &value)
Definition Stack.h:276
void SetRootId(Aws::String &&value)
Definition Stack.h:342
Stack & WithStackId(const Aws::String &value)
Definition Stack.h:62
void SetStackStatusReason(const Aws::String &value)
Definition Stack.h:191
Stack & AddParameters(Parameter &&value)
Definition Stack.h:120
void SetChangeSetId(const Aws::String &value)
Definition Stack.h:87
void SetEnableTerminationProtection(bool value)
Definition Stack.h:307
bool ParametersHasBeenSet() const
Definition Stack.h:114
const Aws::Vector< Aws::String > & GetNotificationARNs() const
Definition Stack.h:216
void SetParameters(Aws::Vector< Parameter > &&value)
Definition Stack.h:116
Stack & WithCapabilities(Aws::Vector< Capability > &&value)
Definition Stack.h:246
Stack & WithChangeSetId(const Aws::String &value)
Definition Stack.h:90
void SetDriftInformation(const StackDriftInformation &value)
Definition Stack.h:361
bool DescriptionHasBeenSet() const
Definition Stack.h:100
Stack & WithTags(const Aws::Vector< Tag > &value)
Definition Stack.h:289
Stack & WithRollbackConfiguration(const RollbackConfiguration &value)
Definition Stack.h:169
void SetRoleARN(const Aws::String &value)
Definition Stack.h:273
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Stack & WithDescription(const char *value)
Definition Stack.h:106
void SetOutputs(const Aws::Vector< Output > &value)
Definition Stack.h:257
void SetStackId(const char *value)
Definition Stack.h:61
void SetDeletionTime(const Aws::Utils::DateTime &value)
Definition Stack.h:141
const Aws::String & GetStackId() const
Definition Stack.h:57
AWS_CLOUDFORMATION_API Stack()
bool ChangeSetIdHasBeenSet() const
Definition Stack.h:86
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition Stack.h:152
void SetOutputs(Aws::Vector< Output > &&value)
Definition Stack.h:258
void SetNotificationARNs(Aws::Vector< Aws::String > &&value)
Definition Stack.h:219
bool StackNameHasBeenSet() const
Definition Stack.h:72
void SetStackStatus(const StackStatus &value)
Definition Stack.h:179
Stack & AddCapabilities(Capability &&value)
Definition Stack.h:248
const StackDriftInformation & GetDriftInformation() const
Definition Stack.h:359
bool DetailedStatusHasBeenSet() const
Definition Stack.h:408
void SetDescription(const char *value)
Definition Stack.h:103
bool DeletionModeHasBeenSet() const
Definition Stack.h:389
void SetCapabilities(Aws::Vector< Capability > &&value)
Definition Stack.h:244
Stack & WithDeletionMode(DeletionMode &&value)
Definition Stack.h:393
Stack & WithCapabilities(const Aws::Vector< Capability > &value)
Definition Stack.h:245
void SetRollbackConfiguration(const RollbackConfiguration &value)
Definition Stack.h:167
Stack & WithRoleARN(const char *value)
Definition Stack.h:278
void SetStackStatusReason(const char *value)
Definition Stack.h:193
void SetStackStatusReason(Aws::String &&value)
Definition Stack.h:192
Stack & WithCreationTime(Aws::Utils::DateTime &&value)
Definition Stack.h:132
const Aws::Vector< Capability > & GetCapabilities() const
Definition Stack.h:241
Stack & WithChangeSetId(Aws::String &&value)
Definition Stack.h:91
const Aws::String & GetParentId() const
Definition Stack.h:320
void SetRoleARN(Aws::String &&value)
Definition Stack.h:274
Stack & WithStackStatusReason(Aws::String &&value)
Definition Stack.h:195
const Aws::String & GetRootId() const
Definition Stack.h:339
void SetDescription(Aws::String &&value)
Definition Stack.h:102
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition Stack.h:154
Stack & WithNotificationARNs(const Aws::Vector< Aws::String > &value)
Definition Stack.h:220
Stack & WithRootId(const char *value)
Definition Stack.h:346
Stack & WithDriftInformation(StackDriftInformation &&value)
Definition Stack.h:364
void SetTags(Aws::Vector< Tag > &&value)
Definition Stack.h:288
Stack & WithParameters(Aws::Vector< Parameter > &&value)
Definition Stack.h:118
void SetDetailedStatus(const DetailedStatus &value)
Definition Stack.h:409
void SetChangeSetId(Aws::String &&value)
Definition Stack.h:88
Stack & WithStackId(const char *value)
Definition Stack.h:64
Stack & WithTimeoutInMinutes(int value)
Definition Stack.h:234
void SetParentId(Aws::String &&value)
Definition Stack.h:323
Stack & WithParentId(const char *value)
Definition Stack.h:327
void SetTimeoutInMinutes(int value)
Definition Stack.h:233
void SetRetainExceptOnCreate(bool value)
Definition Stack.h:375
void SetDescription(const Aws::String &value)
Definition Stack.h:101
bool TimeoutInMinutesHasBeenSet() const
Definition Stack.h:232
Stack & WithRoleARN(Aws::String &&value)
Definition Stack.h:277
Stack & WithDescription(Aws::String &&value)
Definition Stack.h:105
Stack & WithDeletionMode(const DeletionMode &value)
Definition Stack.h:392
Stack & AddOutputs(Output &&value)
Definition Stack.h:262
Stack & WithDescription(const Aws::String &value)
Definition Stack.h:104
const RollbackConfiguration & GetRollbackConfiguration() const
Definition Stack.h:165
bool CreationTimeHasBeenSet() const
Definition Stack.h:128
Stack & AddTags(const Tag &value)
Definition Stack.h:291
const Aws::Vector< Tag > & GetTags() const
Definition Stack.h:285
Stack & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition Stack.h:156
Stack & WithDeletionTime(Aws::Utils::DateTime &&value)
Definition Stack.h:144
bool EnableTerminationProtectionHasBeenSet() const
Definition Stack.h:306
bool RetainExceptOnCreateHasBeenSet() const
Definition Stack.h:374
AWS_CLOUDFORMATION_API Stack(const Aws::Utils::Xml::XmlNode &xmlNode)
Stack & WithParameters(const Aws::Vector< Parameter > &value)
Definition Stack.h:117
void SetTags(const Aws::Vector< Tag > &value)
Definition Stack.h:287
Stack & WithStackName(const char *value)
Definition Stack.h:78
const Aws::Utils::DateTime & GetDeletionTime() const
Definition Stack.h:139
const Aws::String & GetStackName() const
Definition Stack.h:71
Stack & WithOutputs(const Aws::Vector< Output > &value)
Definition Stack.h:259
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition Stack.h:155
const StackStatus & GetStackStatus() const
Definition Stack.h:177
Stack & AddTags(Tag &&value)
Definition Stack.h:292
void SetParentId(const char *value)
Definition Stack.h:324
bool DeletionTimeHasBeenSet() const
Definition Stack.h:140
Stack & WithStackName(const Aws::String &value)
Definition Stack.h:76
bool NotificationARNsHasBeenSet() const
Definition Stack.h:217
Stack & WithDeletionTime(const Aws::Utils::DateTime &value)
Definition Stack.h:143
void SetParameters(const Aws::Vector< Parameter > &value)
Definition Stack.h:115
bool CapabilitiesHasBeenSet() const
Definition Stack.h:242
void SetStackStatus(StackStatus &&value)
Definition Stack.h:180
bool RollbackConfigurationHasBeenSet() const
Definition Stack.h:166
bool DriftInformationHasBeenSet() const
Definition Stack.h:360
void SetStackName(const Aws::String &value)
Definition Stack.h:73
bool StackStatusReasonHasBeenSet() const
Definition Stack.h:190
Stack & WithStackStatusReason(const Aws::String &value)
Definition Stack.h:194
Stack & WithStackName(Aws::String &&value)
Definition Stack.h:77
bool GetEnableTerminationProtection() const
Definition Stack.h:305
Stack & WithParentId(Aws::String &&value)
Definition Stack.h:326
Stack & WithDisableRollback(bool value)
Definition Stack.h:208
Stack & WithDetailedStatus(const DetailedStatus &value)
Definition Stack.h:411
const Aws::String & GetChangeSetId() const
Definition Stack.h:85
void SetCapabilities(const Aws::Vector< Capability > &value)
Definition Stack.h:243
Stack & WithStackStatus(StackStatus &&value)
Definition Stack.h:182
Stack & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition Stack.h:157
bool DisableRollbackHasBeenSet() const
Definition Stack.h:206
const Aws::Vector< Parameter > & GetParameters() const
Definition Stack.h:113
void SetStackName(const char *value)
Definition Stack.h:75
const Aws::String & GetStackStatusReason() const
Definition Stack.h:189
void SetDeletionMode(const DeletionMode &value)
Definition Stack.h:390
void SetChangeSetId(const char *value)
Definition Stack.h:89
const DeletionMode & GetDeletionMode() const
Definition Stack.h:388
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetParentId(const Aws::String &value)
Definition Stack.h:322
void SetDeletionTime(Aws::Utils::DateTime &&value)
Definition Stack.h:142
Stack & WithRollbackConfiguration(RollbackConfiguration &&value)
Definition Stack.h:170
Stack & WithTags(Aws::Vector< Tag > &&value)
Definition Stack.h:290
void SetRootId(const Aws::String &value)
Definition Stack.h:341
Stack & AddCapabilities(const Capability &value)
Definition Stack.h:247
const Aws::String & GetDescription() const
Definition Stack.h:99
Stack & WithCreationTime(const Aws::Utils::DateTime &value)
Definition Stack.h:131
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition Stack.h:130
Stack & WithRootId(const Aws::String &value)
Definition Stack.h:344
void SetDeletionMode(DeletionMode &&value)
Definition Stack.h:391
void SetStackId(const Aws::String &value)
Definition Stack.h:59
Stack & AddNotificationARNs(const Aws::String &value)
Definition Stack.h:222
Stack & WithRetainExceptOnCreate(bool value)
Definition Stack.h:376
void SetNotificationARNs(const Aws::Vector< Aws::String > &value)
Definition Stack.h:218
Stack & WithEnableTerminationProtection(bool value)
Definition Stack.h:308
bool LastUpdatedTimeHasBeenSet() const
Definition Stack.h:153
Stack & WithParentId(const Aws::String &value)
Definition Stack.h:325
AWS_CLOUDFORMATION_API Stack & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool StackStatusHasBeenSet() const
Definition Stack.h:178
void SetRoleARN(const char *value)
Definition Stack.h:275
void SetStackName(Aws::String &&value)
Definition Stack.h:74
Stack & WithStackStatus(const StackStatus &value)
Definition Stack.h:181
bool GetRetainExceptOnCreate() const
Definition Stack.h:373
Stack & AddNotificationARNs(Aws::String &&value)
Definition Stack.h:223
void SetRootId(const char *value)
Definition Stack.h:343
Stack & WithOutputs(Aws::Vector< Output > &&value)
Definition Stack.h:260
Stack & WithNotificationARNs(Aws::Vector< Aws::String > &&value)
Definition Stack.h:221
Stack & AddParameters(const Parameter &value)
Definition Stack.h:119
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream