AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = 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 GetGraphResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 template<typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
56 template<typename NameT = Aws::String>
57 GetGraphResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetArn() const { return m_arn; }
65 template<typename ArnT = Aws::String>
66 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
67 template<typename ArnT = Aws::String>
68 GetGraphResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
70
72
75 inline GraphStatus GetStatus() const { return m_status; }
76 inline void SetStatus(GraphStatus value) { m_statusHasBeenSet = true; m_status = value; }
77 inline GetGraphResult& WithStatus(GraphStatus value) { SetStatus(value); return *this;}
79
81
84 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
85 template<typename StatusReasonT = Aws::String>
86 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
87 template<typename StatusReasonT = Aws::String>
88 GetGraphResult& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
96 template<typename CreateTimeT = Aws::Utils::DateTime>
97 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
98 template<typename CreateTimeT = Aws::Utils::DateTime>
99 GetGraphResult& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
101
103
107 inline int GetProvisionedMemory() const { return m_provisionedMemory; }
108 inline void SetProvisionedMemory(int value) { m_provisionedMemoryHasBeenSet = true; m_provisionedMemory = value; }
109 inline GetGraphResult& WithProvisionedMemory(int value) { SetProvisionedMemory(value); return *this;}
111
113
116 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
117 template<typename EndpointT = Aws::String>
118 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
119 template<typename EndpointT = Aws::String>
120 GetGraphResult& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
122
124
127 inline bool GetPublicConnectivity() const { return m_publicConnectivity; }
128 inline void SetPublicConnectivity(bool value) { m_publicConnectivityHasBeenSet = true; m_publicConnectivity = value; }
129 inline GetGraphResult& WithPublicConnectivity(bool value) { SetPublicConnectivity(value); return *this;}
131
133
134 inline const VectorSearchConfiguration& GetVectorSearchConfiguration() const { return m_vectorSearchConfiguration; }
135 template<typename VectorSearchConfigurationT = VectorSearchConfiguration>
136 void SetVectorSearchConfiguration(VectorSearchConfigurationT&& value) { m_vectorSearchConfigurationHasBeenSet = true; m_vectorSearchConfiguration = std::forward<VectorSearchConfigurationT>(value); }
137 template<typename VectorSearchConfigurationT = VectorSearchConfiguration>
138 GetGraphResult& WithVectorSearchConfiguration(VectorSearchConfigurationT&& value) { SetVectorSearchConfiguration(std::forward<VectorSearchConfigurationT>(value)); return *this;}
140
142
145 inline int GetReplicaCount() const { return m_replicaCount; }
146 inline void SetReplicaCount(int value) { m_replicaCountHasBeenSet = true; m_replicaCount = value; }
147 inline GetGraphResult& WithReplicaCount(int value) { SetReplicaCount(value); return *this;}
149
151
154 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
155 template<typename KmsKeyIdentifierT = Aws::String>
156 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
157 template<typename KmsKeyIdentifierT = Aws::String>
158 GetGraphResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
160
162
166 inline const Aws::String& GetSourceSnapshotId() const { return m_sourceSnapshotId; }
167 template<typename SourceSnapshotIdT = Aws::String>
168 void SetSourceSnapshotId(SourceSnapshotIdT&& value) { m_sourceSnapshotIdHasBeenSet = true; m_sourceSnapshotId = std::forward<SourceSnapshotIdT>(value); }
169 template<typename SourceSnapshotIdT = Aws::String>
170 GetGraphResult& WithSourceSnapshotId(SourceSnapshotIdT&& value) { SetSourceSnapshotId(std::forward<SourceSnapshotIdT>(value)); return *this;}
172
174
177 inline bool GetDeletionProtection() const { return m_deletionProtection; }
178 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
179 inline GetGraphResult& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
181
183
186 inline const Aws::String& GetBuildNumber() const { return m_buildNumber; }
187 template<typename BuildNumberT = Aws::String>
188 void SetBuildNumber(BuildNumberT&& value) { m_buildNumberHasBeenSet = true; m_buildNumber = std::forward<BuildNumberT>(value); }
189 template<typename BuildNumberT = Aws::String>
190 GetGraphResult& WithBuildNumber(BuildNumberT&& value) { SetBuildNumber(std::forward<BuildNumberT>(value)); return *this;}
192
194
195 inline const Aws::String& GetRequestId() const { return m_requestId; }
196 template<typename RequestIdT = Aws::String>
197 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
198 template<typename RequestIdT = Aws::String>
199 GetGraphResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
201 private:
202
203 Aws::String m_id;
204 bool m_idHasBeenSet = false;
205
206 Aws::String m_name;
207 bool m_nameHasBeenSet = false;
208
209 Aws::String m_arn;
210 bool m_arnHasBeenSet = false;
211
213 bool m_statusHasBeenSet = false;
214
215 Aws::String m_statusReason;
216 bool m_statusReasonHasBeenSet = false;
217
218 Aws::Utils::DateTime m_createTime{};
219 bool m_createTimeHasBeenSet = false;
220
221 int m_provisionedMemory{0};
222 bool m_provisionedMemoryHasBeenSet = false;
223
224 Aws::String m_endpoint;
225 bool m_endpointHasBeenSet = false;
226
227 bool m_publicConnectivity{false};
228 bool m_publicConnectivityHasBeenSet = false;
229
230 VectorSearchConfiguration m_vectorSearchConfiguration;
231 bool m_vectorSearchConfigurationHasBeenSet = false;
232
233 int m_replicaCount{0};
234 bool m_replicaCountHasBeenSet = false;
235
236 Aws::String m_kmsKeyIdentifier;
237 bool m_kmsKeyIdentifierHasBeenSet = false;
238
239 Aws::String m_sourceSnapshotId;
240 bool m_sourceSnapshotIdHasBeenSet = false;
241
242 bool m_deletionProtection{false};
243 bool m_deletionProtectionHasBeenSet = false;
244
245 Aws::String m_buildNumber;
246 bool m_buildNumberHasBeenSet = false;
247
248 Aws::String m_requestId;
249 bool m_requestIdHasBeenSet = false;
250 };
251
252} // namespace Model
253} // namespace NeptuneGraph
254} // namespace Aws
void SetVectorSearchConfiguration(VectorSearchConfigurationT &&value)
GetGraphResult & WithId(IdT &&value)
void SetCreateTime(CreateTimeT &&value)
GetGraphResult & WithVectorSearchConfiguration(VectorSearchConfigurationT &&value)
GetGraphResult & WithCreateTime(CreateTimeT &&value)
void SetStatusReason(StatusReasonT &&value)
GetGraphResult & WithArn(ArnT &&value)
GetGraphResult & WithProvisionedMemory(int value)
const Aws::Utils::DateTime & GetCreateTime() const
GetGraphResult & WithStatusReason(StatusReasonT &&value)
GetGraphResult & WithSourceSnapshotId(SourceSnapshotIdT &&value)
AWS_NEPTUNEGRAPH_API GetGraphResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGraphResult & WithBuildNumber(BuildNumberT &&value)
const Aws::String & GetName() const
AWS_NEPTUNEGRAPH_API GetGraphResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetId() const
const Aws::String & GetBuildNumber() const
GetGraphResult & WithPublicConnectivity(bool value)
AWS_NEPTUNEGRAPH_API GetGraphResult()=default
const Aws::String & GetEndpoint() const
const VectorSearchConfiguration & GetVectorSearchConfiguration() const
const Aws::String & GetRequestId() const
GetGraphResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
GetGraphResult & WithReplicaCount(int value)
GetGraphResult & WithStatus(GraphStatus value)
const Aws::String & GetArn() const
GetGraphResult & WithName(NameT &&value)
GetGraphResult & WithEndpoint(EndpointT &&value)
GetGraphResult & WithRequestId(RequestIdT &&value)
void SetBuildNumber(BuildNumberT &&value)
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
const Aws::String & GetSourceSnapshotId() const
void SetSourceSnapshotId(SourceSnapshotIdT &&value)
const Aws::String & GetStatusReason() const
const Aws::String & GetKmsKeyIdentifier() const
GetGraphResult & WithDeletionProtection(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue