AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GraphSummary.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace NeptuneGraph
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_NEPTUNEGRAPH_API GraphSummary() = default;
36 AWS_NEPTUNEGRAPH_API GraphSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NEPTUNEGRAPH_API GraphSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template<typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
49 template<typename IdT = Aws::String>
50 GraphSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
61 template<typename NameT = Aws::String>
62 GraphSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetArn() const { return m_arn; }
70 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
71 template<typename ArnT = Aws::String>
72 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
73 template<typename ArnT = Aws::String>
74 GraphSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
76
78
81 inline GraphStatus GetStatus() const { return m_status; }
82 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
83 inline void SetStatus(GraphStatus value) { m_statusHasBeenSet = true; m_status = value; }
84 inline GraphSummary& WithStatus(GraphStatus value) { SetStatus(value); return *this;}
86
88
92 inline int GetProvisionedMemory() const { return m_provisionedMemory; }
93 inline bool ProvisionedMemoryHasBeenSet() const { return m_provisionedMemoryHasBeenSet; }
94 inline void SetProvisionedMemory(int value) { m_provisionedMemoryHasBeenSet = true; m_provisionedMemory = value; }
95 inline GraphSummary& WithProvisionedMemory(int value) { SetProvisionedMemory(value); return *this;}
97
99
102 inline bool GetPublicConnectivity() const { return m_publicConnectivity; }
103 inline bool PublicConnectivityHasBeenSet() const { return m_publicConnectivityHasBeenSet; }
104 inline void SetPublicConnectivity(bool value) { m_publicConnectivityHasBeenSet = true; m_publicConnectivity = value; }
105 inline GraphSummary& WithPublicConnectivity(bool value) { SetPublicConnectivity(value); return *this;}
107
109
112 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
113 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
114 template<typename EndpointT = Aws::String>
115 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
116 template<typename EndpointT = Aws::String>
117 GraphSummary& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
119
121
124 inline int GetReplicaCount() const { return m_replicaCount; }
125 inline bool ReplicaCountHasBeenSet() const { return m_replicaCountHasBeenSet; }
126 inline void SetReplicaCount(int value) { m_replicaCountHasBeenSet = true; m_replicaCount = value; }
127 inline GraphSummary& WithReplicaCount(int value) { SetReplicaCount(value); return *this;}
129
131
134 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
135 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
136 template<typename KmsKeyIdentifierT = Aws::String>
137 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
138 template<typename KmsKeyIdentifierT = Aws::String>
139 GraphSummary& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
141
143
146 inline bool GetDeletionProtection() const { return m_deletionProtection; }
147 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
148 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
149 inline GraphSummary& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
151 private:
152
153 Aws::String m_id;
154 bool m_idHasBeenSet = false;
155
156 Aws::String m_name;
157 bool m_nameHasBeenSet = false;
158
159 Aws::String m_arn;
160 bool m_arnHasBeenSet = false;
161
163 bool m_statusHasBeenSet = false;
164
165 int m_provisionedMemory{0};
166 bool m_provisionedMemoryHasBeenSet = false;
167
168 bool m_publicConnectivity{false};
169 bool m_publicConnectivityHasBeenSet = false;
170
171 Aws::String m_endpoint;
172 bool m_endpointHasBeenSet = false;
173
174 int m_replicaCount{0};
175 bool m_replicaCountHasBeenSet = false;
176
177 Aws::String m_kmsKeyIdentifier;
178 bool m_kmsKeyIdentifierHasBeenSet = false;
179
180 bool m_deletionProtection{false};
181 bool m_deletionProtectionHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace NeptuneGraph
186} // 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