AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
CreateScopeSnapshotResult.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/network-security-manager/NetworkSecurityManager_EXPORTS.h>
11#include <aws/network-security-manager/model/EntityStatus.h>
12#include <aws/network-security-manager/model/ScopeConfiguration.h>
13#include <aws/network-security-manager/model/SpecializedScopeType.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace NetworkSecurityManager {
27namespace Model {
29 public:
30 AWS_NETWORKSECURITYMANAGER_API CreateScopeSnapshotResult() = default;
32 AWS_NETWORKSECURITYMANAGER_API CreateScopeSnapshotResult& operator=(
34
36
39 inline const Aws::String& GetScopeId() const { return m_scopeId; }
40 template <typename ScopeIdT = Aws::String>
41 void SetScopeId(ScopeIdT&& value) {
42 m_scopeIdHasBeenSet = true;
43 m_scopeId = std::forward<ScopeIdT>(value);
44 }
45 template <typename ScopeIdT = Aws::String>
47 SetScopeId(std::forward<ScopeIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetScopeArn() const { return m_scopeArn; }
57 template <typename ScopeArnT = Aws::String>
58 void SetScopeArn(ScopeArnT&& value) {
59 m_scopeArnHasBeenSet = true;
60 m_scopeArn = std::forward<ScopeArnT>(value);
61 }
62 template <typename ScopeArnT = Aws::String>
64 SetScopeArn(std::forward<ScopeArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetScopeName() const { return m_scopeName; }
74 template <typename ScopeNameT = Aws::String>
75 void SetScopeName(ScopeNameT&& value) {
76 m_scopeNameHasBeenSet = true;
77 m_scopeName = std::forward<ScopeNameT>(value);
78 }
79 template <typename ScopeNameT = Aws::String>
81 SetScopeName(std::forward<ScopeNameT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetScopeDescription() const { return m_scopeDescription; }
91 template <typename ScopeDescriptionT = Aws::String>
92 void SetScopeDescription(ScopeDescriptionT&& value) {
93 m_scopeDescriptionHasBeenSet = true;
94 m_scopeDescription = std::forward<ScopeDescriptionT>(value);
95 }
96 template <typename ScopeDescriptionT = Aws::String>
97 CreateScopeSnapshotResult& WithScopeDescription(ScopeDescriptionT&& value) {
98 SetScopeDescription(std::forward<ScopeDescriptionT>(value));
99 return *this;
100 }
102
104
107 inline const ScopeConfiguration& GetScopeConfiguration() const { return m_scopeConfiguration; }
108 template <typename ScopeConfigurationT = ScopeConfiguration>
109 void SetScopeConfiguration(ScopeConfigurationT&& value) {
110 m_scopeConfigurationHasBeenSet = true;
111 m_scopeConfiguration = std::forward<ScopeConfigurationT>(value);
112 }
113 template <typename ScopeConfigurationT = ScopeConfiguration>
114 CreateScopeSnapshotResult& WithScopeConfiguration(ScopeConfigurationT&& value) {
115 SetScopeConfiguration(std::forward<ScopeConfigurationT>(value));
116 return *this;
117 }
119
121
128 inline SpecializedScopeType GetSpecializedScopeType() const { return m_specializedScopeType; }
130 m_specializedScopeTypeHasBeenSet = true;
131 m_specializedScopeType = value;
132 }
138
140
144 inline EntityStatus GetStatus() const { return m_status; }
145 inline void SetStatus(EntityStatus value) {
146 m_statusHasBeenSet = true;
147 m_status = value;
148 }
150 SetStatus(value);
151 return *this;
152 }
154
156
159 inline const Aws::String& GetVersion() const { return m_version; }
160 template <typename VersionT = Aws::String>
161 void SetVersion(VersionT&& value) {
162 m_versionHasBeenSet = true;
163 m_version = std::forward<VersionT>(value);
164 }
165 template <typename VersionT = Aws::String>
167 SetVersion(std::forward<VersionT>(value));
168 return *this;
169 }
171
173
178 inline const Aws::String& GetUpdateToken() const { return m_updateToken; }
179 template <typename UpdateTokenT = Aws::String>
180 void SetUpdateToken(UpdateTokenT&& value) {
181 m_updateTokenHasBeenSet = true;
182 m_updateToken = std::forward<UpdateTokenT>(value);
183 }
184 template <typename UpdateTokenT = Aws::String>
186 SetUpdateToken(std::forward<UpdateTokenT>(value));
187 return *this;
188 }
190
192
195 inline bool GetIsSnapshot() const { return m_isSnapshot; }
196 inline void SetIsSnapshot(bool value) {
197 m_isSnapshotHasBeenSet = true;
198 m_isSnapshot = value;
199 }
201 SetIsSnapshot(value);
202 return *this;
203 }
205
207
210 inline bool GetHasPublishedVersion() const { return m_hasPublishedVersion; }
211 inline void SetHasPublishedVersion(bool value) {
212 m_hasPublishedVersionHasBeenSet = true;
213 m_hasPublishedVersion = value;
214 }
217 return *this;
218 }
220
222
225 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
226 template <typename UpdatedAtT = Aws::Utils::DateTime>
227 void SetUpdatedAt(UpdatedAtT&& value) {
228 m_updatedAtHasBeenSet = true;
229 m_updatedAt = std::forward<UpdatedAtT>(value);
230 }
231 template <typename UpdatedAtT = Aws::Utils::DateTime>
233 SetUpdatedAt(std::forward<UpdatedAtT>(value));
234 return *this;
235 }
237
239
240 inline const Aws::String& GetRequestId() const { return m_requestId; }
241 template <typename RequestIdT = Aws::String>
242 void SetRequestId(RequestIdT&& value) {
243 m_requestIdHasBeenSet = true;
244 m_requestId = std::forward<RequestIdT>(value);
245 }
246 template <typename RequestIdT = Aws::String>
248 SetRequestId(std::forward<RequestIdT>(value));
249 return *this;
250 }
252 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
253
254 private:
255 Aws::String m_scopeId;
256
257 Aws::String m_scopeArn;
258
259 Aws::String m_scopeName;
260
261 Aws::String m_scopeDescription;
262
263 ScopeConfiguration m_scopeConfiguration;
264
266
268
269 Aws::String m_version;
270
271 Aws::String m_updateToken;
272
273 bool m_isSnapshot{false};
274
275 bool m_hasPublishedVersion{false};
276
277 Aws::Utils::DateTime m_updatedAt{};
278
279 Aws::String m_requestId;
280 Aws::Http::HttpResponseCode m_HttpResponseCode;
281 bool m_scopeIdHasBeenSet = false;
282 bool m_scopeArnHasBeenSet = false;
283 bool m_scopeNameHasBeenSet = false;
284 bool m_scopeDescriptionHasBeenSet = false;
285 bool m_scopeConfigurationHasBeenSet = false;
286 bool m_specializedScopeTypeHasBeenSet = false;
287 bool m_statusHasBeenSet = false;
288 bool m_versionHasBeenSet = false;
289 bool m_updateTokenHasBeenSet = false;
290 bool m_isSnapshotHasBeenSet = false;
291 bool m_hasPublishedVersionHasBeenSet = false;
292 bool m_updatedAtHasBeenSet = false;
293 bool m_requestIdHasBeenSet = false;
294};
295
296} // namespace Model
297} // namespace NetworkSecurityManager
298} // namespace Aws
CreateScopeSnapshotResult & WithScopeArn(ScopeArnT &&value)
CreateScopeSnapshotResult & WithRequestId(RequestIdT &&value)
AWS_NETWORKSECURITYMANAGER_API CreateScopeSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateScopeSnapshotResult & WithUpdatedAt(UpdatedAtT &&value)
CreateScopeSnapshotResult & WithScopeName(ScopeNameT &&value)
AWS_NETWORKSECURITYMANAGER_API CreateScopeSnapshotResult()=default
AWS_NETWORKSECURITYMANAGER_API CreateScopeSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateScopeSnapshotResult & WithScopeDescription(ScopeDescriptionT &&value)
CreateScopeSnapshotResult & WithUpdateToken(UpdateTokenT &&value)
CreateScopeSnapshotResult & WithSpecializedScopeType(SpecializedScopeType value)
CreateScopeSnapshotResult & WithScopeConfiguration(ScopeConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue