AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
StackSetSummary.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/cloudformation/model/AutoDeployment.h>
9#include <aws/cloudformation/model/ManagedExecution.h>
10#include <aws/cloudformation/model/PermissionModels.h>
11#include <aws/cloudformation/model/StackDriftStatus.h>
12#include <aws/cloudformation/model/StackSetStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Xml {
22class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace CloudFormation {
26namespace Model {
27
35 public:
36 AWS_CLOUDFORMATION_API StackSetSummary() = default;
37 AWS_CLOUDFORMATION_API StackSetSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDFORMATION_API StackSetSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
44
47 inline const Aws::String& GetStackSetName() const { return m_stackSetName; }
48 inline bool StackSetNameHasBeenSet() const { return m_stackSetNameHasBeenSet; }
49 template <typename StackSetNameT = Aws::String>
50 void SetStackSetName(StackSetNameT&& value) {
51 m_stackSetNameHasBeenSet = true;
52 m_stackSetName = std::forward<StackSetNameT>(value);
53 }
54 template <typename StackSetNameT = Aws::String>
55 StackSetSummary& WithStackSetName(StackSetNameT&& value) {
56 SetStackSetName(std::forward<StackSetNameT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetStackSetId() const { return m_stackSetId; }
66 inline bool StackSetIdHasBeenSet() const { return m_stackSetIdHasBeenSet; }
67 template <typename StackSetIdT = Aws::String>
68 void SetStackSetId(StackSetIdT&& value) {
69 m_stackSetIdHasBeenSet = true;
70 m_stackSetId = std::forward<StackSetIdT>(value);
71 }
72 template <typename StackSetIdT = Aws::String>
73 StackSetSummary& WithStackSetId(StackSetIdT&& value) {
74 SetStackSetId(std::forward<StackSetIdT>(value));
75 return *this;
76 }
78
80
84 inline const Aws::String& GetDescription() const { return m_description; }
85 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
86 template <typename DescriptionT = Aws::String>
87 void SetDescription(DescriptionT&& value) {
88 m_descriptionHasBeenSet = true;
89 m_description = std::forward<DescriptionT>(value);
90 }
91 template <typename DescriptionT = Aws::String>
92 StackSetSummary& WithDescription(DescriptionT&& value) {
93 SetDescription(std::forward<DescriptionT>(value));
94 return *this;
95 }
97
99
102 inline StackSetStatus GetStatus() const { return m_status; }
103 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
104 inline void SetStatus(StackSetStatus value) {
105 m_statusHasBeenSet = true;
106 m_status = value;
107 }
109 SetStatus(value);
110 return *this;
111 }
113
115
120 inline const AutoDeployment& GetAutoDeployment() const { return m_autoDeployment; }
121 inline bool AutoDeploymentHasBeenSet() const { return m_autoDeploymentHasBeenSet; }
122 template <typename AutoDeploymentT = AutoDeployment>
123 void SetAutoDeployment(AutoDeploymentT&& value) {
124 m_autoDeploymentHasBeenSet = true;
125 m_autoDeployment = std::forward<AutoDeploymentT>(value);
126 }
127 template <typename AutoDeploymentT = AutoDeployment>
128 StackSetSummary& WithAutoDeployment(AutoDeploymentT&& value) {
129 SetAutoDeployment(std::forward<AutoDeploymentT>(value));
130 return *this;
131 }
133
135
148 inline PermissionModels GetPermissionModel() const { return m_permissionModel; }
149 inline bool PermissionModelHasBeenSet() const { return m_permissionModelHasBeenSet; }
151 m_permissionModelHasBeenSet = true;
152 m_permissionModel = value;
153 }
155 SetPermissionModel(value);
156 return *this;
157 }
159
161
173 inline StackDriftStatus GetDriftStatus() const { return m_driftStatus; }
174 inline bool DriftStatusHasBeenSet() const { return m_driftStatusHasBeenSet; }
175 inline void SetDriftStatus(StackDriftStatus value) {
176 m_driftStatusHasBeenSet = true;
177 m_driftStatus = value;
178 }
180 SetDriftStatus(value);
181 return *this;
182 }
184
186
191 inline const Aws::Utils::DateTime& GetLastDriftCheckTimestamp() const { return m_lastDriftCheckTimestamp; }
192 inline bool LastDriftCheckTimestampHasBeenSet() const { return m_lastDriftCheckTimestampHasBeenSet; }
193 template <typename LastDriftCheckTimestampT = Aws::Utils::DateTime>
194 void SetLastDriftCheckTimestamp(LastDriftCheckTimestampT&& value) {
195 m_lastDriftCheckTimestampHasBeenSet = true;
196 m_lastDriftCheckTimestamp = std::forward<LastDriftCheckTimestampT>(value);
197 }
198 template <typename LastDriftCheckTimestampT = Aws::Utils::DateTime>
199 StackSetSummary& WithLastDriftCheckTimestamp(LastDriftCheckTimestampT&& value) {
200 SetLastDriftCheckTimestamp(std::forward<LastDriftCheckTimestampT>(value));
201 return *this;
202 }
204
206
210 inline const ManagedExecution& GetManagedExecution() const { return m_managedExecution; }
211 inline bool ManagedExecutionHasBeenSet() const { return m_managedExecutionHasBeenSet; }
212 template <typename ManagedExecutionT = ManagedExecution>
213 void SetManagedExecution(ManagedExecutionT&& value) {
214 m_managedExecutionHasBeenSet = true;
215 m_managedExecution = std::forward<ManagedExecutionT>(value);
216 }
217 template <typename ManagedExecutionT = ManagedExecution>
218 StackSetSummary& WithManagedExecution(ManagedExecutionT&& value) {
219 SetManagedExecution(std::forward<ManagedExecutionT>(value));
220 return *this;
221 }
223 private:
224 Aws::String m_stackSetName;
225
226 Aws::String m_stackSetId;
227
228 Aws::String m_description;
229
231
232 AutoDeployment m_autoDeployment;
233
235
237
238 Aws::Utils::DateTime m_lastDriftCheckTimestamp{};
239
240 ManagedExecution m_managedExecution;
241 bool m_stackSetNameHasBeenSet = false;
242 bool m_stackSetIdHasBeenSet = false;
243 bool m_descriptionHasBeenSet = false;
244 bool m_statusHasBeenSet = false;
245 bool m_autoDeploymentHasBeenSet = false;
246 bool m_permissionModelHasBeenSet = false;
247 bool m_driftStatusHasBeenSet = false;
248 bool m_lastDriftCheckTimestampHasBeenSet = false;
249 bool m_managedExecutionHasBeenSet = false;
250};
251
252} // namespace Model
253} // namespace CloudFormation
254} // namespace Aws
const Aws::String & GetDescription() const
StackSetSummary & WithPermissionModel(PermissionModels value)
StackSetSummary & WithStackSetName(StackSetNameT &&value)
const Aws::String & GetStackSetName() const
AWS_CLOUDFORMATION_API StackSetSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAutoDeployment(AutoDeploymentT &&value)
StackSetSummary & WithLastDriftCheckTimestamp(LastDriftCheckTimestampT &&value)
StackSetSummary & WithManagedExecution(ManagedExecutionT &&value)
const Aws::String & GetStackSetId() const
StackSetSummary & WithStackSetId(StackSetIdT &&value)
const AutoDeployment & GetAutoDeployment() const
void SetDriftStatus(StackDriftStatus value)
StackSetSummary & WithDescription(DescriptionT &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetLastDriftCheckTimestamp(LastDriftCheckTimestampT &&value)
void SetManagedExecution(ManagedExecutionT &&value)
void SetPermissionModel(PermissionModels value)
const Aws::Utils::DateTime & GetLastDriftCheckTimestamp() const
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const ManagedExecution & GetManagedExecution() const
StackSetSummary & WithStatus(StackSetStatus value)
void SetStackSetName(StackSetNameT &&value)
StackSetSummary & WithAutoDeployment(AutoDeploymentT &&value)
StackSetSummary & WithDriftStatus(StackDriftStatus value)
AWS_CLOUDFORMATION_API StackSetSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFORMATION_API StackSetSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream