AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateGraphResult.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 CreateGraphResult() = 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 CreateGraphResult& WithId(IdT&& value) {
44 SetId(std::forward<IdT>(value));
45 return *this;
46 }
48
50
56 inline const Aws::String& GetName() const { return m_name; }
57 template <typename NameT = Aws::String>
58 void SetName(NameT&& value) {
59 m_nameHasBeenSet = true;
60 m_name = std::forward<NameT>(value);
61 }
62 template <typename NameT = Aws::String>
63 CreateGraphResult& WithName(NameT&& value) {
64 SetName(std::forward<NameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetArn() const { return m_arn; }
74 template <typename ArnT = Aws::String>
75 void SetArn(ArnT&& value) {
76 m_arnHasBeenSet = true;
77 m_arn = std::forward<ArnT>(value);
78 }
79 template <typename ArnT = Aws::String>
80 CreateGraphResult& WithArn(ArnT&& value) {
81 SetArn(std::forward<ArnT>(value));
82 return *this;
83 }
85
87
90 inline GraphStatus GetStatus() const { return m_status; }
91 inline void SetStatus(GraphStatus value) {
92 m_statusHasBeenSet = true;
93 m_status = value;
94 }
96 SetStatus(value);
97 return *this;
98 }
100
102
105 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
106 template <typename StatusReasonT = Aws::String>
107 void SetStatusReason(StatusReasonT&& value) {
108 m_statusReasonHasBeenSet = true;
109 m_statusReason = std::forward<StatusReasonT>(value);
110 }
111 template <typename StatusReasonT = Aws::String>
112 CreateGraphResult& WithStatusReason(StatusReasonT&& value) {
113 SetStatusReason(std::forward<StatusReasonT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
123 template <typename CreateTimeT = Aws::Utils::DateTime>
124 void SetCreateTime(CreateTimeT&& value) {
125 m_createTimeHasBeenSet = true;
126 m_createTime = std::forward<CreateTimeT>(value);
127 }
128 template <typename CreateTimeT = Aws::Utils::DateTime>
129 CreateGraphResult& WithCreateTime(CreateTimeT&& value) {
130 SetCreateTime(std::forward<CreateTimeT>(value));
131 return *this;
132 }
134
136
140 inline int GetProvisionedMemory() const { return m_provisionedMemory; }
141 inline void SetProvisionedMemory(int value) {
142 m_provisionedMemoryHasBeenSet = true;
143 m_provisionedMemory = value;
144 }
147 return *this;
148 }
150
152
155 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
156 template <typename EndpointT = Aws::String>
157 void SetEndpoint(EndpointT&& value) {
158 m_endpointHasBeenSet = true;
159 m_endpoint = std::forward<EndpointT>(value);
160 }
161 template <typename EndpointT = Aws::String>
162 CreateGraphResult& WithEndpoint(EndpointT&& value) {
163 SetEndpoint(std::forward<EndpointT>(value));
164 return *this;
165 }
167
169
175 inline bool GetPublicConnectivity() const { return m_publicConnectivity; }
176 inline void SetPublicConnectivity(bool value) {
177 m_publicConnectivityHasBeenSet = true;
178 m_publicConnectivity = value;
179 }
182 return *this;
183 }
185
187
191 inline const VectorSearchConfiguration& GetVectorSearchConfiguration() const { return m_vectorSearchConfiguration; }
192 template <typename VectorSearchConfigurationT = VectorSearchConfiguration>
193 void SetVectorSearchConfiguration(VectorSearchConfigurationT&& value) {
194 m_vectorSearchConfigurationHasBeenSet = true;
195 m_vectorSearchConfiguration = std::forward<VectorSearchConfigurationT>(value);
196 }
197 template <typename VectorSearchConfigurationT = VectorSearchConfiguration>
198 CreateGraphResult& WithVectorSearchConfiguration(VectorSearchConfigurationT&& value) {
199 SetVectorSearchConfiguration(std::forward<VectorSearchConfigurationT>(value));
200 return *this;
201 }
203
205
209 inline int GetReplicaCount() const { return m_replicaCount; }
210 inline void SetReplicaCount(int value) {
211 m_replicaCountHasBeenSet = true;
212 m_replicaCount = value;
213 }
215 SetReplicaCount(value);
216 return *this;
217 }
219
221
224 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
225 template <typename KmsKeyIdentifierT = Aws::String>
226 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
227 m_kmsKeyIdentifierHasBeenSet = true;
228 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
229 }
230 template <typename KmsKeyIdentifierT = Aws::String>
231 CreateGraphResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
232 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
233 return *this;
234 }
236
238
241 inline const Aws::String& GetSourceSnapshotId() const { return m_sourceSnapshotId; }
242 template <typename SourceSnapshotIdT = Aws::String>
243 void SetSourceSnapshotId(SourceSnapshotIdT&& value) {
244 m_sourceSnapshotIdHasBeenSet = true;
245 m_sourceSnapshotId = std::forward<SourceSnapshotIdT>(value);
246 }
247 template <typename SourceSnapshotIdT = Aws::String>
248 CreateGraphResult& WithSourceSnapshotId(SourceSnapshotIdT&& value) {
249 SetSourceSnapshotId(std::forward<SourceSnapshotIdT>(value));
250 return *this;
251 }
253
255
259 inline bool GetDeletionProtection() const { return m_deletionProtection; }
260 inline void SetDeletionProtection(bool value) {
261 m_deletionProtectionHasBeenSet = true;
262 m_deletionProtection = value;
263 }
266 return *this;
267 }
269
271
274 inline const Aws::String& GetBuildNumber() const { return m_buildNumber; }
275 template <typename BuildNumberT = Aws::String>
276 void SetBuildNumber(BuildNumberT&& value) {
277 m_buildNumberHasBeenSet = true;
278 m_buildNumber = std::forward<BuildNumberT>(value);
279 }
280 template <typename BuildNumberT = Aws::String>
281 CreateGraphResult& WithBuildNumber(BuildNumberT&& value) {
282 SetBuildNumber(std::forward<BuildNumberT>(value));
283 return *this;
284 }
286
288
289 inline const Aws::String& GetRequestId() const { return m_requestId; }
290 template <typename RequestIdT = Aws::String>
291 void SetRequestId(RequestIdT&& value) {
292 m_requestIdHasBeenSet = true;
293 m_requestId = std::forward<RequestIdT>(value);
294 }
295 template <typename RequestIdT = Aws::String>
296 CreateGraphResult& WithRequestId(RequestIdT&& value) {
297 SetRequestId(std::forward<RequestIdT>(value));
298 return *this;
299 }
301 private:
302 Aws::String m_id;
303
304 Aws::String m_name;
305
306 Aws::String m_arn;
307
309
310 Aws::String m_statusReason;
311
312 Aws::Utils::DateTime m_createTime{};
313
314 int m_provisionedMemory{0};
315
316 Aws::String m_endpoint;
317
318 bool m_publicConnectivity{false};
319
320 VectorSearchConfiguration m_vectorSearchConfiguration;
321
322 int m_replicaCount{0};
323
324 Aws::String m_kmsKeyIdentifier;
325
326 Aws::String m_sourceSnapshotId;
327
328 bool m_deletionProtection{false};
329
330 Aws::String m_buildNumber;
331
332 Aws::String m_requestId;
333 bool m_idHasBeenSet = false;
334 bool m_nameHasBeenSet = false;
335 bool m_arnHasBeenSet = false;
336 bool m_statusHasBeenSet = false;
337 bool m_statusReasonHasBeenSet = false;
338 bool m_createTimeHasBeenSet = false;
339 bool m_provisionedMemoryHasBeenSet = false;
340 bool m_endpointHasBeenSet = false;
341 bool m_publicConnectivityHasBeenSet = false;
342 bool m_vectorSearchConfigurationHasBeenSet = false;
343 bool m_replicaCountHasBeenSet = false;
344 bool m_kmsKeyIdentifierHasBeenSet = false;
345 bool m_sourceSnapshotIdHasBeenSet = false;
346 bool m_deletionProtectionHasBeenSet = false;
347 bool m_buildNumberHasBeenSet = false;
348 bool m_requestIdHasBeenSet = false;
349};
350
351} // namespace Model
352} // namespace NeptuneGraph
353} // 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)
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