AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StackSetOperationSummary.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/core/utils/DateTime.h>
13#include <aws/cloudformation/model/StackSetOperationStatusDetails.h>
14#include <aws/cloudformation/model/StackSetOperationPreferences.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Xml
22{
23 class XmlNode;
24} // namespace Xml
25} // namespace Utils
26namespace CloudFormation
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_CLOUDFORMATION_API StackSetOperationSummary();
41 AWS_CLOUDFORMATION_API StackSetOperationSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
42 AWS_CLOUDFORMATION_API StackSetOperationSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
43
44 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
52 inline const Aws::String& GetOperationId() const{ return m_operationId; }
53 inline bool OperationIdHasBeenSet() const { return m_operationIdHasBeenSet; }
54 inline void SetOperationId(const Aws::String& value) { m_operationIdHasBeenSet = true; m_operationId = value; }
55 inline void SetOperationId(Aws::String&& value) { m_operationIdHasBeenSet = true; m_operationId = std::move(value); }
56 inline void SetOperationId(const char* value) { m_operationIdHasBeenSet = true; m_operationId.assign(value); }
57 inline StackSetOperationSummary& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
58 inline StackSetOperationSummary& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
59 inline StackSetOperationSummary& WithOperationId(const char* value) { SetOperationId(value); return *this;}
61
63
70 inline const StackSetOperationAction& GetAction() const{ return m_action; }
71 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
72 inline void SetAction(const StackSetOperationAction& value) { m_actionHasBeenSet = true; m_action = value; }
73 inline void SetAction(StackSetOperationAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
74 inline StackSetOperationSummary& WithAction(const StackSetOperationAction& value) { SetAction(value); return *this;}
75 inline StackSetOperationSummary& WithAction(StackSetOperationAction&& value) { SetAction(std::move(value)); return *this;}
77
79
99 inline const StackSetOperationStatus& GetStatus() const{ return m_status; }
100 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 inline void SetStatus(const StackSetOperationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
102 inline void SetStatus(StackSetOperationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
103 inline StackSetOperationSummary& WithStatus(const StackSetOperationStatus& value) { SetStatus(value); return *this;}
104 inline StackSetOperationSummary& WithStatus(StackSetOperationStatus&& value) { SetStatus(std::move(value)); return *this;}
106
108
115 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
116 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
117 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
118 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
122
124
129 inline const Aws::Utils::DateTime& GetEndTimestamp() const{ return m_endTimestamp; }
130 inline bool EndTimestampHasBeenSet() const { return m_endTimestampHasBeenSet; }
131 inline void SetEndTimestamp(const Aws::Utils::DateTime& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = value; }
132 inline void SetEndTimestamp(Aws::Utils::DateTime&& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = std::move(value); }
134 inline StackSetOperationSummary& WithEndTimestamp(Aws::Utils::DateTime&& value) { SetEndTimestamp(std::move(value)); return *this;}
136
138
141 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
142 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
143 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
144 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
145 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
146 inline StackSetOperationSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
147 inline StackSetOperationSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
148 inline StackSetOperationSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
150
152
155 inline const StackSetOperationStatusDetails& GetStatusDetails() const{ return m_statusDetails; }
156 inline bool StatusDetailsHasBeenSet() const { return m_statusDetailsHasBeenSet; }
157 inline void SetStatusDetails(const StackSetOperationStatusDetails& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = value; }
158 inline void SetStatusDetails(StackSetOperationStatusDetails&& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = std::move(value); }
162
164
171 inline const StackSetOperationPreferences& GetOperationPreferences() const{ return m_operationPreferences; }
172 inline bool OperationPreferencesHasBeenSet() const { return m_operationPreferencesHasBeenSet; }
173 inline void SetOperationPreferences(const StackSetOperationPreferences& value) { m_operationPreferencesHasBeenSet = true; m_operationPreferences = value; }
174 inline void SetOperationPreferences(StackSetOperationPreferences&& value) { m_operationPreferencesHasBeenSet = true; m_operationPreferences = std::move(value); }
178 private:
179
180 Aws::String m_operationId;
181 bool m_operationIdHasBeenSet = false;
182
184 bool m_actionHasBeenSet = false;
185
187 bool m_statusHasBeenSet = false;
188
189 Aws::Utils::DateTime m_creationTimestamp;
190 bool m_creationTimestampHasBeenSet = false;
191
192 Aws::Utils::DateTime m_endTimestamp;
193 bool m_endTimestampHasBeenSet = false;
194
195 Aws::String m_statusReason;
196 bool m_statusReasonHasBeenSet = false;
197
198 StackSetOperationStatusDetails m_statusDetails;
199 bool m_statusDetailsHasBeenSet = false;
200
201 StackSetOperationPreferences m_operationPreferences;
202 bool m_operationPreferencesHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace CloudFormation
207} // namespace Aws
StackSetOperationSummary & WithStatusReason(const Aws::String &value)
const StackSetOperationStatusDetails & GetStatusDetails() const
void SetStatusDetails(const StackSetOperationStatusDetails &value)
AWS_CLOUDFORMATION_API StackSetOperationSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StackSetOperationSummary & WithEndTimestamp(Aws::Utils::DateTime &&value)
StackSetOperationSummary & WithStatus(StackSetOperationStatus &&value)
StackSetOperationSummary & WithStatusReason(Aws::String &&value)
const StackSetOperationPreferences & GetOperationPreferences() const
void SetAction(const StackSetOperationAction &value)
StackSetOperationSummary & WithAction(StackSetOperationAction &&value)
StackSetOperationSummary & WithOperationId(Aws::String &&value)
StackSetOperationSummary & WithStatusReason(const char *value)
void SetStatusDetails(StackSetOperationStatusDetails &&value)
StackSetOperationSummary & WithCreationTimestamp(const Aws::Utils::DateTime &value)
void SetOperationPreferences(const StackSetOperationPreferences &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
StackSetOperationSummary & WithOperationPreferences(const StackSetOperationPreferences &value)
StackSetOperationSummary & WithStatusDetails(StackSetOperationStatusDetails &&value)
AWS_CLOUDFORMATION_API StackSetOperationSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
StackSetOperationSummary & WithCreationTimestamp(Aws::Utils::DateTime &&value)
void SetStatus(const StackSetOperationStatus &value)
StackSetOperationSummary & WithStatus(const StackSetOperationStatus &value)
StackSetOperationSummary & WithEndTimestamp(const Aws::Utils::DateTime &value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
StackSetOperationSummary & WithOperationPreferences(StackSetOperationPreferences &&value)
void SetOperationPreferences(StackSetOperationPreferences &&value)
StackSetOperationSummary & WithOperationId(const char *value)
StackSetOperationSummary & WithOperationId(const Aws::String &value)
StackSetOperationSummary & WithStatusDetails(const StackSetOperationStatusDetails &value)
StackSetOperationSummary & WithAction(const StackSetOperationAction &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetEndTimestamp(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream