AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetGraphResult.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 GetGraphResult();
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 GetGraphResult& WithId(const Aws::String& value) { SetId(value); return *this;}
47 inline GetGraphResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
48 inline GetGraphResult& WithId(const char* value) { SetId(value); return *this;}
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline void SetName(const Aws::String& value) { m_name = value; }
57 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
58 inline void SetName(const char* value) { m_name.assign(value); }
59 inline GetGraphResult& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline GetGraphResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline GetGraphResult& WithName(const char* value) { SetName(value); return *this;}
63
65
68 inline const Aws::String& GetArn() const{ return m_arn; }
69 inline void SetArn(const Aws::String& value) { m_arn = value; }
70 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
71 inline void SetArn(const char* value) { m_arn.assign(value); }
72 inline GetGraphResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
73 inline GetGraphResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
74 inline GetGraphResult& WithArn(const char* value) { SetArn(value); return *this;}
76
78
81 inline const GraphStatus& GetStatus() const{ return m_status; }
82 inline void SetStatus(const GraphStatus& value) { m_status = value; }
83 inline void SetStatus(GraphStatus&& value) { m_status = std::move(value); }
84 inline GetGraphResult& WithStatus(const GraphStatus& value) { SetStatus(value); return *this;}
85 inline GetGraphResult& WithStatus(GraphStatus&& value) { SetStatus(std::move(value)); return *this;}
87
89
92 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
93 inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
94 inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
95 inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
96 inline GetGraphResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
97 inline GetGraphResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
98 inline GetGraphResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
106 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
107 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
108 inline GetGraphResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
109 inline GetGraphResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
111
113
117 inline int GetProvisionedMemory() const{ return m_provisionedMemory; }
118 inline void SetProvisionedMemory(int value) { m_provisionedMemory = value; }
119 inline GetGraphResult& WithProvisionedMemory(int value) { SetProvisionedMemory(value); return *this;}
121
123
126 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
127 inline void SetEndpoint(const Aws::String& value) { m_endpoint = value; }
128 inline void SetEndpoint(Aws::String&& value) { m_endpoint = std::move(value); }
129 inline void SetEndpoint(const char* value) { m_endpoint.assign(value); }
130 inline GetGraphResult& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
131 inline GetGraphResult& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
132 inline GetGraphResult& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
134
136
139 inline bool GetPublicConnectivity() const{ return m_publicConnectivity; }
140 inline void SetPublicConnectivity(bool value) { m_publicConnectivity = value; }
141 inline GetGraphResult& WithPublicConnectivity(bool value) { SetPublicConnectivity(value); return *this;}
143
145
146 inline const VectorSearchConfiguration& GetVectorSearchConfiguration() const{ return m_vectorSearchConfiguration; }
147 inline void SetVectorSearchConfiguration(const VectorSearchConfiguration& value) { m_vectorSearchConfiguration = value; }
148 inline void SetVectorSearchConfiguration(VectorSearchConfiguration&& value) { m_vectorSearchConfiguration = std::move(value); }
152
154
157 inline int GetReplicaCount() const{ return m_replicaCount; }
158 inline void SetReplicaCount(int value) { m_replicaCount = value; }
159 inline GetGraphResult& WithReplicaCount(int value) { SetReplicaCount(value); return *this;}
161
163
166 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
167 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifier = value; }
168 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifier = std::move(value); }
169 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifier.assign(value); }
170 inline GetGraphResult& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
171 inline GetGraphResult& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
172 inline GetGraphResult& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
174
176
180 inline const Aws::String& GetSourceSnapshotId() const{ return m_sourceSnapshotId; }
181 inline void SetSourceSnapshotId(const Aws::String& value) { m_sourceSnapshotId = value; }
182 inline void SetSourceSnapshotId(Aws::String&& value) { m_sourceSnapshotId = std::move(value); }
183 inline void SetSourceSnapshotId(const char* value) { m_sourceSnapshotId.assign(value); }
184 inline GetGraphResult& WithSourceSnapshotId(const Aws::String& value) { SetSourceSnapshotId(value); return *this;}
185 inline GetGraphResult& WithSourceSnapshotId(Aws::String&& value) { SetSourceSnapshotId(std::move(value)); return *this;}
186 inline GetGraphResult& WithSourceSnapshotId(const char* value) { SetSourceSnapshotId(value); return *this;}
188
190
193 inline bool GetDeletionProtection() const{ return m_deletionProtection; }
194 inline void SetDeletionProtection(bool value) { m_deletionProtection = value; }
195 inline GetGraphResult& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
197
199
202 inline const Aws::String& GetBuildNumber() const{ return m_buildNumber; }
203 inline void SetBuildNumber(const Aws::String& value) { m_buildNumber = value; }
204 inline void SetBuildNumber(Aws::String&& value) { m_buildNumber = std::move(value); }
205 inline void SetBuildNumber(const char* value) { m_buildNumber.assign(value); }
206 inline GetGraphResult& WithBuildNumber(const Aws::String& value) { SetBuildNumber(value); return *this;}
207 inline GetGraphResult& WithBuildNumber(Aws::String&& value) { SetBuildNumber(std::move(value)); return *this;}
208 inline GetGraphResult& WithBuildNumber(const char* value) { SetBuildNumber(value); return *this;}
210
212
213 inline const Aws::String& GetRequestId() const{ return m_requestId; }
214 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
215 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
216 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
217 inline GetGraphResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
218 inline GetGraphResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
219 inline GetGraphResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
221 private:
222
223 Aws::String m_id;
224
225 Aws::String m_name;
226
227 Aws::String m_arn;
228
229 GraphStatus m_status;
230
231 Aws::String m_statusReason;
232
233 Aws::Utils::DateTime m_createTime;
234
235 int m_provisionedMemory;
236
237 Aws::String m_endpoint;
238
239 bool m_publicConnectivity;
240
241 VectorSearchConfiguration m_vectorSearchConfiguration;
242
243 int m_replicaCount;
244
245 Aws::String m_kmsKeyIdentifier;
246
247 Aws::String m_sourceSnapshotId;
248
249 bool m_deletionProtection;
250
251 Aws::String m_buildNumber;
252
253 Aws::String m_requestId;
254 };
255
256} // namespace Model
257} // namespace NeptuneGraph
258} // namespace Aws
GetGraphResult & WithStatusReason(const char *value)
GetGraphResult & WithId(const Aws::String &value)
GetGraphResult & WithRequestId(const char *value)
GetGraphResult & WithName(const char *value)
GetGraphResult & WithEndpoint(Aws::String &&value)
void SetSourceSnapshotId(const Aws::String &value)
GetGraphResult & WithKmsKeyIdentifier(const Aws::String &value)
void SetVectorSearchConfiguration(VectorSearchConfiguration &&value)
GetGraphResult & WithProvisionedMemory(int value)
void SetBuildNumber(Aws::String &&value)
const Aws::Utils::DateTime & GetCreateTime() const
void SetKmsKeyIdentifier(const char *value)
GetGraphResult & WithSourceSnapshotId(Aws::String &&value)
AWS_NEPTUNEGRAPH_API GetGraphResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGraphResult & WithBuildNumber(const Aws::String &value)
GetGraphResult & WithStatusReason(const Aws::String &value)
void SetStatusReason(const Aws::String &value)
GetGraphResult & WithArn(const Aws::String &value)
const Aws::String & GetName() const
AWS_NEPTUNEGRAPH_API GetGraphResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetId(const Aws::String &value)
void SetEndpoint(const Aws::String &value)
const Aws::String & GetId() const
GetGraphResult & WithCreateTime(Aws::Utils::DateTime &&value)
GetGraphResult & WithStatus(GraphStatus &&value)
const Aws::String & GetBuildNumber() const
GetGraphResult & WithRequestId(const Aws::String &value)
void SetArn(const Aws::String &value)
GetGraphResult & WithPublicConnectivity(bool value)
GetGraphResult & WithKmsKeyIdentifier(Aws::String &&value)
GetGraphResult & WithBuildNumber(Aws::String &&value)
GetGraphResult & WithCreateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetEndpoint() const
const VectorSearchConfiguration & GetVectorSearchConfiguration() const
const Aws::String & GetRequestId() const
GetGraphResult & WithReplicaCount(int value)
const GraphStatus & GetStatus() const
GetGraphResult & WithName(const Aws::String &value)
void SetName(const Aws::String &value)
GetGraphResult & WithBuildNumber(const char *value)
GetGraphResult & WithEndpoint(const char *value)
void SetStatus(const GraphStatus &value)
const Aws::String & GetArn() const
void SetKmsKeyIdentifier(const Aws::String &value)
void SetSourceSnapshotId(Aws::String &&value)
GetGraphResult & WithId(Aws::String &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
void SetVectorSearchConfiguration(const VectorSearchConfiguration &value)
GetGraphResult & WithSourceSnapshotId(const Aws::String &value)
GetGraphResult & WithId(const char *value)
GetGraphResult & WithRequestId(Aws::String &&value)
void SetSourceSnapshotId(const char *value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetSourceSnapshotId() const
void SetCreateTime(Aws::Utils::DateTime &&value)
GetGraphResult & WithKmsKeyIdentifier(const char *value)
const Aws::String & GetStatusReason() const
GetGraphResult & WithEndpoint(const Aws::String &value)
GetGraphResult & WithArn(Aws::String &&value)
const Aws::String & GetKmsKeyIdentifier() const
void SetStatusReason(Aws::String &&value)
GetGraphResult & WithStatusReason(Aws::String &&value)
GetGraphResult & WithDeletionProtection(bool value)
GetGraphResult & WithSourceSnapshotId(const char *value)
void SetKmsKeyIdentifier(Aws::String &&value)
void SetBuildNumber(const Aws::String &value)
GetGraphResult & WithVectorSearchConfiguration(VectorSearchConfiguration &&value)
GetGraphResult & WithArn(const char *value)
GetGraphResult & WithName(Aws::String &&value)
GetGraphResult & WithVectorSearchConfiguration(const VectorSearchConfiguration &value)
GetGraphResult & WithStatus(const GraphStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue