AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
GraphSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
9#include <aws/neptune-graph/model/GraphStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace NeptuneGraph {
21namespace Model {
22
29 public:
30 AWS_NEPTUNEGRAPH_API GraphSummary() = default;
31 AWS_NEPTUNEGRAPH_API GraphSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_NEPTUNEGRAPH_API GraphSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
47 GraphSummary& WithId(IdT&& value) {
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
65 GraphSummary& WithName(NameT&& value) {
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetArn() const { return m_arn; }
76 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
77 template <typename ArnT = Aws::String>
78 void SetArn(ArnT&& value) {
79 m_arnHasBeenSet = true;
80 m_arn = std::forward<ArnT>(value);
81 }
82 template <typename ArnT = Aws::String>
83 GraphSummary& WithArn(ArnT&& value) {
84 SetArn(std::forward<ArnT>(value));
85 return *this;
86 }
88
90
93 inline GraphStatus GetStatus() const { return m_status; }
94 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
95 inline void SetStatus(GraphStatus value) {
96 m_statusHasBeenSet = true;
97 m_status = value;
98 }
100 SetStatus(value);
101 return *this;
102 }
104
106
110 inline int GetProvisionedMemory() const { return m_provisionedMemory; }
111 inline bool ProvisionedMemoryHasBeenSet() const { return m_provisionedMemoryHasBeenSet; }
112 inline void SetProvisionedMemory(int value) {
113 m_provisionedMemoryHasBeenSet = true;
114 m_provisionedMemory = value;
115 }
118 return *this;
119 }
121
123
126 inline bool GetPublicConnectivity() const { return m_publicConnectivity; }
127 inline bool PublicConnectivityHasBeenSet() const { return m_publicConnectivityHasBeenSet; }
128 inline void SetPublicConnectivity(bool value) {
129 m_publicConnectivityHasBeenSet = true;
130 m_publicConnectivity = value;
131 }
134 return *this;
135 }
137
139
142 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
143 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
144 template <typename EndpointT = Aws::String>
145 void SetEndpoint(EndpointT&& value) {
146 m_endpointHasBeenSet = true;
147 m_endpoint = std::forward<EndpointT>(value);
148 }
149 template <typename EndpointT = Aws::String>
150 GraphSummary& WithEndpoint(EndpointT&& value) {
151 SetEndpoint(std::forward<EndpointT>(value));
152 return *this;
153 }
155
157
160 inline int GetReplicaCount() const { return m_replicaCount; }
161 inline bool ReplicaCountHasBeenSet() const { return m_replicaCountHasBeenSet; }
162 inline void SetReplicaCount(int value) {
163 m_replicaCountHasBeenSet = true;
164 m_replicaCount = value;
165 }
166 inline GraphSummary& WithReplicaCount(int value) {
167 SetReplicaCount(value);
168 return *this;
169 }
171
173
176 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
177 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
178 template <typename KmsKeyIdentifierT = Aws::String>
179 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
180 m_kmsKeyIdentifierHasBeenSet = true;
181 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
182 }
183 template <typename KmsKeyIdentifierT = Aws::String>
184 GraphSummary& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
185 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
186 return *this;
187 }
189
191
194 inline bool GetDeletionProtection() const { return m_deletionProtection; }
195 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
196 inline void SetDeletionProtection(bool value) {
197 m_deletionProtectionHasBeenSet = true;
198 m_deletionProtection = value;
199 }
202 return *this;
203 }
205 private:
206 Aws::String m_id;
207
208 Aws::String m_name;
209
210 Aws::String m_arn;
211
213
214 int m_provisionedMemory{0};
215
216 bool m_publicConnectivity{false};
217
218 Aws::String m_endpoint;
219
220 int m_replicaCount{0};
221
222 Aws::String m_kmsKeyIdentifier;
223
224 bool m_deletionProtection{false};
225 bool m_idHasBeenSet = false;
226 bool m_nameHasBeenSet = false;
227 bool m_arnHasBeenSet = false;
228 bool m_statusHasBeenSet = false;
229 bool m_provisionedMemoryHasBeenSet = false;
230 bool m_publicConnectivityHasBeenSet = false;
231 bool m_endpointHasBeenSet = false;
232 bool m_replicaCountHasBeenSet = false;
233 bool m_kmsKeyIdentifierHasBeenSet = false;
234 bool m_deletionProtectionHasBeenSet = false;
235};
236
237} // namespace Model
238} // namespace NeptuneGraph
239} // namespace Aws
const Aws::String & GetEndpoint() const
AWS_NEPTUNEGRAPH_API GraphSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndpoint(EndpointT &&value)
GraphSummary & WithArn(ArnT &&value)
GraphSummary & WithProvisionedMemory(int value)
const Aws::String & GetArn() const
const Aws::String & GetKmsKeyIdentifier() const
GraphSummary & WithEndpoint(EndpointT &&value)
AWS_NEPTUNEGRAPH_API GraphSummary()=default
AWS_NEPTUNEGRAPH_API GraphSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(GraphStatus value)
GraphSummary & WithName(NameT &&value)
GraphSummary & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
GraphSummary & WithPublicConnectivity(bool value)
const Aws::String & GetName() const
GraphSummary & WithReplicaCount(int value)
GraphSummary & WithId(IdT &&value)
GraphSummary & WithDeletionProtection(bool value)
GraphSummary & WithStatus(GraphStatus value)
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue