7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/neptune/Neptune_EXPORTS.h>
11#include <aws/neptune/model/FailoverState.h>
12#include <aws/neptune/model/GlobalClusterMember.h>
50 template <
typename GlobalClusterIdentifierT = Aws::String>
52 m_globalClusterIdentifierHasBeenSet =
true;
53 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
55 template <
typename GlobalClusterIdentifierT = Aws::String>
70 template <
typename GlobalClusterResourceIdT = Aws::String>
72 m_globalClusterResourceIdHasBeenSet =
true;
73 m_globalClusterResourceId = std::forward<GlobalClusterResourceIdT>(value);
75 template <
typename GlobalClusterResourceIdT = Aws::String>
88 template <
typename GlobalClusterArnT = Aws::String>
90 m_globalClusterArnHasBeenSet =
true;
91 m_globalClusterArn = std::forward<GlobalClusterArnT>(value);
93 template <
typename GlobalClusterArnT = Aws::String>
106 template <
typename StatusT = Aws::String>
108 m_statusHasBeenSet =
true;
109 m_status = std::forward<StatusT>(value);
111 template <
typename StatusT = Aws::String>
125 template <
typename EngineT = Aws::String>
127 m_engineHasBeenSet =
true;
128 m_engine = std::forward<EngineT>(value);
130 template <
typename EngineT = Aws::String>
143 template <
typename EngineVersionT = Aws::String>
145 m_engineVersionHasBeenSet =
true;
146 m_engineVersion = std::forward<EngineVersionT>(value);
148 template <
typename EngineVersionT = Aws::String>
162 m_storageEncryptedHasBeenSet =
true;
163 m_storageEncrypted = value;
178 m_deletionProtectionHasBeenSet =
true;
179 m_deletionProtection = value;
194 template <
typename GlobalClusterMembersT = Aws::Vector<GlobalClusterMember>>
196 m_globalClusterMembersHasBeenSet =
true;
197 m_globalClusterMembers = std::forward<GlobalClusterMembersT>(value);
199 template <
typename GlobalClusterMembersT = Aws::Vector<GlobalClusterMember>>
204 template <
typename GlobalClusterMembersT = GlobalClusterMember>
206 m_globalClusterMembersHasBeenSet =
true;
207 m_globalClusterMembers.emplace_back(std::forward<GlobalClusterMembersT>(value));
222 template <
typename FailoverStateT = FailoverState>
224 m_failoverStateHasBeenSet =
true;
225 m_failoverState = std::forward<FailoverStateT>(value);
227 template <
typename FailoverStateT = FailoverState>
235 bool m_globalClusterIdentifierHasBeenSet =
false;
238 bool m_globalClusterResourceIdHasBeenSet =
false;
241 bool m_globalClusterArnHasBeenSet =
false;
244 bool m_statusHasBeenSet =
false;
247 bool m_engineHasBeenSet =
false;
250 bool m_engineVersionHasBeenSet =
false;
252 bool m_storageEncrypted{
false};
253 bool m_storageEncryptedHasBeenSet =
false;
255 bool m_deletionProtection{
false};
256 bool m_deletionProtectionHasBeenSet =
false;
259 bool m_globalClusterMembersHasBeenSet =
false;
261 FailoverState m_failoverState;
262 bool m_failoverStateHasBeenSet =
false;
void SetGlobalClusterMembers(GlobalClusterMembersT &&value)
const Aws::String & GetGlobalClusterResourceId() const
void SetDeletionProtection(bool 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
bool GlobalClusterArnHasBeenSet() const
void SetGlobalClusterArn(GlobalClusterArnT &&value)
bool FailoverStateHasBeenSet() const
bool GlobalClusterIdentifierHasBeenSet() const
bool EngineHasBeenSet() const
GlobalCluster & WithDeletionProtection(bool value)
GlobalCluster & WithGlobalClusterMembers(GlobalClusterMembersT &&value)
const Aws::String & GetGlobalClusterArn() const
AWS_NEPTUNE_API GlobalCluster()=default
GlobalCluster & WithFailoverState(FailoverStateT &&value)
AWS_NEPTUNE_API GlobalCluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
const Aws::String & GetStatus() const
GlobalCluster & AddGlobalClusterMembers(GlobalClusterMembersT &&value)
GlobalCluster & WithGlobalClusterResourceId(GlobalClusterResourceIdT &&value)
bool StatusHasBeenSet() const
bool GetStorageEncrypted() const
GlobalCluster & WithStatus(StatusT &&value)
bool DeletionProtectionHasBeenSet() const
bool GlobalClusterResourceIdHasBeenSet() const
void SetStatus(StatusT &&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
GlobalCluster & WithGlobalClusterArn(GlobalClusterArnT &&value)
void SetFailoverState(FailoverStateT &&value)
void SetEngineVersion(EngineVersionT &&value)
void SetStorageEncrypted(bool value)
void SetGlobalClusterResourceId(GlobalClusterResourceIdT &&value)
const Aws::Vector< GlobalClusterMember > & GetGlobalClusterMembers() const
const Aws::String & GetEngineVersion() const
bool GlobalClusterMembersHasBeenSet() const
GlobalCluster & WithEngineVersion(EngineVersionT &&value)
bool GetDeletionProtection() const
bool EngineVersionHasBeenSet() const
GlobalCluster & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
GlobalCluster & WithEngine(EngineT &&value)
bool StorageEncryptedHasBeenSet() const
void SetEngine(EngineT &&value)
const FailoverState & GetFailoverState() const
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