AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
36
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 template<typename IdT = Aws::String>
44 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
45 template<typename IdT = Aws::String>
46 CreateGraphResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
48
50
56 inline const Aws::String& GetName() const { return m_name; }
57 template<typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
59 template<typename NameT = Aws::String>
60 CreateGraphResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
62
64
67 inline const Aws::String& GetArn() const { return m_arn; }
68 template<typename ArnT = Aws::String>
69 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
70 template<typename ArnT = Aws::String>
71 CreateGraphResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
73
75
78 inline GraphStatus GetStatus() const { return m_status; }
79 inline void SetStatus(GraphStatus value) { m_statusHasBeenSet = true; m_status = value; }
80 inline CreateGraphResult& WithStatus(GraphStatus value) { SetStatus(value); return *this;}
82
84
87 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
88 template<typename StatusReasonT = Aws::String>
89 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
90 template<typename StatusReasonT = Aws::String>
91 CreateGraphResult& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
99 template<typename CreateTimeT = Aws::Utils::DateTime>
100 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
101 template<typename CreateTimeT = Aws::Utils::DateTime>
102 CreateGraphResult& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
104
106
110 inline int GetProvisionedMemory() const { return m_provisionedMemory; }
111 inline void SetProvisionedMemory(int value) { m_provisionedMemoryHasBeenSet = true; m_provisionedMemory = value; }
112 inline CreateGraphResult& WithProvisionedMemory(int value) { SetProvisionedMemory(value); return *this;}
114
116
119 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
120 template<typename EndpointT = Aws::String>
121 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
122 template<typename EndpointT = Aws::String>
123 CreateGraphResult& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
125
127
133 inline bool GetPublicConnectivity() const { return m_publicConnectivity; }
134 inline void SetPublicConnectivity(bool value) { m_publicConnectivityHasBeenSet = true; m_publicConnectivity = value; }
135 inline CreateGraphResult& WithPublicConnectivity(bool value) { SetPublicConnectivity(value); return *this;}
137
139
143 inline const VectorSearchConfiguration& GetVectorSearchConfiguration() const { return m_vectorSearchConfiguration; }
144 template<typename VectorSearchConfigurationT = VectorSearchConfiguration>
145 void SetVectorSearchConfiguration(VectorSearchConfigurationT&& value) { m_vectorSearchConfigurationHasBeenSet = true; m_vectorSearchConfiguration = std::forward<VectorSearchConfigurationT>(value); }
146 template<typename VectorSearchConfigurationT = VectorSearchConfiguration>
147 CreateGraphResult& WithVectorSearchConfiguration(VectorSearchConfigurationT&& value) { SetVectorSearchConfiguration(std::forward<VectorSearchConfigurationT>(value)); return *this;}
149
151
155 inline int GetReplicaCount() const { return m_replicaCount; }
156 inline void SetReplicaCount(int value) { m_replicaCountHasBeenSet = true; m_replicaCount = value; }
157 inline CreateGraphResult& WithReplicaCount(int value) { SetReplicaCount(value); return *this;}
159
161
164 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
165 template<typename KmsKeyIdentifierT = Aws::String>
166 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
167 template<typename KmsKeyIdentifierT = Aws::String>
168 CreateGraphResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
170
172
175 inline const Aws::String& GetSourceSnapshotId() const { return m_sourceSnapshotId; }
176 template<typename SourceSnapshotIdT = Aws::String>
177 void SetSourceSnapshotId(SourceSnapshotIdT&& value) { m_sourceSnapshotIdHasBeenSet = true; m_sourceSnapshotId = std::forward<SourceSnapshotIdT>(value); }
178 template<typename SourceSnapshotIdT = Aws::String>
179 CreateGraphResult& WithSourceSnapshotId(SourceSnapshotIdT&& value) { SetSourceSnapshotId(std::forward<SourceSnapshotIdT>(value)); return *this;}
181
183
187 inline bool GetDeletionProtection() const { return m_deletionProtection; }
188 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
189 inline CreateGraphResult& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
191
193
196 inline const Aws::String& GetBuildNumber() const { return m_buildNumber; }
197 template<typename BuildNumberT = Aws::String>
198 void SetBuildNumber(BuildNumberT&& value) { m_buildNumberHasBeenSet = true; m_buildNumber = std::forward<BuildNumberT>(value); }
199 template<typename BuildNumberT = Aws::String>
200 CreateGraphResult& WithBuildNumber(BuildNumberT&& value) { SetBuildNumber(std::forward<BuildNumberT>(value)); return *this;}
202
204
205 inline const Aws::String& GetRequestId() const { return m_requestId; }
206 template<typename RequestIdT = Aws::String>
207 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
208 template<typename RequestIdT = Aws::String>
209 CreateGraphResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
211 private:
212
213 Aws::String m_id;
214 bool m_idHasBeenSet = false;
215
216 Aws::String m_name;
217 bool m_nameHasBeenSet = false;
218
219 Aws::String m_arn;
220 bool m_arnHasBeenSet = false;
221
223 bool m_statusHasBeenSet = false;
224
225 Aws::String m_statusReason;
226 bool m_statusReasonHasBeenSet = false;
227
228 Aws::Utils::DateTime m_createTime{};
229 bool m_createTimeHasBeenSet = false;
230
231 int m_provisionedMemory{0};
232 bool m_provisionedMemoryHasBeenSet = false;
233
234 Aws::String m_endpoint;
235 bool m_endpointHasBeenSet = false;
236
237 bool m_publicConnectivity{false};
238 bool m_publicConnectivityHasBeenSet = false;
239
240 VectorSearchConfiguration m_vectorSearchConfiguration;
241 bool m_vectorSearchConfigurationHasBeenSet = false;
242
243 int m_replicaCount{0};
244 bool m_replicaCountHasBeenSet = false;
245
246 Aws::String m_kmsKeyIdentifier;
247 bool m_kmsKeyIdentifierHasBeenSet = false;
248
249 Aws::String m_sourceSnapshotId;
250 bool m_sourceSnapshotIdHasBeenSet = false;
251
252 bool m_deletionProtection{false};
253 bool m_deletionProtectionHasBeenSet = false;
254
255 Aws::String m_buildNumber;
256 bool m_buildNumberHasBeenSet = false;
257
258 Aws::String m_requestId;
259 bool m_requestIdHasBeenSet = false;
260 };
261
262} // namespace Model
263} // namespace NeptuneGraph
264} // 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