AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StackSetSummary.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/StackSetStatus.h>
11#include <aws/cloudformation/model/AutoDeployment.h>
12#include <aws/cloudformation/model/PermissionModels.h>
13#include <aws/cloudformation/model/StackDriftStatus.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/cloudformation/model/ManagedExecution.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Xml
23{
24 class XmlNode;
25} // namespace Xml
26} // namespace Utils
27namespace CloudFormation
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_CLOUDFORMATION_API StackSetSummary() = default;
42 AWS_CLOUDFORMATION_API StackSetSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
43 AWS_CLOUDFORMATION_API StackSetSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
44
45 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
53 inline const Aws::String& GetStackSetName() const { return m_stackSetName; }
54 inline bool StackSetNameHasBeenSet() const { return m_stackSetNameHasBeenSet; }
55 template<typename StackSetNameT = Aws::String>
56 void SetStackSetName(StackSetNameT&& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = std::forward<StackSetNameT>(value); }
57 template<typename StackSetNameT = Aws::String>
58 StackSetSummary& WithStackSetName(StackSetNameT&& value) { SetStackSetName(std::forward<StackSetNameT>(value)); return *this;}
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) { m_stackSetIdHasBeenSet = true; m_stackSetId = std::forward<StackSetIdT>(value); }
69 template<typename StackSetIdT = Aws::String>
70 StackSetSummary& WithStackSetId(StackSetIdT&& value) { SetStackSetId(std::forward<StackSetIdT>(value)); return *this;}
72
74
78 inline const Aws::String& GetDescription() const { return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 template<typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
82 template<typename DescriptionT = Aws::String>
83 StackSetSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
85
87
90 inline StackSetStatus GetStatus() const { return m_status; }
91 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
92 inline void SetStatus(StackSetStatus value) { m_statusHasBeenSet = true; m_status = value; }
93 inline StackSetSummary& WithStatus(StackSetStatus value) { SetStatus(value); return *this;}
95
97
102 inline const AutoDeployment& GetAutoDeployment() const { return m_autoDeployment; }
103 inline bool AutoDeploymentHasBeenSet() const { return m_autoDeploymentHasBeenSet; }
104 template<typename AutoDeploymentT = AutoDeployment>
105 void SetAutoDeployment(AutoDeploymentT&& value) { m_autoDeploymentHasBeenSet = true; m_autoDeployment = std::forward<AutoDeploymentT>(value); }
106 template<typename AutoDeploymentT = AutoDeployment>
107 StackSetSummary& WithAutoDeployment(AutoDeploymentT&& value) { SetAutoDeployment(std::forward<AutoDeploymentT>(value)); return *this;}
109
111
124 inline PermissionModels GetPermissionModel() const { return m_permissionModel; }
125 inline bool PermissionModelHasBeenSet() const { return m_permissionModelHasBeenSet; }
126 inline void SetPermissionModel(PermissionModels value) { m_permissionModelHasBeenSet = true; m_permissionModel = value; }
129
131
145 inline StackDriftStatus GetDriftStatus() const { return m_driftStatus; }
146 inline bool DriftStatusHasBeenSet() const { return m_driftStatusHasBeenSet; }
147 inline void SetDriftStatus(StackDriftStatus value) { m_driftStatusHasBeenSet = true; m_driftStatus = value; }
148 inline StackSetSummary& WithDriftStatus(StackDriftStatus value) { SetDriftStatus(value); return *this;}
150
152
157 inline const Aws::Utils::DateTime& GetLastDriftCheckTimestamp() const { return m_lastDriftCheckTimestamp; }
158 inline bool LastDriftCheckTimestampHasBeenSet() const { return m_lastDriftCheckTimestampHasBeenSet; }
159 template<typename LastDriftCheckTimestampT = Aws::Utils::DateTime>
160 void SetLastDriftCheckTimestamp(LastDriftCheckTimestampT&& value) { m_lastDriftCheckTimestampHasBeenSet = true; m_lastDriftCheckTimestamp = std::forward<LastDriftCheckTimestampT>(value); }
161 template<typename LastDriftCheckTimestampT = Aws::Utils::DateTime>
162 StackSetSummary& WithLastDriftCheckTimestamp(LastDriftCheckTimestampT&& value) { SetLastDriftCheckTimestamp(std::forward<LastDriftCheckTimestampT>(value)); return *this;}
164
166
170 inline const ManagedExecution& GetManagedExecution() const { return m_managedExecution; }
171 inline bool ManagedExecutionHasBeenSet() const { return m_managedExecutionHasBeenSet; }
172 template<typename ManagedExecutionT = ManagedExecution>
173 void SetManagedExecution(ManagedExecutionT&& value) { m_managedExecutionHasBeenSet = true; m_managedExecution = std::forward<ManagedExecutionT>(value); }
174 template<typename ManagedExecutionT = ManagedExecution>
175 StackSetSummary& WithManagedExecution(ManagedExecutionT&& value) { SetManagedExecution(std::forward<ManagedExecutionT>(value)); return *this;}
177 private:
178
179 Aws::String m_stackSetName;
180 bool m_stackSetNameHasBeenSet = false;
181
182 Aws::String m_stackSetId;
183 bool m_stackSetIdHasBeenSet = false;
184
185 Aws::String m_description;
186 bool m_descriptionHasBeenSet = false;
187
189 bool m_statusHasBeenSet = false;
190
191 AutoDeployment m_autoDeployment;
192 bool m_autoDeploymentHasBeenSet = false;
193
195 bool m_permissionModelHasBeenSet = false;
196
198 bool m_driftStatusHasBeenSet = false;
199
200 Aws::Utils::DateTime m_lastDriftCheckTimestamp{};
201 bool m_lastDriftCheckTimestampHasBeenSet = false;
202
203 ManagedExecution m_managedExecution;
204 bool m_managedExecutionHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace CloudFormation
209} // 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