AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GlobalCluster.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/neptune/model/GlobalClusterMember.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace Neptune
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_NEPTUNE_API GlobalCluster();
41 AWS_NEPTUNE_API GlobalCluster(const Aws::Utils::Xml::XmlNode& xmlNode);
42 AWS_NEPTUNE_API GlobalCluster& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
43
44 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
53 inline const Aws::String& GetGlobalClusterIdentifier() const{ return m_globalClusterIdentifier; }
54 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
55 inline void SetGlobalClusterIdentifier(const Aws::String& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = value; }
56 inline void SetGlobalClusterIdentifier(Aws::String&& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = std::move(value); }
57 inline void SetGlobalClusterIdentifier(const char* value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier.assign(value); }
59 inline GlobalCluster& WithGlobalClusterIdentifier(Aws::String&& value) { SetGlobalClusterIdentifier(std::move(value)); return *this;}
60 inline GlobalCluster& WithGlobalClusterIdentifier(const char* value) { SetGlobalClusterIdentifier(value); return *this;}
62
64
69 inline const Aws::String& GetGlobalClusterResourceId() const{ return m_globalClusterResourceId; }
70 inline bool GlobalClusterResourceIdHasBeenSet() const { return m_globalClusterResourceIdHasBeenSet; }
71 inline void SetGlobalClusterResourceId(const Aws::String& value) { m_globalClusterResourceIdHasBeenSet = true; m_globalClusterResourceId = value; }
72 inline void SetGlobalClusterResourceId(Aws::String&& value) { m_globalClusterResourceIdHasBeenSet = true; m_globalClusterResourceId = std::move(value); }
73 inline void SetGlobalClusterResourceId(const char* value) { m_globalClusterResourceIdHasBeenSet = true; m_globalClusterResourceId.assign(value); }
75 inline GlobalCluster& WithGlobalClusterResourceId(Aws::String&& value) { SetGlobalClusterResourceId(std::move(value)); return *this;}
76 inline GlobalCluster& WithGlobalClusterResourceId(const char* value) { SetGlobalClusterResourceId(value); return *this;}
78
80
83 inline const Aws::String& GetGlobalClusterArn() const{ return m_globalClusterArn; }
84 inline bool GlobalClusterArnHasBeenSet() const { return m_globalClusterArnHasBeenSet; }
85 inline void SetGlobalClusterArn(const Aws::String& value) { m_globalClusterArnHasBeenSet = true; m_globalClusterArn = value; }
86 inline void SetGlobalClusterArn(Aws::String&& value) { m_globalClusterArnHasBeenSet = true; m_globalClusterArn = std::move(value); }
87 inline void SetGlobalClusterArn(const char* value) { m_globalClusterArnHasBeenSet = true; m_globalClusterArn.assign(value); }
88 inline GlobalCluster& WithGlobalClusterArn(const Aws::String& value) { SetGlobalClusterArn(value); return *this;}
89 inline GlobalCluster& WithGlobalClusterArn(Aws::String&& value) { SetGlobalClusterArn(std::move(value)); return *this;}
90 inline GlobalCluster& WithGlobalClusterArn(const char* value) { SetGlobalClusterArn(value); return *this;}
92
94
97 inline const Aws::String& GetStatus() const{ return m_status; }
98 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
100 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
101 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
102 inline GlobalCluster& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
103 inline GlobalCluster& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
104 inline GlobalCluster& WithStatus(const char* value) { SetStatus(value); return *this;}
106
108
112 inline const Aws::String& GetEngine() const{ return m_engine; }
113 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
114 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
115 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
116 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
117 inline GlobalCluster& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
118 inline GlobalCluster& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
119 inline GlobalCluster& WithEngine(const char* value) { SetEngine(value); return *this;}
121
123
126 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
127 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
128 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
129 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
130 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
131 inline GlobalCluster& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
132 inline GlobalCluster& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
133 inline GlobalCluster& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
135
137
140 inline bool GetStorageEncrypted() const{ return m_storageEncrypted; }
141 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
142 inline void SetStorageEncrypted(bool value) { m_storageEncryptedHasBeenSet = true; m_storageEncrypted = value; }
143 inline GlobalCluster& WithStorageEncrypted(bool value) { SetStorageEncrypted(value); return *this;}
145
147
150 inline bool GetDeletionProtection() const{ return m_deletionProtection; }
151 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
152 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
153 inline GlobalCluster& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
155
157
161 inline const Aws::Vector<GlobalClusterMember>& GetGlobalClusterMembers() const{ return m_globalClusterMembers; }
162 inline bool GlobalClusterMembersHasBeenSet() const { return m_globalClusterMembersHasBeenSet; }
163 inline void SetGlobalClusterMembers(const Aws::Vector<GlobalClusterMember>& value) { m_globalClusterMembersHasBeenSet = true; m_globalClusterMembers = value; }
164 inline void SetGlobalClusterMembers(Aws::Vector<GlobalClusterMember>&& value) { m_globalClusterMembersHasBeenSet = true; m_globalClusterMembers = std::move(value); }
167 inline GlobalCluster& AddGlobalClusterMembers(const GlobalClusterMember& value) { m_globalClusterMembersHasBeenSet = true; m_globalClusterMembers.push_back(value); return *this; }
168 inline GlobalCluster& AddGlobalClusterMembers(GlobalClusterMember&& value) { m_globalClusterMembersHasBeenSet = true; m_globalClusterMembers.push_back(std::move(value)); return *this; }
170 private:
171
172 Aws::String m_globalClusterIdentifier;
173 bool m_globalClusterIdentifierHasBeenSet = false;
174
175 Aws::String m_globalClusterResourceId;
176 bool m_globalClusterResourceIdHasBeenSet = false;
177
178 Aws::String m_globalClusterArn;
179 bool m_globalClusterArnHasBeenSet = false;
180
181 Aws::String m_status;
182 bool m_statusHasBeenSet = false;
183
184 Aws::String m_engine;
185 bool m_engineHasBeenSet = false;
186
187 Aws::String m_engineVersion;
188 bool m_engineVersionHasBeenSet = false;
189
190 bool m_storageEncrypted;
191 bool m_storageEncryptedHasBeenSet = false;
192
193 bool m_deletionProtection;
194 bool m_deletionProtectionHasBeenSet = false;
195
196 Aws::Vector<GlobalClusterMember> m_globalClusterMembers;
197 bool m_globalClusterMembersHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace Neptune
202} // namespace Aws
void SetGlobalClusterIdentifier(Aws::String &&value)
GlobalCluster & WithGlobalClusterMembers(Aws::Vector< GlobalClusterMember > &&value)
const Aws::String & GetGlobalClusterResourceId() const
GlobalCluster & WithStatus(const Aws::String &value)
GlobalCluster & WithEngine(const char *value)
void SetEngineVersion(const char *value)
AWS_NEPTUNE_API GlobalCluster(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStatus(Aws::String &&value)
void SetGlobalClusterResourceId(const char *value)
GlobalCluster & WithGlobalClusterArn(const char *value)
void SetGlobalClusterResourceId(const Aws::String &value)
void SetGlobalClusterIdentifier(const Aws::String &value)
GlobalCluster & AddGlobalClusterMembers(GlobalClusterMember &&value)
void SetGlobalClusterMembers(Aws::Vector< GlobalClusterMember > &&value)
GlobalCluster & WithDeletionProtection(bool value)
void SetEngine(const Aws::String &value)
const Aws::String & GetGlobalClusterArn() const
AWS_NEPTUNE_API GlobalCluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetStatus() const
GlobalCluster & WithGlobalClusterArn(Aws::String &&value)
GlobalCluster & WithGlobalClusterIdentifier(Aws::String &&value)
void SetEngineVersion(const Aws::String &value)
void SetEngineVersion(Aws::String &&value)
void SetStatus(const char *value)
GlobalCluster & WithEngineVersion(Aws::String &&value)
GlobalCluster & WithStatus(Aws::String &&value)
GlobalCluster & WithGlobalClusterResourceId(Aws::String &&value)
GlobalCluster & WithGlobalClusterArn(const Aws::String &value)
GlobalCluster & WithEngine(Aws::String &&value)
GlobalCluster & WithGlobalClusterResourceId(const Aws::String &value)
void SetGlobalClusterArn(Aws::String &&value)
GlobalCluster & WithEngineVersion(const char *value)
GlobalCluster & WithStatus(const char *value)
void SetGlobalClusterArn(const Aws::String &value)
void SetStatus(const Aws::String &value)
GlobalCluster & WithGlobalClusterIdentifier(const Aws::String &value)
void SetEngine(Aws::String &&value)
GlobalCluster & WithEngine(const Aws::String &value)
const Aws::String & GetGlobalClusterIdentifier() const
GlobalCluster & WithStorageEncrypted(bool value)
const Aws::String & GetEngine() const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetGlobalClusterArn(const char *value)
GlobalCluster & WithGlobalClusterIdentifier(const char *value)
void SetEngine(const char *value)
GlobalCluster & AddGlobalClusterMembers(const GlobalClusterMember &value)
void SetGlobalClusterResourceId(Aws::String &&value)
GlobalCluster & WithEngineVersion(const Aws::String &value)
const Aws::Vector< GlobalClusterMember > & GetGlobalClusterMembers() const
const Aws::String & GetEngineVersion() const
GlobalCluster & WithGlobalClusterResourceId(const char *value)
void SetGlobalClusterIdentifier(const char *value)
GlobalCluster & WithGlobalClusterMembers(const Aws::Vector< GlobalClusterMember > &value)
void SetGlobalClusterMembers(const Aws::Vector< GlobalClusterMember > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream