AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RestoreGraphFromSnapshotResult.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 RestoreGraphFromSnapshotResult() = 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 RestoreGraphFromSnapshotResult& 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 RestoreGraphFromSnapshotResult& 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 RestoreGraphFromSnapshotResult& 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 RestoreGraphFromSnapshotResult& 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 RestoreGraphFromSnapshotResult& 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 RestoreGraphFromSnapshotResult& 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; }
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 RestoreGraphFromSnapshotResult& 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; }
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 RestoreGraphFromSnapshotResult& 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 RestoreGraphFromSnapshotResult& 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 RestoreGraphFromSnapshotResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
160
162
165 inline const Aws::String& GetSourceSnapshotId() const { return m_sourceSnapshotId; }
166 template<typename SourceSnapshotIdT = Aws::String>
167 void SetSourceSnapshotId(SourceSnapshotIdT&& value) { m_sourceSnapshotIdHasBeenSet = true; m_sourceSnapshotId = std::forward<SourceSnapshotIdT>(value); }
168 template<typename SourceSnapshotIdT = Aws::String>
169 RestoreGraphFromSnapshotResult& WithSourceSnapshotId(SourceSnapshotIdT&& value) { SetSourceSnapshotId(std::forward<SourceSnapshotIdT>(value)); return *this;}
171
173
176 inline bool GetDeletionProtection() const { return m_deletionProtection; }
177 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
180
182
185 inline const Aws::String& GetBuildNumber() const { return m_buildNumber; }
186 template<typename BuildNumberT = Aws::String>
187 void SetBuildNumber(BuildNumberT&& value) { m_buildNumberHasBeenSet = true; m_buildNumber = std::forward<BuildNumberT>(value); }
188 template<typename BuildNumberT = Aws::String>
189 RestoreGraphFromSnapshotResult& WithBuildNumber(BuildNumberT&& value) { SetBuildNumber(std::forward<BuildNumberT>(value)); return *this;}
191
193
194 inline const Aws::String& GetRequestId() const { return m_requestId; }
195 template<typename RequestIdT = Aws::String>
196 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
197 template<typename RequestIdT = Aws::String>
198 RestoreGraphFromSnapshotResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
200 private:
201
202 Aws::String m_id;
203 bool m_idHasBeenSet = false;
204
205 Aws::String m_name;
206 bool m_nameHasBeenSet = false;
207
208 Aws::String m_arn;
209 bool m_arnHasBeenSet = false;
210
212 bool m_statusHasBeenSet = false;
213
214 Aws::String m_statusReason;
215 bool m_statusReasonHasBeenSet = false;
216
217 Aws::Utils::DateTime m_createTime{};
218 bool m_createTimeHasBeenSet = false;
219
220 int m_provisionedMemory{0};
221 bool m_provisionedMemoryHasBeenSet = false;
222
223 Aws::String m_endpoint;
224 bool m_endpointHasBeenSet = false;
225
226 bool m_publicConnectivity{false};
227 bool m_publicConnectivityHasBeenSet = false;
228
229 VectorSearchConfiguration m_vectorSearchConfiguration;
230 bool m_vectorSearchConfigurationHasBeenSet = false;
231
232 int m_replicaCount{0};
233 bool m_replicaCountHasBeenSet = false;
234
235 Aws::String m_kmsKeyIdentifier;
236 bool m_kmsKeyIdentifierHasBeenSet = false;
237
238 Aws::String m_sourceSnapshotId;
239 bool m_sourceSnapshotIdHasBeenSet = false;
240
241 bool m_deletionProtection{false};
242 bool m_deletionProtectionHasBeenSet = false;
243
244 Aws::String m_buildNumber;
245 bool m_buildNumberHasBeenSet = false;
246
247 Aws::String m_requestId;
248 bool m_requestIdHasBeenSet = false;
249 };
250
251} // namespace Model
252} // namespace NeptuneGraph
253} // namespace Aws
RestoreGraphFromSnapshotResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
RestoreGraphFromSnapshotResult & WithVectorSearchConfiguration(VectorSearchConfigurationT &&value)
RestoreGraphFromSnapshotResult & WithBuildNumber(BuildNumberT &&value)
RestoreGraphFromSnapshotResult & WithEndpoint(EndpointT &&value)
RestoreGraphFromSnapshotResult & WithCreateTime(CreateTimeT &&value)
RestoreGraphFromSnapshotResult & WithDeletionProtection(bool value)
AWS_NEPTUNEGRAPH_API RestoreGraphFromSnapshotResult()=default
RestoreGraphFromSnapshotResult & WithSourceSnapshotId(SourceSnapshotIdT &&value)
RestoreGraphFromSnapshotResult & WithStatus(GraphStatus value)
AWS_NEPTUNEGRAPH_API RestoreGraphFromSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RestoreGraphFromSnapshotResult & WithRequestId(RequestIdT &&value)
RestoreGraphFromSnapshotResult & WithPublicConnectivity(bool value)
AWS_NEPTUNEGRAPH_API RestoreGraphFromSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RestoreGraphFromSnapshotResult & WithStatusReason(StatusReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue