AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline GraphSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline GraphSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline GraphSummary& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline GraphSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline GraphSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline GraphSummary& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const Aws::String& GetArn() const{ return m_arn; }
74 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
75 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
76 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
77 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
78 inline GraphSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
79 inline GraphSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
80 inline GraphSummary& WithArn(const char* value) { SetArn(value); return *this;}
82
84
87 inline const GraphStatus& GetStatus() const{ return m_status; }
88 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
89 inline void SetStatus(const GraphStatus& value) { m_statusHasBeenSet = true; m_status = value; }
90 inline void SetStatus(GraphStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
91 inline GraphSummary& WithStatus(const GraphStatus& value) { SetStatus(value); return *this;}
92 inline GraphSummary& WithStatus(GraphStatus&& value) { SetStatus(std::move(value)); return *this;}
94
96
100 inline int GetProvisionedMemory() const{ return m_provisionedMemory; }
101 inline bool ProvisionedMemoryHasBeenSet() const { return m_provisionedMemoryHasBeenSet; }
102 inline void SetProvisionedMemory(int value) { m_provisionedMemoryHasBeenSet = true; m_provisionedMemory = value; }
103 inline GraphSummary& WithProvisionedMemory(int value) { SetProvisionedMemory(value); return *this;}
105
107
110 inline bool GetPublicConnectivity() const{ return m_publicConnectivity; }
111 inline bool PublicConnectivityHasBeenSet() const { return m_publicConnectivityHasBeenSet; }
112 inline void SetPublicConnectivity(bool value) { m_publicConnectivityHasBeenSet = true; m_publicConnectivity = value; }
113 inline GraphSummary& WithPublicConnectivity(bool value) { SetPublicConnectivity(value); return *this;}
115
117
120 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
121 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
122 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
123 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
124 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
125 inline GraphSummary& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
126 inline GraphSummary& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
127 inline GraphSummary& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
129
131
134 inline int GetReplicaCount() const{ return m_replicaCount; }
135 inline bool ReplicaCountHasBeenSet() const { return m_replicaCountHasBeenSet; }
136 inline void SetReplicaCount(int value) { m_replicaCountHasBeenSet = true; m_replicaCount = value; }
137 inline GraphSummary& WithReplicaCount(int value) { SetReplicaCount(value); return *this;}
139
141
144 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
145 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
146 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = value; }
147 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::move(value); }
148 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier.assign(value); }
149 inline GraphSummary& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
150 inline GraphSummary& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
151 inline GraphSummary& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
153
155
158 inline bool GetDeletionProtection() const{ return m_deletionProtection; }
159 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
160 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
161 inline GraphSummary& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
163 private:
164
165 Aws::String m_id;
166 bool m_idHasBeenSet = false;
167
168 Aws::String m_name;
169 bool m_nameHasBeenSet = false;
170
171 Aws::String m_arn;
172 bool m_arnHasBeenSet = false;
173
174 GraphStatus m_status;
175 bool m_statusHasBeenSet = false;
176
177 int m_provisionedMemory;
178 bool m_provisionedMemoryHasBeenSet = false;
179
180 bool m_publicConnectivity;
181 bool m_publicConnectivityHasBeenSet = false;
182
183 Aws::String m_endpoint;
184 bool m_endpointHasBeenSet = false;
185
186 int m_replicaCount;
187 bool m_replicaCountHasBeenSet = false;
188
189 Aws::String m_kmsKeyIdentifier;
190 bool m_kmsKeyIdentifierHasBeenSet = false;
191
192 bool m_deletionProtection;
193 bool m_deletionProtectionHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace NeptuneGraph
198} // namespace Aws
const Aws::String & GetEndpoint() const
void SetArn(const Aws::String &value)
AWS_NEPTUNEGRAPH_API GraphSummary(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
void SetKmsKeyIdentifier(const Aws::String &value)
void SetStatus(GraphStatus &&value)
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
GraphSummary & WithProvisionedMemory(int value)
const Aws::String & GetArn() const
const Aws::String & GetKmsKeyIdentifier() const
GraphSummary & WithEndpoint(const Aws::String &value)
void SetId(Aws::String &&value)
GraphSummary & WithStatus(GraphStatus &&value)
void SetArn(Aws::String &&value)
GraphSummary & WithArn(const Aws::String &value)
AWS_NEPTUNEGRAPH_API GraphSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKmsKeyIdentifier(Aws::String &&value)
GraphSummary & WithId(Aws::String &&value)
GraphSummary & WithArn(Aws::String &&value)
void SetStatus(const GraphStatus &value)
void SetEndpoint(const char *value)
GraphSummary & WithName(const Aws::String &value)
void SetEndpoint(const Aws::String &value)
GraphSummary & WithId(const char *value)
GraphSummary & WithKmsKeyIdentifier(const Aws::String &value)
GraphSummary & WithPublicConnectivity(bool value)
void SetKmsKeyIdentifier(const char *value)
GraphSummary & WithStatus(const GraphStatus &value)
const Aws::String & GetName() const
GraphSummary & WithEndpoint(const char *value)
AWS_NEPTUNEGRAPH_API GraphSummary()
GraphSummary & WithName(const char *value)
GraphSummary & WithName(Aws::String &&value)
GraphSummary & WithId(const Aws::String &value)
const GraphStatus & GetStatus() const
GraphSummary & WithReplicaCount(int value)
GraphSummary & WithKmsKeyIdentifier(const char *value)
GraphSummary & WithEndpoint(Aws::String &&value)
GraphSummary & WithDeletionProtection(bool value)
const Aws::String & GetId() const
GraphSummary & WithArn(const char *value)
void SetId(const Aws::String &value)
GraphSummary & WithKmsKeyIdentifier(Aws::String &&value)
void SetName(Aws::String &&value)
void SetEndpoint(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue