AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CapabilitiesT = Aws::Vector<Aws::String>>
51 void SetCapabilities(CapabilitiesT&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::forward<CapabilitiesT>(value); }
52 template<typename CapabilitiesT = Aws::Vector<Aws::String>>
53 AwsCloudFormationStackDetails& WithCapabilities(CapabilitiesT&& value) { SetCapabilities(std::forward<CapabilitiesT>(value)); return *this;}
54 template<typename CapabilitiesT = Aws::String>
55 AwsCloudFormationStackDetails& AddCapabilities(CapabilitiesT&& value) { m_capabilitiesHasBeenSet = true; m_capabilities.emplace_back(std::forward<CapabilitiesT>(value)); return *this; }
57
59
62 inline const Aws::String& GetCreationTime() const { return m_creationTime; }
63 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
64 template<typename CreationTimeT = Aws::String>
65 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
66 template<typename CreationTimeT = Aws::String>
67 AwsCloudFormationStackDetails& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template<typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
78 template<typename DescriptionT = Aws::String>
79 AwsCloudFormationStackDetails& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
81
83
86 inline bool GetDisableRollback() const { return m_disableRollback; }
87 inline bool DisableRollbackHasBeenSet() const { return m_disableRollbackHasBeenSet; }
88 inline void SetDisableRollback(bool value) { m_disableRollbackHasBeenSet = true; m_disableRollback = value; }
89 inline AwsCloudFormationStackDetails& WithDisableRollback(bool value) { SetDisableRollback(value); return *this;}
91
93
98 inline const AwsCloudFormationStackDriftInformationDetails& GetDriftInformation() const { return m_driftInformation; }
99 inline bool DriftInformationHasBeenSet() const { return m_driftInformationHasBeenSet; }
100 template<typename DriftInformationT = AwsCloudFormationStackDriftInformationDetails>
101 void SetDriftInformation(DriftInformationT&& value) { m_driftInformationHasBeenSet = true; m_driftInformation = std::forward<DriftInformationT>(value); }
102 template<typename DriftInformationT = AwsCloudFormationStackDriftInformationDetails>
103 AwsCloudFormationStackDetails& WithDriftInformation(DriftInformationT&& value) { SetDriftInformation(std::forward<DriftInformationT>(value)); return *this;}
105
107
110 inline bool GetEnableTerminationProtection() const { return m_enableTerminationProtection; }
111 inline bool EnableTerminationProtectionHasBeenSet() const { return m_enableTerminationProtectionHasBeenSet; }
112 inline void SetEnableTerminationProtection(bool value) { m_enableTerminationProtectionHasBeenSet = true; m_enableTerminationProtection = value; }
115
117
121 inline const Aws::String& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
122 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
123 template<typename LastUpdatedTimeT = Aws::String>
124 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
125 template<typename LastUpdatedTimeT = Aws::String>
126 AwsCloudFormationStackDetails& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
128
130
134 inline const Aws::Vector<Aws::String>& GetNotificationArns() const { return m_notificationArns; }
135 inline bool NotificationArnsHasBeenSet() const { return m_notificationArnsHasBeenSet; }
136 template<typename NotificationArnsT = Aws::Vector<Aws::String>>
137 void SetNotificationArns(NotificationArnsT&& value) { m_notificationArnsHasBeenSet = true; m_notificationArns = std::forward<NotificationArnsT>(value); }
138 template<typename NotificationArnsT = Aws::Vector<Aws::String>>
139 AwsCloudFormationStackDetails& WithNotificationArns(NotificationArnsT&& value) { SetNotificationArns(std::forward<NotificationArnsT>(value)); return *this;}
140 template<typename NotificationArnsT = Aws::String>
141 AwsCloudFormationStackDetails& AddNotificationArns(NotificationArnsT&& value) { m_notificationArnsHasBeenSet = true; m_notificationArns.emplace_back(std::forward<NotificationArnsT>(value)); return *this; }
143
145
148 inline const Aws::Vector<AwsCloudFormationStackOutputsDetails>& GetOutputs() const { return m_outputs; }
149 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
150 template<typename OutputsT = Aws::Vector<AwsCloudFormationStackOutputsDetails>>
151 void SetOutputs(OutputsT&& value) { m_outputsHasBeenSet = true; m_outputs = std::forward<OutputsT>(value); }
152 template<typename OutputsT = Aws::Vector<AwsCloudFormationStackOutputsDetails>>
153 AwsCloudFormationStackDetails& WithOutputs(OutputsT&& value) { SetOutputs(std::forward<OutputsT>(value)); return *this;}
154 template<typename OutputsT = AwsCloudFormationStackOutputsDetails>
155 AwsCloudFormationStackDetails& AddOutputs(OutputsT&& value) { m_outputsHasBeenSet = true; m_outputs.emplace_back(std::forward<OutputsT>(value)); return *this; }
157
159
162 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
163 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
164 template<typename RoleArnT = Aws::String>
165 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
166 template<typename RoleArnT = Aws::String>
167 AwsCloudFormationStackDetails& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
169
171
174 inline const Aws::String& GetStackId() const { return m_stackId; }
175 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
176 template<typename StackIdT = Aws::String>
177 void SetStackId(StackIdT&& value) { m_stackIdHasBeenSet = true; m_stackId = std::forward<StackIdT>(value); }
178 template<typename StackIdT = Aws::String>
179 AwsCloudFormationStackDetails& WithStackId(StackIdT&& value) { SetStackId(std::forward<StackIdT>(value)); return *this;}
181
183
186 inline const Aws::String& GetStackName() const { return m_stackName; }
187 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
188 template<typename StackNameT = Aws::String>
189 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
190 template<typename StackNameT = Aws::String>
191 AwsCloudFormationStackDetails& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
193
195
198 inline const Aws::String& GetStackStatus() const { return m_stackStatus; }
199 inline bool StackStatusHasBeenSet() const { return m_stackStatusHasBeenSet; }
200 template<typename StackStatusT = Aws::String>
201 void SetStackStatus(StackStatusT&& value) { m_stackStatusHasBeenSet = true; m_stackStatus = std::forward<StackStatusT>(value); }
202 template<typename StackStatusT = Aws::String>
203 AwsCloudFormationStackDetails& WithStackStatus(StackStatusT&& value) { SetStackStatus(std::forward<StackStatusT>(value)); return *this;}
205
207
210 inline const Aws::String& GetStackStatusReason() const { return m_stackStatusReason; }
211 inline bool StackStatusReasonHasBeenSet() const { return m_stackStatusReasonHasBeenSet; }
212 template<typename StackStatusReasonT = Aws::String>
213 void SetStackStatusReason(StackStatusReasonT&& value) { m_stackStatusReasonHasBeenSet = true; m_stackStatusReason = std::forward<StackStatusReasonT>(value); }
214 template<typename StackStatusReasonT = Aws::String>
215 AwsCloudFormationStackDetails& WithStackStatusReason(StackStatusReasonT&& value) { SetStackStatusReason(std::forward<StackStatusReasonT>(value)); return *this;}
217
219
223 inline int GetTimeoutInMinutes() const { return m_timeoutInMinutes; }
224 inline bool TimeoutInMinutesHasBeenSet() const { return m_timeoutInMinutesHasBeenSet; }
225 inline void SetTimeoutInMinutes(int value) { m_timeoutInMinutesHasBeenSet = true; m_timeoutInMinutes = value; }
228 private:
229
230 Aws::Vector<Aws::String> m_capabilities;
231 bool m_capabilitiesHasBeenSet = false;
232
233 Aws::String m_creationTime;
234 bool m_creationTimeHasBeenSet = false;
235
236 Aws::String m_description;
237 bool m_descriptionHasBeenSet = false;
238
239 bool m_disableRollback{false};
240 bool m_disableRollbackHasBeenSet = false;
241
242 AwsCloudFormationStackDriftInformationDetails m_driftInformation;
243 bool m_driftInformationHasBeenSet = false;
244
245 bool m_enableTerminationProtection{false};
246 bool m_enableTerminationProtectionHasBeenSet = false;
247
248 Aws::String m_lastUpdatedTime;
249 bool m_lastUpdatedTimeHasBeenSet = false;
250
251 Aws::Vector<Aws::String> m_notificationArns;
252 bool m_notificationArnsHasBeenSet = false;
253
255 bool m_outputsHasBeenSet = false;
256
257 Aws::String m_roleArn;
258 bool m_roleArnHasBeenSet = false;
259
260 Aws::String m_stackId;
261 bool m_stackIdHasBeenSet = false;
262
263 Aws::String m_stackName;
264 bool m_stackNameHasBeenSet = false;
265
266 Aws::String m_stackStatus;
267 bool m_stackStatusHasBeenSet = false;
268
269 Aws::String m_stackStatusReason;
270 bool m_stackStatusReasonHasBeenSet = false;
271
272 int m_timeoutInMinutes{0};
273 bool m_timeoutInMinutesHasBeenSet = false;
274 };
275
276} // namespace Model
277} // namespace SecurityHub
278} // namespace Aws
AWS_SECURITYHUB_API AwsCloudFormationStackDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsCloudFormationStackDetails & WithOutputs(OutputsT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsCloudFormationStackDetails & WithRoleArn(RoleArnT &&value)
AwsCloudFormationStackDetails & AddNotificationArns(NotificationArnsT &&value)
AWS_SECURITYHUB_API AwsCloudFormationStackDetails(Aws::Utils::Json::JsonView jsonValue)
AwsCloudFormationStackDetails & AddOutputs(OutputsT &&value)
AwsCloudFormationStackDetails & WithDescription(DescriptionT &&value)
AwsCloudFormationStackDetails & WithCapabilities(CapabilitiesT &&value)
AWS_SECURITYHUB_API AwsCloudFormationStackDetails()=default
AwsCloudFormationStackDetails & WithDisableRollback(bool value)
AwsCloudFormationStackDetails & WithStackStatusReason(StackStatusReasonT &&value)
AwsCloudFormationStackDetails & WithNotificationArns(NotificationArnsT &&value)
AwsCloudFormationStackDetails & WithStackName(StackNameT &&value)
AwsCloudFormationStackDetails & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AwsCloudFormationStackDetails & WithStackId(StackIdT &&value)
const AwsCloudFormationStackDriftInformationDetails & GetDriftInformation() const
AwsCloudFormationStackDetails & WithDriftInformation(DriftInformationT &&value)
AwsCloudFormationStackDetails & AddCapabilities(CapabilitiesT &&value)
AwsCloudFormationStackDetails & WithEnableTerminationProtection(bool value)
AwsCloudFormationStackDetails & WithTimeoutInMinutes(int value)
AwsCloudFormationStackDetails & WithStackStatus(StackStatusT &&value)
const Aws::Vector< AwsCloudFormationStackOutputsDetails > & GetOutputs() const
AwsCloudFormationStackDetails & WithCreationTime(CreationTimeT &&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