AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
GetGraphResult.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 GetGraphResult() = 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 GetGraphResult& 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 GetGraphResult& 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 GetGraphResult& 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 GetGraphResult& 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 GetGraphResult& 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 GetGraphResult& 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 GetGraphResult& 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 }
205 inline GetGraphResult& WithReplicaCount(int value) {
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 GetGraphResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
223 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
224 return *this;
225 }
227
229
233 inline const Aws::String& GetSourceSnapshotId() const { return m_sourceSnapshotId; }
234 template <typename SourceSnapshotIdT = Aws::String>
235 void SetSourceSnapshotId(SourceSnapshotIdT&& value) {
236 m_sourceSnapshotIdHasBeenSet = true;
237 m_sourceSnapshotId = std::forward<SourceSnapshotIdT>(value);
238 }
239 template <typename SourceSnapshotIdT = Aws::String>
240 GetGraphResult& WithSourceSnapshotId(SourceSnapshotIdT&& value) {
241 SetSourceSnapshotId(std::forward<SourceSnapshotIdT>(value));
242 return *this;
243 }
245
247
250 inline bool GetDeletionProtection() const { return m_deletionProtection; }
251 inline void SetDeletionProtection(bool value) {
252 m_deletionProtectionHasBeenSet = true;
253 m_deletionProtection = value;
254 }
257 return *this;
258 }
260
262
265 inline const Aws::String& GetBuildNumber() const { return m_buildNumber; }
266 template <typename BuildNumberT = Aws::String>
267 void SetBuildNumber(BuildNumberT&& value) {
268 m_buildNumberHasBeenSet = true;
269 m_buildNumber = std::forward<BuildNumberT>(value);
270 }
271 template <typename BuildNumberT = Aws::String>
272 GetGraphResult& WithBuildNumber(BuildNumberT&& value) {
273 SetBuildNumber(std::forward<BuildNumberT>(value));
274 return *this;
275 }
277
279
280 inline const Aws::String& GetRequestId() const { return m_requestId; }
281 template <typename RequestIdT = Aws::String>
282 void SetRequestId(RequestIdT&& value) {
283 m_requestIdHasBeenSet = true;
284 m_requestId = std::forward<RequestIdT>(value);
285 }
286 template <typename RequestIdT = Aws::String>
287 GetGraphResult& WithRequestId(RequestIdT&& value) {
288 SetRequestId(std::forward<RequestIdT>(value));
289 return *this;
290 }
292 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
293
294 private:
295 Aws::String m_id;
296
297 Aws::String m_name;
298
299 Aws::String m_arn;
300
302
303 Aws::String m_statusReason;
304
305 Aws::Utils::DateTime m_createTime{};
306
307 int m_provisionedMemory{0};
308
309 Aws::String m_endpoint;
310
311 bool m_publicConnectivity{false};
312
313 VectorSearchConfiguration m_vectorSearchConfiguration;
314
315 int m_replicaCount{0};
316
317 Aws::String m_kmsKeyIdentifier;
318
319 Aws::String m_sourceSnapshotId;
320
321 bool m_deletionProtection{false};
322
323 Aws::String m_buildNumber;
324
325 Aws::String m_requestId;
326 Aws::Http::HttpResponseCode m_HttpResponseCode;
327 bool m_idHasBeenSet = false;
328 bool m_nameHasBeenSet = false;
329 bool m_arnHasBeenSet = false;
330 bool m_statusHasBeenSet = false;
331 bool m_statusReasonHasBeenSet = false;
332 bool m_createTimeHasBeenSet = false;
333 bool m_provisionedMemoryHasBeenSet = false;
334 bool m_endpointHasBeenSet = false;
335 bool m_publicConnectivityHasBeenSet = false;
336 bool m_vectorSearchConfigurationHasBeenSet = false;
337 bool m_replicaCountHasBeenSet = false;
338 bool m_kmsKeyIdentifierHasBeenSet = false;
339 bool m_sourceSnapshotIdHasBeenSet = false;
340 bool m_deletionProtectionHasBeenSet = false;
341 bool m_buildNumberHasBeenSet = false;
342 bool m_requestIdHasBeenSet = false;
343};
344
345} // namespace Model
346} // namespace NeptuneGraph
347} // namespace Aws
void SetVectorSearchConfiguration(VectorSearchConfigurationT &&value)
GetGraphResult & WithId(IdT &&value)
void SetCreateTime(CreateTimeT &&value)
GetGraphResult & WithVectorSearchConfiguration(VectorSearchConfigurationT &&value)
GetGraphResult & WithCreateTime(CreateTimeT &&value)
void SetStatusReason(StatusReasonT &&value)
GetGraphResult & WithArn(ArnT &&value)
GetGraphResult & WithProvisionedMemory(int value)
const Aws::Utils::DateTime & GetCreateTime() const
GetGraphResult & WithStatusReason(StatusReasonT &&value)
GetGraphResult & WithSourceSnapshotId(SourceSnapshotIdT &&value)
AWS_NEPTUNEGRAPH_API GetGraphResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGraphResult & WithBuildNumber(BuildNumberT &&value)
const Aws::String & GetName() const
AWS_NEPTUNEGRAPH_API GetGraphResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetId() const
const Aws::String & GetBuildNumber() const
GetGraphResult & WithPublicConnectivity(bool value)
AWS_NEPTUNEGRAPH_API GetGraphResult()=default
const Aws::String & GetEndpoint() const
const VectorSearchConfiguration & GetVectorSearchConfiguration() const
const Aws::String & GetRequestId() const
GetGraphResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
GetGraphResult & WithReplicaCount(int value)
GetGraphResult & WithStatus(GraphStatus value)
const Aws::String & GetArn() const
GetGraphResult & WithName(NameT &&value)
GetGraphResult & WithEndpoint(EndpointT &&value)
GetGraphResult & WithRequestId(RequestIdT &&value)
void SetBuildNumber(BuildNumberT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
const Aws::String & GetSourceSnapshotId() const
void SetSourceSnapshotId(SourceSnapshotIdT &&value)
const Aws::String & GetStatusReason() const
const Aws::String & GetKmsKeyIdentifier() const
GetGraphResult & WithDeletionProtection(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue