AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsCloudFormationStackDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsCloudFormationStackDriftInformationDetails.h>
11#include <aws/securityhub/model/AwsCloudFormationStackOutputsDetails.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SecurityHub
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SECURITYHUB_API AwsCloudFormationStackDetails();
41 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Vector<Aws::String>& GetCapabilities() const{ return m_capabilities; }
49 inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; }
50 inline void SetCapabilities(const Aws::Vector<Aws::String>& value) { m_capabilitiesHasBeenSet = true; m_capabilities = value; }
51 inline void SetCapabilities(Aws::Vector<Aws::String>&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::move(value); }
54 inline AwsCloudFormationStackDetails& AddCapabilities(const Aws::String& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; }
55 inline AwsCloudFormationStackDetails& AddCapabilities(Aws::String&& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(std::move(value)); return *this; }
56 inline AwsCloudFormationStackDetails& AddCapabilities(const char* value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; }
58
60
63 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
64 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
65 inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
66 inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
67 inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); }
68 inline AwsCloudFormationStackDetails& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
69 inline AwsCloudFormationStackDetails& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
70 inline AwsCloudFormationStackDetails& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
72
74
77 inline const Aws::String& GetDescription() const{ return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
82 inline AwsCloudFormationStackDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline AwsCloudFormationStackDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline AwsCloudFormationStackDetails& WithDescription(const char* value) { SetDescription(value); return *this;}
86
88
91 inline bool GetDisableRollback() const{ return m_disableRollback; }
92 inline bool DisableRollbackHasBeenSet() const { return m_disableRollbackHasBeenSet; }
93 inline void SetDisableRollback(bool value) { m_disableRollbackHasBeenSet = true; m_disableRollback = value; }
94 inline AwsCloudFormationStackDetails& WithDisableRollback(bool value) { SetDisableRollback(value); return *this;}
96
98
103 inline const AwsCloudFormationStackDriftInformationDetails& GetDriftInformation() const{ return m_driftInformation; }
104 inline bool DriftInformationHasBeenSet() const { return m_driftInformationHasBeenSet; }
105 inline void SetDriftInformation(const AwsCloudFormationStackDriftInformationDetails& value) { m_driftInformationHasBeenSet = true; m_driftInformation = value; }
106 inline void SetDriftInformation(AwsCloudFormationStackDriftInformationDetails&& value) { m_driftInformationHasBeenSet = true; m_driftInformation = std::move(value); }
110
112
115 inline bool GetEnableTerminationProtection() const{ return m_enableTerminationProtection; }
116 inline bool EnableTerminationProtectionHasBeenSet() const { return m_enableTerminationProtectionHasBeenSet; }
117 inline void SetEnableTerminationProtection(bool value) { m_enableTerminationProtectionHasBeenSet = true; m_enableTerminationProtection = value; }
120
122
126 inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
127 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
128 inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
129 inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
130 inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
132 inline AwsCloudFormationStackDetails& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
133 inline AwsCloudFormationStackDetails& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
135
137
141 inline const Aws::Vector<Aws::String>& GetNotificationArns() const{ return m_notificationArns; }
142 inline bool NotificationArnsHasBeenSet() const { return m_notificationArnsHasBeenSet; }
143 inline void SetNotificationArns(const Aws::Vector<Aws::String>& value) { m_notificationArnsHasBeenSet = true; m_notificationArns = value; }
144 inline void SetNotificationArns(Aws::Vector<Aws::String>&& value) { m_notificationArnsHasBeenSet = true; m_notificationArns = std::move(value); }
147 inline AwsCloudFormationStackDetails& AddNotificationArns(const Aws::String& value) { m_notificationArnsHasBeenSet = true; m_notificationArns.push_back(value); return *this; }
148 inline AwsCloudFormationStackDetails& AddNotificationArns(Aws::String&& value) { m_notificationArnsHasBeenSet = true; m_notificationArns.push_back(std::move(value)); return *this; }
149 inline AwsCloudFormationStackDetails& AddNotificationArns(const char* value) { m_notificationArnsHasBeenSet = true; m_notificationArns.push_back(value); return *this; }
151
153
156 inline const Aws::Vector<AwsCloudFormationStackOutputsDetails>& GetOutputs() const{ return m_outputs; }
157 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
158 inline void SetOutputs(const Aws::Vector<AwsCloudFormationStackOutputsDetails>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
159 inline void SetOutputs(Aws::Vector<AwsCloudFormationStackOutputsDetails>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
162 inline AwsCloudFormationStackDetails& AddOutputs(const AwsCloudFormationStackOutputsDetails& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
163 inline AwsCloudFormationStackDetails& AddOutputs(AwsCloudFormationStackOutputsDetails&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
165
167
170 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
171 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
172 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
173 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
174 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
175 inline AwsCloudFormationStackDetails& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
176 inline AwsCloudFormationStackDetails& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
177 inline AwsCloudFormationStackDetails& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
179
181
184 inline const Aws::String& GetStackId() const{ return m_stackId; }
185 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
186 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
187 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
188 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
189 inline AwsCloudFormationStackDetails& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
190 inline AwsCloudFormationStackDetails& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
191 inline AwsCloudFormationStackDetails& WithStackId(const char* value) { SetStackId(value); return *this;}
193
195
198 inline const Aws::String& GetStackName() const{ return m_stackName; }
199 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
200 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
201 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
202 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
203 inline AwsCloudFormationStackDetails& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
204 inline AwsCloudFormationStackDetails& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
205 inline AwsCloudFormationStackDetails& WithStackName(const char* value) { SetStackName(value); return *this;}
207
209
212 inline const Aws::String& GetStackStatus() const{ return m_stackStatus; }
213 inline bool StackStatusHasBeenSet() const { return m_stackStatusHasBeenSet; }
214 inline void SetStackStatus(const Aws::String& value) { m_stackStatusHasBeenSet = true; m_stackStatus = value; }
215 inline void SetStackStatus(Aws::String&& value) { m_stackStatusHasBeenSet = true; m_stackStatus = std::move(value); }
216 inline void SetStackStatus(const char* value) { m_stackStatusHasBeenSet = true; m_stackStatus.assign(value); }
217 inline AwsCloudFormationStackDetails& WithStackStatus(const Aws::String& value) { SetStackStatus(value); return *this;}
218 inline AwsCloudFormationStackDetails& WithStackStatus(Aws::String&& value) { SetStackStatus(std::move(value)); return *this;}
219 inline AwsCloudFormationStackDetails& WithStackStatus(const char* value) { SetStackStatus(value); return *this;}
221
223
226 inline const Aws::String& GetStackStatusReason() const{ return m_stackStatusReason; }
227 inline bool StackStatusReasonHasBeenSet() const { return m_stackStatusReasonHasBeenSet; }
228 inline void SetStackStatusReason(const Aws::String& value) { m_stackStatusReasonHasBeenSet = true; m_stackStatusReason = value; }
229 inline void SetStackStatusReason(Aws::String&& value) { m_stackStatusReasonHasBeenSet = true; m_stackStatusReason = std::move(value); }
230 inline void SetStackStatusReason(const char* value) { m_stackStatusReasonHasBeenSet = true; m_stackStatusReason.assign(value); }
232 inline AwsCloudFormationStackDetails& WithStackStatusReason(Aws::String&& value) { SetStackStatusReason(std::move(value)); return *this;}
233 inline AwsCloudFormationStackDetails& WithStackStatusReason(const char* value) { SetStackStatusReason(value); return *this;}
235
237
241 inline int GetTimeoutInMinutes() const{ return m_timeoutInMinutes; }
242 inline bool TimeoutInMinutesHasBeenSet() const { return m_timeoutInMinutesHasBeenSet; }
243 inline void SetTimeoutInMinutes(int value) { m_timeoutInMinutesHasBeenSet = true; m_timeoutInMinutes = value; }
246 private:
247
248 Aws::Vector<Aws::String> m_capabilities;
249 bool m_capabilitiesHasBeenSet = false;
250
251 Aws::String m_creationTime;
252 bool m_creationTimeHasBeenSet = false;
253
254 Aws::String m_description;
255 bool m_descriptionHasBeenSet = false;
256
257 bool m_disableRollback;
258 bool m_disableRollbackHasBeenSet = false;
259
261 bool m_driftInformationHasBeenSet = false;
262
263 bool m_enableTerminationProtection;
264 bool m_enableTerminationProtectionHasBeenSet = false;
265
266 Aws::String m_lastUpdatedTime;
267 bool m_lastUpdatedTimeHasBeenSet = false;
268
269 Aws::Vector<Aws::String> m_notificationArns;
270 bool m_notificationArnsHasBeenSet = false;
271
273 bool m_outputsHasBeenSet = false;
274
275 Aws::String m_roleArn;
276 bool m_roleArnHasBeenSet = false;
277
278 Aws::String m_stackId;
279 bool m_stackIdHasBeenSet = false;
280
281 Aws::String m_stackName;
282 bool m_stackNameHasBeenSet = false;
283
284 Aws::String m_stackStatus;
285 bool m_stackStatusHasBeenSet = false;
286
287 Aws::String m_stackStatusReason;
288 bool m_stackStatusReasonHasBeenSet = false;
289
290 int m_timeoutInMinutes;
291 bool m_timeoutInMinutesHasBeenSet = false;
292 };
293
294} // namespace Model
295} // namespace SecurityHub
296} // namespace Aws
void SetDriftInformation(const AwsCloudFormationStackDriftInformationDetails &value)
AwsCloudFormationStackDetails & WithDescription(const Aws::String &value)
AwsCloudFormationStackDetails & WithStackStatus(const char *value)
AWS_SECURITYHUB_API AwsCloudFormationStackDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNotificationArns(const Aws::Vector< Aws::String > &value)
AwsCloudFormationStackDetails & WithLastUpdatedTime(const Aws::String &value)
AwsCloudFormationStackDetails & WithNotificationArns(const Aws::Vector< Aws::String > &value)
AwsCloudFormationStackDetails & WithCreationTime(const char *value)
AwsCloudFormationStackDetails & WithStackStatusReason(const Aws::String &value)
AwsCloudFormationStackDetails & WithStackId(Aws::String &&value)
AwsCloudFormationStackDetails & AddOutputs(AwsCloudFormationStackOutputsDetails &&value)
AwsCloudFormationStackDetails & WithDescription(const char *value)
AwsCloudFormationStackDetails & AddNotificationArns(const Aws::String &value)
AwsCloudFormationStackDetails & WithStackStatusReason(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsCloudFormationStackDetails & WithStackStatus(const Aws::String &value)
AwsCloudFormationStackDetails & WithCreationTime(const Aws::String &value)
AWS_SECURITYHUB_API AwsCloudFormationStackDetails(Aws::Utils::Json::JsonView jsonValue)
AwsCloudFormationStackDetails & WithStackStatus(Aws::String &&value)
AwsCloudFormationStackDetails & WithRoleArn(const Aws::String &value)
AwsCloudFormationStackDetails & WithCreationTime(Aws::String &&value)
AwsCloudFormationStackDetails & WithOutputs(const Aws::Vector< AwsCloudFormationStackOutputsDetails > &value)
AwsCloudFormationStackDetails & WithRoleArn(const char *value)
AwsCloudFormationStackDetails & AddCapabilities(Aws::String &&value)
AwsCloudFormationStackDetails & WithDisableRollback(bool value)
AwsCloudFormationStackDetails & WithStackName(const Aws::String &value)
AwsCloudFormationStackDetails & WithStackName(Aws::String &&value)
AwsCloudFormationStackDetails & AddCapabilities(const char *value)
AwsCloudFormationStackDetails & WithCapabilities(Aws::Vector< Aws::String > &&value)
AwsCloudFormationStackDetails & AddOutputs(const AwsCloudFormationStackOutputsDetails &value)
AwsCloudFormationStackDetails & WithCapabilities(const Aws::Vector< Aws::String > &value)
AwsCloudFormationStackDetails & WithNotificationArns(Aws::Vector< Aws::String > &&value)
AwsCloudFormationStackDetails & AddCapabilities(const Aws::String &value)
AwsCloudFormationStackDetails & AddNotificationArns(const char *value)
AwsCloudFormationStackDetails & AddNotificationArns(Aws::String &&value)
AwsCloudFormationStackDetails & WithStackId(const char *value)
AwsCloudFormationStackDetails & WithOutputs(Aws::Vector< AwsCloudFormationStackOutputsDetails > &&value)
AwsCloudFormationStackDetails & WithStackStatusReason(Aws::String &&value)
const AwsCloudFormationStackDriftInformationDetails & GetDriftInformation() const
void SetDriftInformation(AwsCloudFormationStackDriftInformationDetails &&value)
AwsCloudFormationStackDetails & WithDescription(Aws::String &&value)
AwsCloudFormationStackDetails & WithDriftInformation(const AwsCloudFormationStackDriftInformationDetails &value)
AwsCloudFormationStackDetails & WithEnableTerminationProtection(bool value)
AwsCloudFormationStackDetails & WithTimeoutInMinutes(int value)
AwsCloudFormationStackDetails & WithStackName(const char *value)
AwsCloudFormationStackDetails & WithRoleArn(Aws::String &&value)
AwsCloudFormationStackDetails & WithLastUpdatedTime(Aws::String &&value)
AwsCloudFormationStackDetails & WithLastUpdatedTime(const char *value)
const Aws::Vector< AwsCloudFormationStackOutputsDetails > & GetOutputs() const
AwsCloudFormationStackDetails & WithDriftInformation(AwsCloudFormationStackDriftInformationDetails &&value)
void SetOutputs(const Aws::Vector< AwsCloudFormationStackOutputsDetails > &value)
void SetOutputs(Aws::Vector< AwsCloudFormationStackOutputsDetails > &&value)
void SetCapabilities(const Aws::Vector< Aws::String > &value)
AwsCloudFormationStackDetails & WithStackId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue