AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGraphResult.h
1
6#pragma once
7#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptune-graph/model/GraphStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/neptune-graph/model/VectorSearchConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace NeptuneGraph
27{
28namespace Model
29{
31 {
32 public:
33 AWS_NEPTUNEGRAPH_API CreateGraphResult();
36
37
39
42 inline const Aws::String& GetId() const{ return m_id; }
43 inline void SetId(const Aws::String& value) { m_id = value; }
44 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
45 inline void SetId(const char* value) { m_id.assign(value); }
46 inline CreateGraphResult& WithId(const Aws::String& value) { SetId(value); return *this;}
47 inline CreateGraphResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
48 inline CreateGraphResult& WithId(const char* value) { SetId(value); return *this;}
50
52
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline void SetName(const Aws::String& value) { m_name = value; }
60 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
61 inline void SetName(const char* value) { m_name.assign(value); }
62 inline CreateGraphResult& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline CreateGraphResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline CreateGraphResult& WithName(const char* value) { SetName(value); return *this;}
66
68
71 inline const Aws::String& GetArn() const{ return m_arn; }
72 inline void SetArn(const Aws::String& value) { m_arn = value; }
73 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
74 inline void SetArn(const char* value) { m_arn.assign(value); }
75 inline CreateGraphResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
76 inline CreateGraphResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
77 inline CreateGraphResult& WithArn(const char* value) { SetArn(value); return *this;}
79
81
84 inline const GraphStatus& GetStatus() const{ return m_status; }
85 inline void SetStatus(const GraphStatus& value) { m_status = value; }
86 inline void SetStatus(GraphStatus&& value) { m_status = std::move(value); }
87 inline CreateGraphResult& WithStatus(const GraphStatus& value) { SetStatus(value); return *this;}
88 inline CreateGraphResult& WithStatus(GraphStatus&& value) { SetStatus(std::move(value)); return *this;}
90
92
95 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
96 inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
97 inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
98 inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
99 inline CreateGraphResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
100 inline CreateGraphResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
101 inline CreateGraphResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
109 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
110 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
111 inline CreateGraphResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
112 inline CreateGraphResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
114
116
120 inline int GetProvisionedMemory() const{ return m_provisionedMemory; }
121 inline void SetProvisionedMemory(int value) { m_provisionedMemory = value; }
122 inline CreateGraphResult& WithProvisionedMemory(int value) { SetProvisionedMemory(value); return *this;}
124
126
129 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
130 inline void SetEndpoint(const Aws::String& value) { m_endpoint = value; }
131 inline void SetEndpoint(Aws::String&& value) { m_endpoint = std::move(value); }
132 inline void SetEndpoint(const char* value) { m_endpoint.assign(value); }
133 inline CreateGraphResult& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
134 inline CreateGraphResult& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
135 inline CreateGraphResult& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
137
139
145 inline bool GetPublicConnectivity() const{ return m_publicConnectivity; }
146 inline void SetPublicConnectivity(bool value) { m_publicConnectivity = value; }
147 inline CreateGraphResult& WithPublicConnectivity(bool value) { SetPublicConnectivity(value); return *this;}
149
151
155 inline const VectorSearchConfiguration& GetVectorSearchConfiguration() const{ return m_vectorSearchConfiguration; }
156 inline void SetVectorSearchConfiguration(const VectorSearchConfiguration& value) { m_vectorSearchConfiguration = value; }
157 inline void SetVectorSearchConfiguration(VectorSearchConfiguration&& value) { m_vectorSearchConfiguration = std::move(value); }
161
163
167 inline int GetReplicaCount() const{ return m_replicaCount; }
168 inline void SetReplicaCount(int value) { m_replicaCount = value; }
169 inline CreateGraphResult& WithReplicaCount(int value) { SetReplicaCount(value); return *this;}
171
173
176 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
177 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifier = value; }
178 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifier = std::move(value); }
179 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifier.assign(value); }
180 inline CreateGraphResult& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
181 inline CreateGraphResult& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
182 inline CreateGraphResult& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
184
186
189 inline const Aws::String& GetSourceSnapshotId() const{ return m_sourceSnapshotId; }
190 inline void SetSourceSnapshotId(const Aws::String& value) { m_sourceSnapshotId = value; }
191 inline void SetSourceSnapshotId(Aws::String&& value) { m_sourceSnapshotId = std::move(value); }
192 inline void SetSourceSnapshotId(const char* value) { m_sourceSnapshotId.assign(value); }
193 inline CreateGraphResult& WithSourceSnapshotId(const Aws::String& value) { SetSourceSnapshotId(value); return *this;}
194 inline CreateGraphResult& WithSourceSnapshotId(Aws::String&& value) { SetSourceSnapshotId(std::move(value)); return *this;}
195 inline CreateGraphResult& WithSourceSnapshotId(const char* value) { SetSourceSnapshotId(value); return *this;}
197
199
203 inline bool GetDeletionProtection() const{ return m_deletionProtection; }
204 inline void SetDeletionProtection(bool value) { m_deletionProtection = value; }
205 inline CreateGraphResult& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
207
209
212 inline const Aws::String& GetBuildNumber() const{ return m_buildNumber; }
213 inline void SetBuildNumber(const Aws::String& value) { m_buildNumber = value; }
214 inline void SetBuildNumber(Aws::String&& value) { m_buildNumber = std::move(value); }
215 inline void SetBuildNumber(const char* value) { m_buildNumber.assign(value); }
216 inline CreateGraphResult& WithBuildNumber(const Aws::String& value) { SetBuildNumber(value); return *this;}
217 inline CreateGraphResult& WithBuildNumber(Aws::String&& value) { SetBuildNumber(std::move(value)); return *this;}
218 inline CreateGraphResult& WithBuildNumber(const char* value) { SetBuildNumber(value); return *this;}
220
222
223 inline const Aws::String& GetRequestId() const{ return m_requestId; }
224 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
225 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
226 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
227 inline CreateGraphResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
228 inline CreateGraphResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
229 inline CreateGraphResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
231 private:
232
233 Aws::String m_id;
234
235 Aws::String m_name;
236
237 Aws::String m_arn;
238
239 GraphStatus m_status;
240
241 Aws::String m_statusReason;
242
243 Aws::Utils::DateTime m_createTime;
244
245 int m_provisionedMemory;
246
247 Aws::String m_endpoint;
248
249 bool m_publicConnectivity;
250
251 VectorSearchConfiguration m_vectorSearchConfiguration;
252
253 int m_replicaCount;
254
255 Aws::String m_kmsKeyIdentifier;
256
257 Aws::String m_sourceSnapshotId;
258
259 bool m_deletionProtection;
260
261 Aws::String m_buildNumber;
262
263 Aws::String m_requestId;
264 };
265
266} // namespace Model
267} // namespace NeptuneGraph
268} // namespace Aws
void SetCreateTime(Aws::Utils::DateTime &&value)
CreateGraphResult & WithBuildNumber(const Aws::String &value)
CreateGraphResult & WithStatusReason(const Aws::String &value)
CreateGraphResult & WithReplicaCount(int value)
void SetStatusReason(const Aws::String &value)
const Aws::String & GetSourceSnapshotId() const
void SetBuildNumber(const Aws::String &value)
const VectorSearchConfiguration & GetVectorSearchConfiguration() const
CreateGraphResult & WithRequestId(const Aws::String &value)
AWS_NEPTUNEGRAPH_API CreateGraphResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGraphResult & WithKmsKeyIdentifier(const Aws::String &value)
const Aws::String & GetKmsKeyIdentifier() const
void SetRequestId(const Aws::String &value)
void SetSourceSnapshotId(const Aws::String &value)
CreateGraphResult & WithRequestId(Aws::String &&value)
void SetKmsKeyIdentifier(const Aws::String &value)
void SetStatus(const GraphStatus &value)
CreateGraphResult & WithSourceSnapshotId(Aws::String &&value)
CreateGraphResult & WithEndpoint(const char *value)
CreateGraphResult & WithName(const char *value)
CreateGraphResult & WithRequestId(const char *value)
const Aws::Utils::DateTime & GetCreateTime() const
CreateGraphResult & WithEndpoint(Aws::String &&value)
CreateGraphResult & WithSourceSnapshotId(const Aws::String &value)
CreateGraphResult & WithCreateTime(Aws::Utils::DateTime &&value)
CreateGraphResult & WithArn(const Aws::String &value)
CreateGraphResult & WithId(Aws::String &&value)
AWS_NEPTUNEGRAPH_API CreateGraphResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetVectorSearchConfiguration(VectorSearchConfiguration &&value)
CreateGraphResult & WithEndpoint(const Aws::String &value)
CreateGraphResult & WithStatus(const GraphStatus &value)
CreateGraphResult & WithDeletionProtection(bool value)
CreateGraphResult & WithBuildNumber(Aws::String &&value)
CreateGraphResult & WithSourceSnapshotId(const char *value)
void SetEndpoint(const Aws::String &value)
CreateGraphResult & WithId(const char *value)
CreateGraphResult & WithStatusReason(const char *value)
CreateGraphResult & WithName(Aws::String &&value)
CreateGraphResult & WithBuildNumber(const char *value)
CreateGraphResult & WithCreateTime(const Aws::Utils::DateTime &value)
void SetCreateTime(const Aws::Utils::DateTime &value)
CreateGraphResult & WithArn(const char *value)
CreateGraphResult & WithVectorSearchConfiguration(VectorSearchConfiguration &&value)
void SetVectorSearchConfiguration(const VectorSearchConfiguration &value)
CreateGraphResult & WithPublicConnectivity(bool value)
CreateGraphResult & WithKmsKeyIdentifier(Aws::String &&value)
CreateGraphResult & WithName(const Aws::String &value)
CreateGraphResult & WithArn(Aws::String &&value)
CreateGraphResult & WithVectorSearchConfiguration(const VectorSearchConfiguration &value)
CreateGraphResult & WithStatusReason(Aws::String &&value)
CreateGraphResult & WithKmsKeyIdentifier(const char *value)
CreateGraphResult & WithStatus(GraphStatus &&value)
CreateGraphResult & WithId(const Aws::String &value)
CreateGraphResult & WithProvisionedMemory(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue