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>
32namespace CloudFormation
45 AWS_CLOUDFORMATION_API
Stack() =
default;
49 AWS_CLOUDFORMATION_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
59 template<
typename StackIdT = Aws::String>
60 void SetStackId(StackIdT&& value) { m_stackIdHasBeenSet =
true; m_stackId = std::forward<StackIdT>(value); }
61 template<
typename StackIdT = Aws::String>
71 template<
typename StackNameT = Aws::String>
72 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet =
true; m_stackName = std::forward<StackNameT>(value); }
73 template<
typename StackNameT = Aws::String>
83 template<
typename ChangeSetIdT = Aws::String>
84 void SetChangeSetId(ChangeSetIdT&& value) { m_changeSetIdHasBeenSet =
true; m_changeSetId = std::forward<ChangeSetIdT>(value); }
85 template<
typename ChangeSetIdT = Aws::String>
95 template<
typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
97 template<
typename DescriptionT = Aws::String>
107 template<
typename ParametersT = Aws::Vector<Parameter>>
108 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
109 template<
typename ParametersT = Aws::Vector<Parameter>>
111 template<
typename ParametersT = Parameter>
112 Stack&
AddParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters.emplace_back(std::forward<ParametersT>(value));
return *
this; }
121 template<
typename CreationTimeT = Aws::Utils::DateTime>
122 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
123 template<
typename CreationTimeT = Aws::Utils::DateTime>
133 template<
typename DeletionTimeT = Aws::Utils::DateTime>
134 void SetDeletionTime(DeletionTimeT&& value) { m_deletionTimeHasBeenSet =
true; m_deletionTime = std::forward<DeletionTimeT>(value); }
135 template<
typename DeletionTimeT = Aws::Utils::DateTime>
146 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
147 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
148 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
159 template<
typename RollbackConfigurationT = RollbackConfiguration>
160 void SetRollbackConfiguration(RollbackConfigurationT&& value) { m_rollbackConfigurationHasBeenSet =
true; m_rollbackConfiguration = std::forward<RollbackConfigurationT>(value); }
161 template<
typename RollbackConfigurationT = RollbackConfiguration>
181 template<
typename StackStatusReasonT = Aws::String>
182 void SetStackStatusReason(StackStatusReasonT&& value) { m_stackStatusReasonHasBeenSet =
true; m_stackStatusReason = std::forward<StackStatusReasonT>(value); }
183 template<
typename StackStatusReasonT = Aws::String>
195 inline void SetDisableRollback(
bool value) { m_disableRollbackHasBeenSet =
true; m_disableRollback = value; }
206 template<
typename NotificationARNsT = Aws::Vector<Aws::String>>
207 void SetNotificationARNs(NotificationARNsT&& value) { m_notificationARNsHasBeenSet =
true; m_notificationARNs = std::forward<NotificationARNsT>(value); }
208 template<
typename NotificationARNsT = Aws::Vector<Aws::String>>
210 template<
typename NotificationARNsT = Aws::String>
211 Stack&
AddNotificationARNs(NotificationARNsT&& value) { m_notificationARNsHasBeenSet =
true; m_notificationARNs.emplace_back(std::forward<NotificationARNsT>(value));
return *
this; }
220 inline void SetTimeoutInMinutes(
int value) { m_timeoutInMinutesHasBeenSet =
true; m_timeoutInMinutes = value; }
230 template<
typename CapabilitiesT = Aws::Vector<Capability>>
231 void SetCapabilities(CapabilitiesT&& value) { m_capabilitiesHasBeenSet =
true; m_capabilities = std::forward<CapabilitiesT>(value); }
232 template<
typename CapabilitiesT = Aws::Vector<Capability>>
243 template<
typename OutputsT = Aws::Vector<Output>>
244 void SetOutputs(OutputsT&& value) { m_outputsHasBeenSet =
true; m_outputs = std::forward<OutputsT>(value); }
245 template<
typename OutputsT = Aws::Vector<Output>>
247 template<
typename OutputsT = Output>
248 Stack&
AddOutputs(OutputsT&& value) { m_outputsHasBeenSet =
true; m_outputs.emplace_back(std::forward<OutputsT>(value));
return *
this; }
259 template<
typename RoleARNT = Aws::String>
260 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet =
true; m_roleARN = std::forward<RoleARNT>(value); }
261 template<
typename RoleARNT = Aws::String>
271 template<
typename TagsT = Aws::Vector<Tag>>
272 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
273 template<
typename TagsT = Aws::Vector<Tag>>
275 template<
typename TagsT = Tag>
276 Stack&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
305 template<
typename ParentIdT = Aws::String>
306 void SetParentId(ParentIdT&& value) { m_parentIdHasBeenSet =
true; m_parentId = std::forward<ParentIdT>(value); }
307 template<
typename ParentIdT = Aws::String>
320 template<
typename RootIdT = Aws::String>
321 void SetRootId(RootIdT&& value) { m_rootIdHasBeenSet =
true; m_rootId = std::forward<RootIdT>(value); }
322 template<
typename RootIdT = Aws::String>
338 template<
typename DriftInformationT = StackDriftInformation>
339 void SetDriftInformation(DriftInformationT&& value) { m_driftInformationHasBeenSet =
true; m_driftInformation = std::forward<DriftInformationT>(value); }
340 template<
typename DriftInformationT = StackDriftInformation>
390 bool m_stackIdHasBeenSet =
false;
393 bool m_stackNameHasBeenSet =
false;
396 bool m_changeSetIdHasBeenSet =
false;
399 bool m_descriptionHasBeenSet =
false;
402 bool m_parametersHasBeenSet =
false;
405 bool m_creationTimeHasBeenSet =
false;
408 bool m_deletionTimeHasBeenSet =
false;
411 bool m_lastUpdatedTimeHasBeenSet =
false;
413 RollbackConfiguration m_rollbackConfiguration;
414 bool m_rollbackConfigurationHasBeenSet =
false;
417 bool m_stackStatusHasBeenSet =
false;
420 bool m_stackStatusReasonHasBeenSet =
false;
422 bool m_disableRollback{
false};
423 bool m_disableRollbackHasBeenSet =
false;
426 bool m_notificationARNsHasBeenSet =
false;
428 int m_timeoutInMinutes{0};
429 bool m_timeoutInMinutesHasBeenSet =
false;
432 bool m_capabilitiesHasBeenSet =
false;
435 bool m_outputsHasBeenSet =
false;
438 bool m_roleARNHasBeenSet =
false;
441 bool m_tagsHasBeenSet =
false;
443 bool m_enableTerminationProtection{
false};
444 bool m_enableTerminationProtectionHasBeenSet =
false;
447 bool m_parentIdHasBeenSet =
false;
450 bool m_rootIdHasBeenSet =
false;
452 StackDriftInformation m_driftInformation;
453 bool m_driftInformationHasBeenSet =
false;
455 bool m_retainExceptOnCreate{
false};
456 bool m_retainExceptOnCreateHasBeenSet =
false;
459 bool m_deletionModeHasBeenSet =
false;
462 bool m_detailedStatusHasBeenSet =
false;
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