AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
CreateDeploymentSnapshotResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/network-security-manager/NetworkSecurityManager_EXPORTS.h>
12#include <aws/network-security-manager/model/AssociatedPolicy.h>
13#include <aws/network-security-manager/model/AssociatedScope.h>
14#include <aws/network-security-manager/model/DeploymentConfiguration.h>
15#include <aws/network-security-manager/model/EntityStatus.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace NetworkSecurityManager {
29namespace Model {
31 public:
32 AWS_NETWORKSECURITYMANAGER_API CreateDeploymentSnapshotResult() = default;
34 AWS_NETWORKSECURITYMANAGER_API CreateDeploymentSnapshotResult& operator=(
36
38
41 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
42 template <typename DeploymentIdT = Aws::String>
43 void SetDeploymentId(DeploymentIdT&& value) {
44 m_deploymentIdHasBeenSet = true;
45 m_deploymentId = std::forward<DeploymentIdT>(value);
46 }
47 template <typename DeploymentIdT = Aws::String>
49 SetDeploymentId(std::forward<DeploymentIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDeploymentArn() const { return m_deploymentArn; }
59 template <typename DeploymentArnT = Aws::String>
60 void SetDeploymentArn(DeploymentArnT&& value) {
61 m_deploymentArnHasBeenSet = true;
62 m_deploymentArn = std::forward<DeploymentArnT>(value);
63 }
64 template <typename DeploymentArnT = Aws::String>
66 SetDeploymentArn(std::forward<DeploymentArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDeploymentName() const { return m_deploymentName; }
76 template <typename DeploymentNameT = Aws::String>
77 void SetDeploymentName(DeploymentNameT&& value) {
78 m_deploymentNameHasBeenSet = true;
79 m_deploymentName = std::forward<DeploymentNameT>(value);
80 }
81 template <typename DeploymentNameT = Aws::String>
83 SetDeploymentName(std::forward<DeploymentNameT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetDeploymentDescription() const { return m_deploymentDescription; }
93 template <typename DeploymentDescriptionT = Aws::String>
94 void SetDeploymentDescription(DeploymentDescriptionT&& value) {
95 m_deploymentDescriptionHasBeenSet = true;
96 m_deploymentDescription = std::forward<DeploymentDescriptionT>(value);
97 }
98 template <typename DeploymentDescriptionT = Aws::String>
100 SetDeploymentDescription(std::forward<DeploymentDescriptionT>(value));
101 return *this;
102 }
104
106
110 inline EntityStatus GetStatus() const { return m_status; }
111 inline void SetStatus(EntityStatus value) {
112 m_statusHasBeenSet = true;
113 m_status = value;
114 }
116 SetStatus(value);
117 return *this;
118 }
120
122
125 inline const DeploymentConfiguration& GetDeploymentConfiguration() const { return m_deploymentConfiguration; }
126 template <typename DeploymentConfigurationT = DeploymentConfiguration>
127 void SetDeploymentConfiguration(DeploymentConfigurationT&& value) {
128 m_deploymentConfigurationHasBeenSet = true;
129 m_deploymentConfiguration = std::forward<DeploymentConfigurationT>(value);
130 }
131 template <typename DeploymentConfigurationT = DeploymentConfiguration>
133 SetDeploymentConfiguration(std::forward<DeploymentConfigurationT>(value));
134 return *this;
135 }
137
139
142 inline const Aws::Vector<AssociatedPolicy>& GetAssociatedPolicyList() const { return m_associatedPolicyList; }
143 template <typename AssociatedPolicyListT = Aws::Vector<AssociatedPolicy>>
144 void SetAssociatedPolicyList(AssociatedPolicyListT&& value) {
145 m_associatedPolicyListHasBeenSet = true;
146 m_associatedPolicyList = std::forward<AssociatedPolicyListT>(value);
147 }
148 template <typename AssociatedPolicyListT = Aws::Vector<AssociatedPolicy>>
150 SetAssociatedPolicyList(std::forward<AssociatedPolicyListT>(value));
151 return *this;
152 }
153 template <typename AssociatedPolicyListT = AssociatedPolicy>
155 m_associatedPolicyListHasBeenSet = true;
156 m_associatedPolicyList.emplace_back(std::forward<AssociatedPolicyListT>(value));
157 return *this;
158 }
160
162
166 inline const Aws::Vector<AssociatedScope>& GetAssociatedScopeList() const { return m_associatedScopeList; }
167 template <typename AssociatedScopeListT = Aws::Vector<AssociatedScope>>
168 void SetAssociatedScopeList(AssociatedScopeListT&& value) {
169 m_associatedScopeListHasBeenSet = true;
170 m_associatedScopeList = std::forward<AssociatedScopeListT>(value);
171 }
172 template <typename AssociatedScopeListT = Aws::Vector<AssociatedScope>>
174 SetAssociatedScopeList(std::forward<AssociatedScopeListT>(value));
175 return *this;
176 }
177 template <typename AssociatedScopeListT = AssociatedScope>
179 m_associatedScopeListHasBeenSet = true;
180 m_associatedScopeList.emplace_back(std::forward<AssociatedScopeListT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::String& GetVersion() const { return m_version; }
190 template <typename VersionT = Aws::String>
191 void SetVersion(VersionT&& value) {
192 m_versionHasBeenSet = true;
193 m_version = std::forward<VersionT>(value);
194 }
195 template <typename VersionT = Aws::String>
197 SetVersion(std::forward<VersionT>(value));
198 return *this;
199 }
201
203
208 inline const Aws::String& GetUpdateToken() const { return m_updateToken; }
209 template <typename UpdateTokenT = Aws::String>
210 void SetUpdateToken(UpdateTokenT&& value) {
211 m_updateTokenHasBeenSet = true;
212 m_updateToken = std::forward<UpdateTokenT>(value);
213 }
214 template <typename UpdateTokenT = Aws::String>
216 SetUpdateToken(std::forward<UpdateTokenT>(value));
217 return *this;
218 }
220
222
225 inline bool GetIsSnapshot() const { return m_isSnapshot; }
226 inline void SetIsSnapshot(bool value) {
227 m_isSnapshotHasBeenSet = true;
228 m_isSnapshot = value;
229 }
231 SetIsSnapshot(value);
232 return *this;
233 }
235
237
240 inline bool GetHasPublishedVersion() const { return m_hasPublishedVersion; }
241 inline void SetHasPublishedVersion(bool value) {
242 m_hasPublishedVersionHasBeenSet = true;
243 m_hasPublishedVersion = value;
244 }
247 return *this;
248 }
250
252
255 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
256 template <typename UpdatedAtT = Aws::Utils::DateTime>
257 void SetUpdatedAt(UpdatedAtT&& value) {
258 m_updatedAtHasBeenSet = true;
259 m_updatedAt = std::forward<UpdatedAtT>(value);
260 }
261 template <typename UpdatedAtT = Aws::Utils::DateTime>
263 SetUpdatedAt(std::forward<UpdatedAtT>(value));
264 return *this;
265 }
267
269
270 inline const Aws::String& GetRequestId() const { return m_requestId; }
271 template <typename RequestIdT = Aws::String>
272 void SetRequestId(RequestIdT&& value) {
273 m_requestIdHasBeenSet = true;
274 m_requestId = std::forward<RequestIdT>(value);
275 }
276 template <typename RequestIdT = Aws::String>
278 SetRequestId(std::forward<RequestIdT>(value));
279 return *this;
280 }
282 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
283
284 private:
285 Aws::String m_deploymentId;
286
287 Aws::String m_deploymentArn;
288
289 Aws::String m_deploymentName;
290
291 Aws::String m_deploymentDescription;
292
294
295 DeploymentConfiguration m_deploymentConfiguration;
296
297 Aws::Vector<AssociatedPolicy> m_associatedPolicyList;
298
299 Aws::Vector<AssociatedScope> m_associatedScopeList;
300
301 Aws::String m_version;
302
303 Aws::String m_updateToken;
304
305 bool m_isSnapshot{false};
306
307 bool m_hasPublishedVersion{false};
308
309 Aws::Utils::DateTime m_updatedAt{};
310
311 Aws::String m_requestId;
312 Aws::Http::HttpResponseCode m_HttpResponseCode;
313 bool m_deploymentIdHasBeenSet = false;
314 bool m_deploymentArnHasBeenSet = false;
315 bool m_deploymentNameHasBeenSet = false;
316 bool m_deploymentDescriptionHasBeenSet = false;
317 bool m_statusHasBeenSet = false;
318 bool m_deploymentConfigurationHasBeenSet = false;
319 bool m_associatedPolicyListHasBeenSet = false;
320 bool m_associatedScopeListHasBeenSet = false;
321 bool m_versionHasBeenSet = false;
322 bool m_updateTokenHasBeenSet = false;
323 bool m_isSnapshotHasBeenSet = false;
324 bool m_hasPublishedVersionHasBeenSet = false;
325 bool m_updatedAtHasBeenSet = false;
326 bool m_requestIdHasBeenSet = false;
327};
328
329} // namespace Model
330} // namespace NetworkSecurityManager
331} // namespace Aws
CreateDeploymentSnapshotResult & WithDeploymentName(DeploymentNameT &&value)
CreateDeploymentSnapshotResult & WithUpdateToken(UpdateTokenT &&value)
CreateDeploymentSnapshotResult & WithDeploymentId(DeploymentIdT &&value)
CreateDeploymentSnapshotResult & AddAssociatedPolicyList(AssociatedPolicyListT &&value)
CreateDeploymentSnapshotResult & WithDeploymentDescription(DeploymentDescriptionT &&value)
AWS_NETWORKSECURITYMANAGER_API CreateDeploymentSnapshotResult()=default
AWS_NETWORKSECURITYMANAGER_API CreateDeploymentSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDeploymentSnapshotResult & AddAssociatedScopeList(AssociatedScopeListT &&value)
AWS_NETWORKSECURITYMANAGER_API CreateDeploymentSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDeploymentSnapshotResult & WithDeploymentConfiguration(DeploymentConfigurationT &&value)
CreateDeploymentSnapshotResult & WithAssociatedScopeList(AssociatedScopeListT &&value)
CreateDeploymentSnapshotResult & WithDeploymentArn(DeploymentArnT &&value)
CreateDeploymentSnapshotResult & WithAssociatedPolicyList(AssociatedPolicyListT &&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