AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ResetGraphResult.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 ResetGraphResult() = 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 ResetGraphResult& 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 ResetGraphResult& 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 ResetGraphResult& 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 ResetGraphResult& 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 ResetGraphResult& 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 ResetGraphResult& 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 ResetGraphResult& 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 ResetGraphResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
222 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
223 return *this;
224 }
226
228
231 inline const Aws::String& GetSourceSnapshotId() const { return m_sourceSnapshotId; }
232 template <typename SourceSnapshotIdT = Aws::String>
233 void SetSourceSnapshotId(SourceSnapshotIdT&& value) {
234 m_sourceSnapshotIdHasBeenSet = true;
235 m_sourceSnapshotId = std::forward<SourceSnapshotIdT>(value);
236 }
237 template <typename SourceSnapshotIdT = Aws::String>
238 ResetGraphResult& WithSourceSnapshotId(SourceSnapshotIdT&& value) {
239 SetSourceSnapshotId(std::forward<SourceSnapshotIdT>(value));
240 return *this;
241 }
243
245
248 inline bool GetDeletionProtection() const { return m_deletionProtection; }
249 inline void SetDeletionProtection(bool value) {
250 m_deletionProtectionHasBeenSet = true;
251 m_deletionProtection = value;
252 }
255 return *this;
256 }
258
260
263 inline const Aws::String& GetBuildNumber() const { return m_buildNumber; }
264 template <typename BuildNumberT = Aws::String>
265 void SetBuildNumber(BuildNumberT&& value) {
266 m_buildNumberHasBeenSet = true;
267 m_buildNumber = std::forward<BuildNumberT>(value);
268 }
269 template <typename BuildNumberT = Aws::String>
270 ResetGraphResult& WithBuildNumber(BuildNumberT&& value) {
271 SetBuildNumber(std::forward<BuildNumberT>(value));
272 return *this;
273 }
275
277
278 inline const Aws::String& GetRequestId() const { return m_requestId; }
279 template <typename RequestIdT = Aws::String>
280 void SetRequestId(RequestIdT&& value) {
281 m_requestIdHasBeenSet = true;
282 m_requestId = std::forward<RequestIdT>(value);
283 }
284 template <typename RequestIdT = Aws::String>
285 ResetGraphResult& WithRequestId(RequestIdT&& value) {
286 SetRequestId(std::forward<RequestIdT>(value));
287 return *this;
288 }
290 private:
291 Aws::String m_id;
292
293 Aws::String m_name;
294
295 Aws::String m_arn;
296
298
299 Aws::String m_statusReason;
300
301 Aws::Utils::DateTime m_createTime{};
302
303 int m_provisionedMemory{0};
304
305 Aws::String m_endpoint;
306
307 bool m_publicConnectivity{false};
308
309 VectorSearchConfiguration m_vectorSearchConfiguration;
310
311 int m_replicaCount{0};
312
313 Aws::String m_kmsKeyIdentifier;
314
315 Aws::String m_sourceSnapshotId;
316
317 bool m_deletionProtection{false};
318
319 Aws::String m_buildNumber;
320
321 Aws::String m_requestId;
322 bool m_idHasBeenSet = false;
323 bool m_nameHasBeenSet = false;
324 bool m_arnHasBeenSet = false;
325 bool m_statusHasBeenSet = false;
326 bool m_statusReasonHasBeenSet = false;
327 bool m_createTimeHasBeenSet = false;
328 bool m_provisionedMemoryHasBeenSet = false;
329 bool m_endpointHasBeenSet = false;
330 bool m_publicConnectivityHasBeenSet = false;
331 bool m_vectorSearchConfigurationHasBeenSet = false;
332 bool m_replicaCountHasBeenSet = false;
333 bool m_kmsKeyIdentifierHasBeenSet = false;
334 bool m_sourceSnapshotIdHasBeenSet = false;
335 bool m_deletionProtectionHasBeenSet = false;
336 bool m_buildNumberHasBeenSet = false;
337 bool m_requestIdHasBeenSet = false;
338};
339
340} // namespace Model
341} // namespace NeptuneGraph
342} // namespace Aws
ResetGraphResult & WithBuildNumber(BuildNumberT &&value)
const Aws::String & GetKmsKeyIdentifier() const
ResetGraphResult & WithSourceSnapshotId(SourceSnapshotIdT &&value)
void SetSourceSnapshotId(SourceSnapshotIdT &&value)
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