AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ResetGraphResult.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/neptune-graph/NeptuneGraph_EXPORTS.h>
11#include <aws/neptune-graph/model/GraphStatus.h>
12#include <aws/neptune-graph/model/VectorSearchConfiguration.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace NeptuneGraph {
26namespace Model {
28 public:
29 AWS_NEPTUNEGRAPH_API ResetGraphResult() = default;
32
34
37 inline const Aws::String& GetId() const { return m_id; }
38 template <typename IdT = Aws::String>
39 void SetId(IdT&& value) {
40 m_idHasBeenSet = true;
41 m_id = std::forward<IdT>(value);
42 }
43 template <typename IdT = Aws::String>
44 ResetGraphResult& WithId(IdT&& value) {
45 SetId(std::forward<IdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 template <typename NameT = Aws::String>
56 void SetName(NameT&& value) {
57 m_nameHasBeenSet = true;
58 m_name = std::forward<NameT>(value);
59 }
60 template <typename NameT = Aws::String>
61 ResetGraphResult& WithName(NameT&& value) {
62 SetName(std::forward<NameT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetArn() const { return m_arn; }
72 template <typename ArnT = Aws::String>
73 void SetArn(ArnT&& value) {
74 m_arnHasBeenSet = true;
75 m_arn = std::forward<ArnT>(value);
76 }
77 template <typename ArnT = Aws::String>
78 ResetGraphResult& WithArn(ArnT&& value) {
79 SetArn(std::forward<ArnT>(value));
80 return *this;
81 }
83
85
88 inline GraphStatus GetStatus() const { return m_status; }
89 inline void SetStatus(GraphStatus value) {
90 m_statusHasBeenSet = true;
91 m_status = value;
92 }
94 SetStatus(value);
95 return *this;
96 }
98
100
103 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
104 template <typename StatusReasonT = Aws::String>
105 void SetStatusReason(StatusReasonT&& value) {
106 m_statusReasonHasBeenSet = true;
107 m_statusReason = std::forward<StatusReasonT>(value);
108 }
109 template <typename StatusReasonT = Aws::String>
110 ResetGraphResult& WithStatusReason(StatusReasonT&& value) {
111 SetStatusReason(std::forward<StatusReasonT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
121 template <typename CreateTimeT = Aws::Utils::DateTime>
122 void SetCreateTime(CreateTimeT&& value) {
123 m_createTimeHasBeenSet = true;
124 m_createTime = std::forward<CreateTimeT>(value);
125 }
126 template <typename CreateTimeT = Aws::Utils::DateTime>
127 ResetGraphResult& WithCreateTime(CreateTimeT&& value) {
128 SetCreateTime(std::forward<CreateTimeT>(value));
129 return *this;
130 }
132
134
138 inline int GetProvisionedMemory() const { return m_provisionedMemory; }
139 inline void SetProvisionedMemory(int value) {
140 m_provisionedMemoryHasBeenSet = true;
141 m_provisionedMemory = value;
142 }
145 return *this;
146 }
148
150
153 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
154 template <typename EndpointT = Aws::String>
155 void SetEndpoint(EndpointT&& value) {
156 m_endpointHasBeenSet = true;
157 m_endpoint = std::forward<EndpointT>(value);
158 }
159 template <typename EndpointT = Aws::String>
160 ResetGraphResult& WithEndpoint(EndpointT&& value) {
161 SetEndpoint(std::forward<EndpointT>(value));
162 return *this;
163 }
165
167
170 inline bool GetPublicConnectivity() const { return m_publicConnectivity; }
171 inline void SetPublicConnectivity(bool value) {
172 m_publicConnectivityHasBeenSet = true;
173 m_publicConnectivity = value;
174 }
177 return *this;
178 }
180
182
183 inline const VectorSearchConfiguration& GetVectorSearchConfiguration() const { return m_vectorSearchConfiguration; }
184 template <typename VectorSearchConfigurationT = VectorSearchConfiguration>
185 void SetVectorSearchConfiguration(VectorSearchConfigurationT&& value) {
186 m_vectorSearchConfigurationHasBeenSet = true;
187 m_vectorSearchConfiguration = std::forward<VectorSearchConfigurationT>(value);
188 }
189 template <typename VectorSearchConfigurationT = VectorSearchConfiguration>
190 ResetGraphResult& WithVectorSearchConfiguration(VectorSearchConfigurationT&& value) {
191 SetVectorSearchConfiguration(std::forward<VectorSearchConfigurationT>(value));
192 return *this;
193 }
195
197
200 inline int GetReplicaCount() const { return m_replicaCount; }
201 inline void SetReplicaCount(int value) {
202 m_replicaCountHasBeenSet = true;
203 m_replicaCount = value;
204 }
206 SetReplicaCount(value);
207 return *this;
208 }
210
212
215 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
216 template <typename KmsKeyIdentifierT = Aws::String>
217 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
218 m_kmsKeyIdentifierHasBeenSet = true;
219 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
220 }
221 template <typename KmsKeyIdentifierT = Aws::String>
222 ResetGraphResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
223 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
224 return *this;
225 }
227
229
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 ResetGraphResult& 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 ResetGraphResult& 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 ResetGraphResult& WithRequestId(RequestIdT&& value) {
287 SetRequestId(std::forward<RequestIdT>(value));
288 return *this;
289 }
291 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
292
293 private:
294 Aws::String m_id;
295
296 Aws::String m_name;
297
298 Aws::String m_arn;
299
301
302 Aws::String m_statusReason;
303
304 Aws::Utils::DateTime m_createTime{};
305
306 int m_provisionedMemory{0};
307
308 Aws::String m_endpoint;
309
310 bool m_publicConnectivity{false};
311
312 VectorSearchConfiguration m_vectorSearchConfiguration;
313
314 int m_replicaCount{0};
315
316 Aws::String m_kmsKeyIdentifier;
317
318 Aws::String m_sourceSnapshotId;
319
320 bool m_deletionProtection{false};
321
322 Aws::String m_buildNumber;
323
324 Aws::String m_requestId;
325 Aws::Http::HttpResponseCode m_HttpResponseCode;
326 bool m_idHasBeenSet = false;
327 bool m_nameHasBeenSet = false;
328 bool m_arnHasBeenSet = false;
329 bool m_statusHasBeenSet = false;
330 bool m_statusReasonHasBeenSet = false;
331 bool m_createTimeHasBeenSet = false;
332 bool m_provisionedMemoryHasBeenSet = false;
333 bool m_endpointHasBeenSet = false;
334 bool m_publicConnectivityHasBeenSet = false;
335 bool m_vectorSearchConfigurationHasBeenSet = false;
336 bool m_replicaCountHasBeenSet = false;
337 bool m_kmsKeyIdentifierHasBeenSet = false;
338 bool m_sourceSnapshotIdHasBeenSet = false;
339 bool m_deletionProtectionHasBeenSet = false;
340 bool m_buildNumberHasBeenSet = false;
341 bool m_requestIdHasBeenSet = false;
342};
343
344} // namespace Model
345} // namespace NeptuneGraph
346} // namespace Aws
ResetGraphResult & WithBuildNumber(BuildNumberT &&value)
const Aws::String & GetKmsKeyIdentifier() const
ResetGraphResult & WithSourceSnapshotId(SourceSnapshotIdT &&value)
void SetSourceSnapshotId(SourceSnapshotIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetCreateTime() const
void SetVectorSearchConfiguration(VectorSearchConfigurationT &&value)
ResetGraphResult & WithStatus(GraphStatus value)
ResetGraphResult & WithName(NameT &&value)
const VectorSearchConfiguration & GetVectorSearchConfiguration() const
ResetGraphResult & WithProvisionedMemory(int value)
ResetGraphResult & WithVectorSearchConfiguration(VectorSearchConfigurationT &&value)
AWS_NEPTUNEGRAPH_API ResetGraphResult()=default
ResetGraphResult & WithPublicConnectivity(bool value)
ResetGraphResult & WithRequestId(RequestIdT &&value)
void SetStatusReason(StatusReasonT &&value)
const Aws::String & GetStatusReason() const
ResetGraphResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
ResetGraphResult & WithStatusReason(StatusReasonT &&value)
AWS_NEPTUNEGRAPH_API ResetGraphResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ResetGraphResult & WithEndpoint(EndpointT &&value)
ResetGraphResult & WithArn(ArnT &&value)
AWS_NEPTUNEGRAPH_API ResetGraphResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ResetGraphResult & WithDeletionProtection(bool value)
const Aws::String & GetSourceSnapshotId() const
ResetGraphResult & WithId(IdT &&value)
ResetGraphResult & WithReplicaCount(int value)
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
ResetGraphResult & WithCreateTime(CreateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue