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/FailoverState.h>
12#include <aws/neptune/model/GlobalClusterMember.h>
56 template<
typename GlobalClusterIdentifierT = Aws::String>
57 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) { m_globalClusterIdentifierHasBeenSet =
true; m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value); }
58 template<
typename GlobalClusterIdentifierT = Aws::String>
70 template<
typename GlobalClusterResourceIdT = Aws::String>
71 void SetGlobalClusterResourceId(GlobalClusterResourceIdT&& value) { m_globalClusterResourceIdHasBeenSet =
true; m_globalClusterResourceId = std::forward<GlobalClusterResourceIdT>(value); }
72 template<
typename GlobalClusterResourceIdT = Aws::String>
82 template<
typename GlobalClusterArnT = Aws::String>
83 void SetGlobalClusterArn(GlobalClusterArnT&& value) { m_globalClusterArnHasBeenSet =
true; m_globalClusterArn = std::forward<GlobalClusterArnT>(value); }
84 template<
typename GlobalClusterArnT = Aws::String>
94 template<
typename StatusT = Aws::String>
95 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
96 template<
typename StatusT = Aws::String>
107 template<
typename EngineT = Aws::String>
108 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
109 template<
typename EngineT = Aws::String>
119 template<
typename EngineVersionT = Aws::String>
120 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
121 template<
typename EngineVersionT = Aws::String>
131 inline void SetStorageEncrypted(
bool value) { m_storageEncryptedHasBeenSet =
true; m_storageEncrypted = value; }
141 inline void SetDeletionProtection(
bool value) { m_deletionProtectionHasBeenSet =
true; m_deletionProtection = value; }
152 template<
typename GlobalClusterMembersT = Aws::Vector<GlobalClusterMember>>
153 void SetGlobalClusterMembers(GlobalClusterMembersT&& value) { m_globalClusterMembersHasBeenSet =
true; m_globalClusterMembers = std::forward<GlobalClusterMembersT>(value); }
154 template<
typename GlobalClusterMembersT = Aws::Vector<GlobalClusterMember>>
156 template<
typename GlobalClusterMembersT = GlobalClusterMember>
157 GlobalCluster&
AddGlobalClusterMembers(GlobalClusterMembersT&& value) { m_globalClusterMembersHasBeenSet =
true; m_globalClusterMembers.emplace_back(std::forward<GlobalClusterMembersT>(value));
return *
this; }
170 template<
typename FailoverStateT = FailoverState>
171 void SetFailoverState(FailoverStateT&& value) { m_failoverStateHasBeenSet =
true; m_failoverState = std::forward<FailoverStateT>(value); }
172 template<
typename FailoverStateT = FailoverState>
178 bool m_globalClusterIdentifierHasBeenSet =
false;
181 bool m_globalClusterResourceIdHasBeenSet =
false;
184 bool m_globalClusterArnHasBeenSet =
false;
187 bool m_statusHasBeenSet =
false;
190 bool m_engineHasBeenSet =
false;
193 bool m_engineVersionHasBeenSet =
false;
195 bool m_storageEncrypted{
false};
196 bool m_storageEncryptedHasBeenSet =
false;
198 bool m_deletionProtection{
false};
199 bool m_deletionProtectionHasBeenSet =
false;
202 bool m_globalClusterMembersHasBeenSet =
false;
204 FailoverState m_failoverState;
205 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