AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
CreateGraphResult.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 CreateGraphResult() = 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 CreateGraphResult& WithId(IdT&& value) {
45 SetId(std::forward<IdT>(value));
46 return *this;
47 }
49
51
57 inline const Aws::String& GetName() const { return m_name; }
58 template <typename NameT = Aws::String>
59 void SetName(NameT&& value) {
60 m_nameHasBeenSet = true;
61 m_name = std::forward<NameT>(value);
62 }
63 template <typename NameT = Aws::String>
64 CreateGraphResult& WithName(NameT&& value) {
65 SetName(std::forward<NameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetArn() const { return m_arn; }
75 template <typename ArnT = Aws::String>
76 void SetArn(ArnT&& value) {
77 m_arnHasBeenSet = true;
78 m_arn = std::forward<ArnT>(value);
79 }
80 template <typename ArnT = Aws::String>
81 CreateGraphResult& WithArn(ArnT&& value) {
82 SetArn(std::forward<ArnT>(value));
83 return *this;
84 }
86
88
91 inline GraphStatus GetStatus() const { return m_status; }
92 inline void SetStatus(GraphStatus value) {
93 m_statusHasBeenSet = true;
94 m_status = value;
95 }
97 SetStatus(value);
98 return *this;
99 }
101
103
106 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
107 template <typename StatusReasonT = Aws::String>
108 void SetStatusReason(StatusReasonT&& value) {
109 m_statusReasonHasBeenSet = true;
110 m_statusReason = std::forward<StatusReasonT>(value);
111 }
112 template <typename StatusReasonT = Aws::String>
113 CreateGraphResult& WithStatusReason(StatusReasonT&& value) {
114 SetStatusReason(std::forward<StatusReasonT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
124 template <typename CreateTimeT = Aws::Utils::DateTime>
125 void SetCreateTime(CreateTimeT&& value) {
126 m_createTimeHasBeenSet = true;
127 m_createTime = std::forward<CreateTimeT>(value);
128 }
129 template <typename CreateTimeT = Aws::Utils::DateTime>
130 CreateGraphResult& WithCreateTime(CreateTimeT&& value) {
131 SetCreateTime(std::forward<CreateTimeT>(value));
132 return *this;
133 }
135
137
141 inline int GetProvisionedMemory() const { return m_provisionedMemory; }
142 inline void SetProvisionedMemory(int value) {
143 m_provisionedMemoryHasBeenSet = true;
144 m_provisionedMemory = value;
145 }
148 return *this;
149 }
151
153
156 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
157 template <typename EndpointT = Aws::String>
158 void SetEndpoint(EndpointT&& value) {
159 m_endpointHasBeenSet = true;
160 m_endpoint = std::forward<EndpointT>(value);
161 }
162 template <typename EndpointT = Aws::String>
163 CreateGraphResult& WithEndpoint(EndpointT&& value) {
164 SetEndpoint(std::forward<EndpointT>(value));
165 return *this;
166 }
168
170
176 inline bool GetPublicConnectivity() const { return m_publicConnectivity; }
177 inline void SetPublicConnectivity(bool value) {
178 m_publicConnectivityHasBeenSet = true;
179 m_publicConnectivity = value;
180 }
183 return *this;
184 }
186
188
192 inline const VectorSearchConfiguration& GetVectorSearchConfiguration() const { return m_vectorSearchConfiguration; }
193 template <typename VectorSearchConfigurationT = VectorSearchConfiguration>
194 void SetVectorSearchConfiguration(VectorSearchConfigurationT&& value) {
195 m_vectorSearchConfigurationHasBeenSet = true;
196 m_vectorSearchConfiguration = std::forward<VectorSearchConfigurationT>(value);
197 }
198 template <typename VectorSearchConfigurationT = VectorSearchConfiguration>
199 CreateGraphResult& WithVectorSearchConfiguration(VectorSearchConfigurationT&& value) {
200 SetVectorSearchConfiguration(std::forward<VectorSearchConfigurationT>(value));
201 return *this;
202 }
204
206
210 inline int GetReplicaCount() const { return m_replicaCount; }
211 inline void SetReplicaCount(int value) {
212 m_replicaCountHasBeenSet = true;
213 m_replicaCount = value;
214 }
216 SetReplicaCount(value);
217 return *this;
218 }
220
222
225 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
226 template <typename KmsKeyIdentifierT = Aws::String>
227 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
228 m_kmsKeyIdentifierHasBeenSet = true;
229 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
230 }
231 template <typename KmsKeyIdentifierT = Aws::String>
232 CreateGraphResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
233 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
234 return *this;
235 }
237
239
242 inline const Aws::String& GetSourceSnapshotId() const { return m_sourceSnapshotId; }
243 template <typename SourceSnapshotIdT = Aws::String>
244 void SetSourceSnapshotId(SourceSnapshotIdT&& value) {
245 m_sourceSnapshotIdHasBeenSet = true;
246 m_sourceSnapshotId = std::forward<SourceSnapshotIdT>(value);
247 }
248 template <typename SourceSnapshotIdT = Aws::String>
249 CreateGraphResult& WithSourceSnapshotId(SourceSnapshotIdT&& value) {
250 SetSourceSnapshotId(std::forward<SourceSnapshotIdT>(value));
251 return *this;
252 }
254
256
260 inline bool GetDeletionProtection() const { return m_deletionProtection; }
261 inline void SetDeletionProtection(bool value) {
262 m_deletionProtectionHasBeenSet = true;
263 m_deletionProtection = value;
264 }
267 return *this;
268 }
270
272
275 inline const Aws::String& GetBuildNumber() const { return m_buildNumber; }
276 template <typename BuildNumberT = Aws::String>
277 void SetBuildNumber(BuildNumberT&& value) {
278 m_buildNumberHasBeenSet = true;
279 m_buildNumber = std::forward<BuildNumberT>(value);
280 }
281 template <typename BuildNumberT = Aws::String>
282 CreateGraphResult& WithBuildNumber(BuildNumberT&& value) {
283 SetBuildNumber(std::forward<BuildNumberT>(value));
284 return *this;
285 }
287
289
290 inline const Aws::String& GetRequestId() const { return m_requestId; }
291 template <typename RequestIdT = Aws::String>
292 void SetRequestId(RequestIdT&& value) {
293 m_requestIdHasBeenSet = true;
294 m_requestId = std::forward<RequestIdT>(value);
295 }
296 template <typename RequestIdT = Aws::String>
297 CreateGraphResult& WithRequestId(RequestIdT&& value) {
298 SetRequestId(std::forward<RequestIdT>(value));
299 return *this;
300 }
302 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
303
304 private:
305 Aws::String m_id;
306
307 Aws::String m_name;
308
309 Aws::String m_arn;
310
312
313 Aws::String m_statusReason;
314
315 Aws::Utils::DateTime m_createTime{};
316
317 int m_provisionedMemory{0};
318
319 Aws::String m_endpoint;
320
321 bool m_publicConnectivity{false};
322
323 VectorSearchConfiguration m_vectorSearchConfiguration;
324
325 int m_replicaCount{0};
326
327 Aws::String m_kmsKeyIdentifier;
328
329 Aws::String m_sourceSnapshotId;
330
331 bool m_deletionProtection{false};
332
333 Aws::String m_buildNumber;
334
335 Aws::String m_requestId;
336 Aws::Http::HttpResponseCode m_HttpResponseCode;
337 bool m_idHasBeenSet = false;
338 bool m_nameHasBeenSet = false;
339 bool m_arnHasBeenSet = false;
340 bool m_statusHasBeenSet = false;
341 bool m_statusReasonHasBeenSet = false;
342 bool m_createTimeHasBeenSet = false;
343 bool m_provisionedMemoryHasBeenSet = false;
344 bool m_endpointHasBeenSet = false;
345 bool m_publicConnectivityHasBeenSet = false;
346 bool m_vectorSearchConfigurationHasBeenSet = false;
347 bool m_replicaCountHasBeenSet = false;
348 bool m_kmsKeyIdentifierHasBeenSet = false;
349 bool m_sourceSnapshotIdHasBeenSet = false;
350 bool m_deletionProtectionHasBeenSet = false;
351 bool m_buildNumberHasBeenSet = false;
352 bool m_requestIdHasBeenSet = false;
353};
354
355} // namespace Model
356} // namespace NeptuneGraph
357} // namespace Aws
CreateGraphResult & WithReplicaCount(int value)
const Aws::String & GetSourceSnapshotId() const
const VectorSearchConfiguration & GetVectorSearchConfiguration() const
void SetVectorSearchConfiguration(VectorSearchConfigurationT &&value)
AWS_NEPTUNEGRAPH_API CreateGraphResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
const Aws::String & GetKmsKeyIdentifier() const
AWS_NEPTUNEGRAPH_API CreateGraphResult()=default
CreateGraphResult & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
CreateGraphResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
AWS_NEPTUNEGRAPH_API CreateGraphResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGraphResult & WithDeletionProtection(bool value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateGraphResult & WithSourceSnapshotId(SourceSnapshotIdT &&value)
void SetSourceSnapshotId(SourceSnapshotIdT &&value)
CreateGraphResult & WithBuildNumber(BuildNumberT &&value)
CreateGraphResult & WithCreateTime(CreateTimeT &&value)
CreateGraphResult & WithStatus(GraphStatus value)
CreateGraphResult & WithEndpoint(EndpointT &&value)
CreateGraphResult & WithPublicConnectivity(bool value)
CreateGraphResult & WithId(IdT &&value)
CreateGraphResult & WithStatusReason(StatusReasonT &&value)
CreateGraphResult & WithVectorSearchConfiguration(VectorSearchConfigurationT &&value)
CreateGraphResult & WithRequestId(RequestIdT &&value)
CreateGraphResult & WithArn(ArnT &&value)
CreateGraphResult & WithProvisionedMemory(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue