AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteGraphResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
10#include <aws/neptune-graph/model/GraphStatus.h>
11#include <aws/neptune-graph/model/VectorSearchConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace NeptuneGraph {
25namespace Model {
27 public:
28 AWS_NEPTUNEGRAPH_API DeleteGraphResult() = default;
31
33
36 inline const Aws::String& GetId() const { return m_id; }
37 template <typename IdT = Aws::String>
38 void SetId(IdT&& value) {
39 m_idHasBeenSet = true;
40 m_id = std::forward<IdT>(value);
41 }
42 template <typename IdT = Aws::String>
43 DeleteGraphResult& WithId(IdT&& value) {
44 SetId(std::forward<IdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 template <typename NameT = Aws::String>
55 void SetName(NameT&& value) {
56 m_nameHasBeenSet = true;
57 m_name = std::forward<NameT>(value);
58 }
59 template <typename NameT = Aws::String>
60 DeleteGraphResult& WithName(NameT&& value) {
61 SetName(std::forward<NameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetArn() const { return m_arn; }
71 template <typename ArnT = Aws::String>
72 void SetArn(ArnT&& value) {
73 m_arnHasBeenSet = true;
74 m_arn = std::forward<ArnT>(value);
75 }
76 template <typename ArnT = Aws::String>
77 DeleteGraphResult& WithArn(ArnT&& value) {
78 SetArn(std::forward<ArnT>(value));
79 return *this;
80 }
82
84
87 inline GraphStatus GetStatus() const { return m_status; }
88 inline void SetStatus(GraphStatus value) {
89 m_statusHasBeenSet = true;
90 m_status = value;
91 }
93 SetStatus(value);
94 return *this;
95 }
97
99
102 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
103 template <typename StatusReasonT = Aws::String>
104 void SetStatusReason(StatusReasonT&& value) {
105 m_statusReasonHasBeenSet = true;
106 m_statusReason = std::forward<StatusReasonT>(value);
107 }
108 template <typename StatusReasonT = Aws::String>
109 DeleteGraphResult& WithStatusReason(StatusReasonT&& value) {
110 SetStatusReason(std::forward<StatusReasonT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
120 template <typename CreateTimeT = Aws::Utils::DateTime>
121 void SetCreateTime(CreateTimeT&& value) {
122 m_createTimeHasBeenSet = true;
123 m_createTime = std::forward<CreateTimeT>(value);
124 }
125 template <typename CreateTimeT = Aws::Utils::DateTime>
126 DeleteGraphResult& WithCreateTime(CreateTimeT&& value) {
127 SetCreateTime(std::forward<CreateTimeT>(value));
128 return *this;
129 }
131
133
137 inline int GetProvisionedMemory() const { return m_provisionedMemory; }
138 inline void SetProvisionedMemory(int value) {
139 m_provisionedMemoryHasBeenSet = true;
140 m_provisionedMemory = value;
141 }
144 return *this;
145 }
147
149
152 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
153 template <typename EndpointT = Aws::String>
154 void SetEndpoint(EndpointT&& value) {
155 m_endpointHasBeenSet = true;
156 m_endpoint = std::forward<EndpointT>(value);
157 }
158 template <typename EndpointT = Aws::String>
159 DeleteGraphResult& WithEndpoint(EndpointT&& value) {
160 SetEndpoint(std::forward<EndpointT>(value));
161 return *this;
162 }
164
166
169 inline bool GetPublicConnectivity() const { return m_publicConnectivity; }
170 inline void SetPublicConnectivity(bool value) {
171 m_publicConnectivityHasBeenSet = true;
172 m_publicConnectivity = value;
173 }
176 return *this;
177 }
179
181
182 inline const VectorSearchConfiguration& GetVectorSearchConfiguration() const { return m_vectorSearchConfiguration; }
183 template <typename VectorSearchConfigurationT = VectorSearchConfiguration>
184 void SetVectorSearchConfiguration(VectorSearchConfigurationT&& value) {
185 m_vectorSearchConfigurationHasBeenSet = true;
186 m_vectorSearchConfiguration = std::forward<VectorSearchConfigurationT>(value);
187 }
188 template <typename VectorSearchConfigurationT = VectorSearchConfiguration>
189 DeleteGraphResult& WithVectorSearchConfiguration(VectorSearchConfigurationT&& value) {
190 SetVectorSearchConfiguration(std::forward<VectorSearchConfigurationT>(value));
191 return *this;
192 }
194
196
199 inline int GetReplicaCount() const { return m_replicaCount; }
200 inline void SetReplicaCount(int value) {
201 m_replicaCountHasBeenSet = true;
202 m_replicaCount = value;
203 }
205 SetReplicaCount(value);
206 return *this;
207 }
209
211
214 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
215 template <typename KmsKeyIdentifierT = Aws::String>
216 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
217 m_kmsKeyIdentifierHasBeenSet = true;
218 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
219 }
220 template <typename KmsKeyIdentifierT = Aws::String>
221 DeleteGraphResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
222 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
223 return *this;
224 }
226
228
232 inline const Aws::String& GetSourceSnapshotId() const { return m_sourceSnapshotId; }
233 template <typename SourceSnapshotIdT = Aws::String>
234 void SetSourceSnapshotId(SourceSnapshotIdT&& value) {
235 m_sourceSnapshotIdHasBeenSet = true;
236 m_sourceSnapshotId = std::forward<SourceSnapshotIdT>(value);
237 }
238 template <typename SourceSnapshotIdT = Aws::String>
239 DeleteGraphResult& WithSourceSnapshotId(SourceSnapshotIdT&& value) {
240 SetSourceSnapshotId(std::forward<SourceSnapshotIdT>(value));
241 return *this;
242 }
244
246
249 inline bool GetDeletionProtection() const { return m_deletionProtection; }
250 inline void SetDeletionProtection(bool value) {
251 m_deletionProtectionHasBeenSet = true;
252 m_deletionProtection = value;
253 }
256 return *this;
257 }
259
261
264 inline const Aws::String& GetBuildNumber() const { return m_buildNumber; }
265 template <typename BuildNumberT = Aws::String>
266 void SetBuildNumber(BuildNumberT&& value) {
267 m_buildNumberHasBeenSet = true;
268 m_buildNumber = std::forward<BuildNumberT>(value);
269 }
270 template <typename BuildNumberT = Aws::String>
271 DeleteGraphResult& WithBuildNumber(BuildNumberT&& value) {
272 SetBuildNumber(std::forward<BuildNumberT>(value));
273 return *this;
274 }
276
278
279 inline const Aws::String& GetRequestId() const { return m_requestId; }
280 template <typename RequestIdT = Aws::String>
281 void SetRequestId(RequestIdT&& value) {
282 m_requestIdHasBeenSet = true;
283 m_requestId = std::forward<RequestIdT>(value);
284 }
285 template <typename RequestIdT = Aws::String>
286 DeleteGraphResult& WithRequestId(RequestIdT&& value) {
287 SetRequestId(std::forward<RequestIdT>(value));
288 return *this;
289 }
291 private:
292 Aws::String m_id;
293
294 Aws::String m_name;
295
296 Aws::String m_arn;
297
299
300 Aws::String m_statusReason;
301
302 Aws::Utils::DateTime m_createTime{};
303
304 int m_provisionedMemory{0};
305
306 Aws::String m_endpoint;
307
308 bool m_publicConnectivity{false};
309
310 VectorSearchConfiguration m_vectorSearchConfiguration;
311
312 int m_replicaCount{0};
313
314 Aws::String m_kmsKeyIdentifier;
315
316 Aws::String m_sourceSnapshotId;
317
318 bool m_deletionProtection{false};
319
320 Aws::String m_buildNumber;
321
322 Aws::String m_requestId;
323 bool m_idHasBeenSet = false;
324 bool m_nameHasBeenSet = false;
325 bool m_arnHasBeenSet = false;
326 bool m_statusHasBeenSet = false;
327 bool m_statusReasonHasBeenSet = false;
328 bool m_createTimeHasBeenSet = false;
329 bool m_provisionedMemoryHasBeenSet = false;
330 bool m_endpointHasBeenSet = false;
331 bool m_publicConnectivityHasBeenSet = false;
332 bool m_vectorSearchConfigurationHasBeenSet = false;
333 bool m_replicaCountHasBeenSet = false;
334 bool m_kmsKeyIdentifierHasBeenSet = false;
335 bool m_sourceSnapshotIdHasBeenSet = false;
336 bool m_deletionProtectionHasBeenSet = false;
337 bool m_buildNumberHasBeenSet = false;
338 bool m_requestIdHasBeenSet = false;
339};
340
341} // namespace Model
342} // namespace NeptuneGraph
343} // namespace Aws
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
DeleteGraphResult & WithId(IdT &&value)
DeleteGraphResult & WithCreateTime(CreateTimeT &&value)
const Aws::String & GetKmsKeyIdentifier() const
AWS_NEPTUNEGRAPH_API DeleteGraphResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteGraphResult & WithRequestId(RequestIdT &&value)
DeleteGraphResult & WithSourceSnapshotId(SourceSnapshotIdT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
const VectorSearchConfiguration & GetVectorSearchConfiguration() const
AWS_NEPTUNEGRAPH_API DeleteGraphResult()=default
DeleteGraphResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
DeleteGraphResult & WithProvisionedMemory(int value)
const Aws::String & GetSourceSnapshotId() const
DeleteGraphResult & WithStatusReason(StatusReasonT &&value)
DeleteGraphResult & WithBuildNumber(BuildNumberT &&value)
DeleteGraphResult & WithArn(ArnT &&value)
DeleteGraphResult & WithDeletionProtection(bool value)
void SetVectorSearchConfiguration(VectorSearchConfigurationT &&value)
void SetSourceSnapshotId(SourceSnapshotIdT &&value)
DeleteGraphResult & WithEndpoint(EndpointT &&value)
AWS_NEPTUNEGRAPH_API DeleteGraphResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteGraphResult & WithReplicaCount(int value)
DeleteGraphResult & WithName(NameT &&value)
DeleteGraphResult & WithStatus(GraphStatus value)
DeleteGraphResult & WithPublicConnectivity(bool value)
DeleteGraphResult & WithVectorSearchConfiguration(VectorSearchConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue