AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StackSetOperation.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/cloudformation/model/StackSetOperationAction.h>
11#include <aws/cloudformation/model/StackSetOperationStatus.h>
12#include <aws/cloudformation/model/StackSetOperationPreferences.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/cloudformation/model/DeploymentTargets.h>
15#include <aws/cloudformation/model/StackSetDriftDetectionDetails.h>
16#include <aws/cloudformation/model/StackSetOperationStatusDetails.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Xml
24{
25 class XmlNode;
26} // namespace Xml
27} // namespace Utils
28namespace CloudFormation
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_CLOUDFORMATION_API StackSetOperation();
43 AWS_CLOUDFORMATION_API StackSetOperation(const Aws::Utils::Xml::XmlNode& xmlNode);
44 AWS_CLOUDFORMATION_API StackSetOperation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
45
46 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
47 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
48
49
51
54 inline const Aws::String& GetOperationId() const{ return m_operationId; }
55 inline bool OperationIdHasBeenSet() const { return m_operationIdHasBeenSet; }
56 inline void SetOperationId(const Aws::String& value) { m_operationIdHasBeenSet = true; m_operationId = value; }
57 inline void SetOperationId(Aws::String&& value) { m_operationIdHasBeenSet = true; m_operationId = std::move(value); }
58 inline void SetOperationId(const char* value) { m_operationIdHasBeenSet = true; m_operationId.assign(value); }
59 inline StackSetOperation& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
60 inline StackSetOperation& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
61 inline StackSetOperation& WithOperationId(const char* value) { SetOperationId(value); return *this;}
63
65
68 inline const Aws::String& GetStackSetId() const{ return m_stackSetId; }
69 inline bool StackSetIdHasBeenSet() const { return m_stackSetIdHasBeenSet; }
70 inline void SetStackSetId(const Aws::String& value) { m_stackSetIdHasBeenSet = true; m_stackSetId = value; }
71 inline void SetStackSetId(Aws::String&& value) { m_stackSetIdHasBeenSet = true; m_stackSetId = std::move(value); }
72 inline void SetStackSetId(const char* value) { m_stackSetIdHasBeenSet = true; m_stackSetId.assign(value); }
73 inline StackSetOperation& WithStackSetId(const Aws::String& value) { SetStackSetId(value); return *this;}
74 inline StackSetOperation& WithStackSetId(Aws::String&& value) { SetStackSetId(std::move(value)); return *this;}
75 inline StackSetOperation& WithStackSetId(const char* value) { SetStackSetId(value); return *this;}
77
79
86 inline const StackSetOperationAction& GetAction() const{ return m_action; }
87 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
88 inline void SetAction(const StackSetOperationAction& value) { m_actionHasBeenSet = true; m_action = value; }
89 inline void SetAction(StackSetOperationAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
90 inline StackSetOperation& WithAction(const StackSetOperationAction& value) { SetAction(value); return *this;}
91 inline StackSetOperation& WithAction(StackSetOperationAction&& value) { SetAction(std::move(value)); return *this;}
93
95
115 inline const StackSetOperationStatus& GetStatus() const{ return m_status; }
116 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
117 inline void SetStatus(const StackSetOperationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
118 inline void SetStatus(StackSetOperationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
119 inline StackSetOperation& WithStatus(const StackSetOperationStatus& value) { SetStatus(value); return *this;}
120 inline StackSetOperation& WithStatus(StackSetOperationStatus&& value) { SetStatus(std::move(value)); return *this;}
122
124
127 inline const StackSetOperationPreferences& GetOperationPreferences() const{ return m_operationPreferences; }
128 inline bool OperationPreferencesHasBeenSet() const { return m_operationPreferencesHasBeenSet; }
129 inline void SetOperationPreferences(const StackSetOperationPreferences& value) { m_operationPreferencesHasBeenSet = true; m_operationPreferences = value; }
130 inline void SetOperationPreferences(StackSetOperationPreferences&& value) { m_operationPreferencesHasBeenSet = true; m_operationPreferences = std::move(value); }
134
136
142 inline bool GetRetainStacks() const{ return m_retainStacks; }
143 inline bool RetainStacksHasBeenSet() const { return m_retainStacksHasBeenSet; }
144 inline void SetRetainStacks(bool value) { m_retainStacksHasBeenSet = true; m_retainStacks = value; }
145 inline StackSetOperation& WithRetainStacks(bool value) { SetRetainStacks(value); return *this;}
147
149
158 inline const Aws::String& GetAdministrationRoleARN() const{ return m_administrationRoleARN; }
159 inline bool AdministrationRoleARNHasBeenSet() const { return m_administrationRoleARNHasBeenSet; }
160 inline void SetAdministrationRoleARN(const Aws::String& value) { m_administrationRoleARNHasBeenSet = true; m_administrationRoleARN = value; }
161 inline void SetAdministrationRoleARN(Aws::String&& value) { m_administrationRoleARNHasBeenSet = true; m_administrationRoleARN = std::move(value); }
162 inline void SetAdministrationRoleARN(const char* value) { m_administrationRoleARNHasBeenSet = true; m_administrationRoleARN.assign(value); }
164 inline StackSetOperation& WithAdministrationRoleARN(Aws::String&& value) { SetAdministrationRoleARN(std::move(value)); return *this;}
165 inline StackSetOperation& WithAdministrationRoleARN(const char* value) { SetAdministrationRoleARN(value); return *this;}
167
169
174 inline const Aws::String& GetExecutionRoleName() const{ return m_executionRoleName; }
175 inline bool ExecutionRoleNameHasBeenSet() const { return m_executionRoleNameHasBeenSet; }
176 inline void SetExecutionRoleName(const Aws::String& value) { m_executionRoleNameHasBeenSet = true; m_executionRoleName = value; }
177 inline void SetExecutionRoleName(Aws::String&& value) { m_executionRoleNameHasBeenSet = true; m_executionRoleName = std::move(value); }
178 inline void SetExecutionRoleName(const char* value) { m_executionRoleNameHasBeenSet = true; m_executionRoleName.assign(value); }
179 inline StackSetOperation& WithExecutionRoleName(const Aws::String& value) { SetExecutionRoleName(value); return *this;}
180 inline StackSetOperation& WithExecutionRoleName(Aws::String&& value) { SetExecutionRoleName(std::move(value)); return *this;}
181 inline StackSetOperation& WithExecutionRoleName(const char* value) { SetExecutionRoleName(value); return *this;}
183
185
192 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
193 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
194 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
195 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
197 inline StackSetOperation& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
199
201
206 inline const Aws::Utils::DateTime& GetEndTimestamp() const{ return m_endTimestamp; }
207 inline bool EndTimestampHasBeenSet() const { return m_endTimestampHasBeenSet; }
208 inline void SetEndTimestamp(const Aws::Utils::DateTime& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = value; }
209 inline void SetEndTimestamp(Aws::Utils::DateTime&& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = std::move(value); }
210 inline StackSetOperation& WithEndTimestamp(const Aws::Utils::DateTime& value) { SetEndTimestamp(value); return *this;}
211 inline StackSetOperation& WithEndTimestamp(Aws::Utils::DateTime&& value) { SetEndTimestamp(std::move(value)); return *this;}
213
215
219 inline const DeploymentTargets& GetDeploymentTargets() const{ return m_deploymentTargets; }
220 inline bool DeploymentTargetsHasBeenSet() const { return m_deploymentTargetsHasBeenSet; }
221 inline void SetDeploymentTargets(const DeploymentTargets& value) { m_deploymentTargetsHasBeenSet = true; m_deploymentTargets = value; }
222 inline void SetDeploymentTargets(DeploymentTargets&& value) { m_deploymentTargetsHasBeenSet = true; m_deploymentTargets = std::move(value); }
224 inline StackSetOperation& WithDeploymentTargets(DeploymentTargets&& value) { SetDeploymentTargets(std::move(value)); return *this;}
226
228
237 inline const StackSetDriftDetectionDetails& GetStackSetDriftDetectionDetails() const{ return m_stackSetDriftDetectionDetails; }
238 inline bool StackSetDriftDetectionDetailsHasBeenSet() const { return m_stackSetDriftDetectionDetailsHasBeenSet; }
239 inline void SetStackSetDriftDetectionDetails(const StackSetDriftDetectionDetails& value) { m_stackSetDriftDetectionDetailsHasBeenSet = true; m_stackSetDriftDetectionDetails = value; }
240 inline void SetStackSetDriftDetectionDetails(StackSetDriftDetectionDetails&& value) { m_stackSetDriftDetectionDetailsHasBeenSet = true; m_stackSetDriftDetectionDetails = std::move(value); }
244
246
249 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
250 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
251 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
252 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
253 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
254 inline StackSetOperation& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
255 inline StackSetOperation& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
256 inline StackSetOperation& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
258
260
263 inline const StackSetOperationStatusDetails& GetStatusDetails() const{ return m_statusDetails; }
264 inline bool StatusDetailsHasBeenSet() const { return m_statusDetailsHasBeenSet; }
265 inline void SetStatusDetails(const StackSetOperationStatusDetails& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = value; }
266 inline void SetStatusDetails(StackSetOperationStatusDetails&& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = std::move(value); }
268 inline StackSetOperation& WithStatusDetails(StackSetOperationStatusDetails&& value) { SetStatusDetails(std::move(value)); return *this;}
270 private:
271
272 Aws::String m_operationId;
273 bool m_operationIdHasBeenSet = false;
274
275 Aws::String m_stackSetId;
276 bool m_stackSetIdHasBeenSet = false;
277
279 bool m_actionHasBeenSet = false;
280
282 bool m_statusHasBeenSet = false;
283
284 StackSetOperationPreferences m_operationPreferences;
285 bool m_operationPreferencesHasBeenSet = false;
286
287 bool m_retainStacks;
288 bool m_retainStacksHasBeenSet = false;
289
290 Aws::String m_administrationRoleARN;
291 bool m_administrationRoleARNHasBeenSet = false;
292
293 Aws::String m_executionRoleName;
294 bool m_executionRoleNameHasBeenSet = false;
295
296 Aws::Utils::DateTime m_creationTimestamp;
297 bool m_creationTimestampHasBeenSet = false;
298
299 Aws::Utils::DateTime m_endTimestamp;
300 bool m_endTimestampHasBeenSet = false;
301
302 DeploymentTargets m_deploymentTargets;
303 bool m_deploymentTargetsHasBeenSet = false;
304
305 StackSetDriftDetectionDetails m_stackSetDriftDetectionDetails;
306 bool m_stackSetDriftDetectionDetailsHasBeenSet = false;
307
308 Aws::String m_statusReason;
309 bool m_statusReasonHasBeenSet = false;
310
311 StackSetOperationStatusDetails m_statusDetails;
312 bool m_statusDetailsHasBeenSet = false;
313 };
314
315} // namespace Model
316} // namespace CloudFormation
317} // namespace Aws
void SetAdministrationRoleARN(const Aws::String &value)
StackSetOperation & WithExecutionRoleName(const char *value)
StackSetOperation & WithStackSetId(const Aws::String &value)
void SetOperationPreferences(const StackSetOperationPreferences &value)
void SetStatus(StackSetOperationStatus &&value)
StackSetOperation & WithOperationId(Aws::String &&value)
StackSetOperation & WithStatusDetails(const StackSetOperationStatusDetails &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStackSetDriftDetectionDetails(StackSetDriftDetectionDetails &&value)
StackSetOperation & WithStatusReason(Aws::String &&value)
StackSetOperation & WithExecutionRoleName(Aws::String &&value)
StackSetOperation & WithOperationId(const Aws::String &value)
void SetEndTimestamp(const Aws::Utils::DateTime &value)
void SetStackSetId(const Aws::String &value)
StackSetOperation & WithStatusDetails(StackSetOperationStatusDetails &&value)
const StackSetOperationStatusDetails & GetStatusDetails() const
StackSetOperation & WithEndTimestamp(const Aws::Utils::DateTime &value)
void SetAction(const StackSetOperationAction &value)
void SetDeploymentTargets(DeploymentTargets &&value)
StackSetOperation & WithDeploymentTargets(DeploymentTargets &&value)
const StackSetDriftDetectionDetails & GetStackSetDriftDetectionDetails() const
StackSetOperation & WithEndTimestamp(Aws::Utils::DateTime &&value)
void SetStatusReason(const Aws::String &value)
StackSetOperation & WithOperationId(const char *value)
StackSetOperation & WithStatusReason(const Aws::String &value)
AWS_CLOUDFORMATION_API StackSetOperation(const Aws::Utils::Xml::XmlNode &xmlNode)
StackSetOperation & WithAdministrationRoleARN(Aws::String &&value)
StackSetOperation & WithAdministrationRoleARN(const Aws::String &value)
void SetStatusDetails(StackSetOperationStatusDetails &&value)
void SetStackSetDriftDetectionDetails(const StackSetDriftDetectionDetails &value)
StackSetOperation & WithStackSetId(const char *value)
const Aws::String & GetAdministrationRoleARN() const
void SetDeploymentTargets(const DeploymentTargets &value)
void SetStatusDetails(const StackSetOperationStatusDetails &value)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
void SetOperationId(const Aws::String &value)
void SetStatus(const StackSetOperationStatus &value)
StackSetOperation & WithAction(StackSetOperationAction &&value)
void SetExecutionRoleName(const Aws::String &value)
void SetEndTimestamp(Aws::Utils::DateTime &&value)
StackSetOperation & WithStackSetDriftDetectionDetails(const StackSetDriftDetectionDetails &value)
StackSetOperation & WithStackSetDriftDetectionDetails(StackSetDriftDetectionDetails &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
StackSetOperation & WithAdministrationRoleARN(const char *value)
const StackSetOperationStatus & GetStatus() const
StackSetOperation & WithOperationPreferences(const StackSetOperationPreferences &value)
StackSetOperation & WithRetainStacks(bool value)
const Aws::Utils::DateTime & GetEndTimestamp() const
void SetAction(StackSetOperationAction &&value)
AWS_CLOUDFORMATION_API StackSetOperation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StackSetOperation & WithAction(const StackSetOperationAction &value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
StackSetOperation & WithCreationTimestamp(Aws::Utils::DateTime &&value)
StackSetOperation & WithDeploymentTargets(const DeploymentTargets &value)
const DeploymentTargets & GetDeploymentTargets() const
StackSetOperation & WithStackSetId(Aws::String &&value)
const StackSetOperationPreferences & GetOperationPreferences() const
StackSetOperation & WithStatusReason(const char *value)
StackSetOperation & WithStatus(const StackSetOperationStatus &value)
StackSetOperation & WithCreationTimestamp(const Aws::Utils::DateTime &value)
StackSetOperation & WithExecutionRoleName(const Aws::String &value)
const StackSetOperationAction & GetAction() const
void SetOperationPreferences(StackSetOperationPreferences &&value)
StackSetOperation & WithStatus(StackSetOperationStatus &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
StackSetOperation & WithOperationPreferences(StackSetOperationPreferences &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream