7#include <aws/docdb/DocDB_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/docdb/model/GlobalClusterMember.h>
52 template<
typename GlobalClusterIdentifierT = Aws::String>
53 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) { m_globalClusterIdentifierHasBeenSet =
true; m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value); }
54 template<
typename GlobalClusterIdentifierT = Aws::String>
66 template<
typename GlobalClusterResourceIdT = Aws::String>
67 void SetGlobalClusterResourceId(GlobalClusterResourceIdT&& value) { m_globalClusterResourceIdHasBeenSet =
true; m_globalClusterResourceId = std::forward<GlobalClusterResourceIdT>(value); }
68 template<
typename GlobalClusterResourceIdT = Aws::String>
78 template<
typename GlobalClusterArnT = Aws::String>
79 void SetGlobalClusterArn(GlobalClusterArnT&& value) { m_globalClusterArnHasBeenSet =
true; m_globalClusterArn = std::forward<GlobalClusterArnT>(value); }
80 template<
typename GlobalClusterArnT = Aws::String>
90 template<
typename StatusT = Aws::String>
91 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
92 template<
typename StatusT = Aws::String>
102 template<
typename EngineT = Aws::String>
103 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
104 template<
typename EngineT = Aws::String>
114 template<
typename EngineVersionT = Aws::String>
115 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
116 template<
typename EngineVersionT = Aws::String>
126 template<
typename DatabaseNameT = Aws::String>
127 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
128 template<
typename DatabaseNameT = Aws::String>
138 inline void SetStorageEncrypted(
bool value) { m_storageEncryptedHasBeenSet =
true; m_storageEncrypted = value; }
148 inline void SetDeletionProtection(
bool value) { m_deletionProtectionHasBeenSet =
true; m_deletionProtection = value; }
159 template<
typename GlobalClusterMembersT = Aws::Vector<GlobalClusterMember>>
160 void SetGlobalClusterMembers(GlobalClusterMembersT&& value) { m_globalClusterMembersHasBeenSet =
true; m_globalClusterMembers = std::forward<GlobalClusterMembersT>(value); }
161 template<
typename GlobalClusterMembersT = Aws::Vector<GlobalClusterMember>>
163 template<
typename GlobalClusterMembersT = GlobalClusterMember>
164 GlobalCluster&
AddGlobalClusterMembers(GlobalClusterMembersT&& value) { m_globalClusterMembersHasBeenSet =
true; m_globalClusterMembers.emplace_back(std::forward<GlobalClusterMembersT>(value));
return *
this; }
169 bool m_globalClusterIdentifierHasBeenSet =
false;
172 bool m_globalClusterResourceIdHasBeenSet =
false;
175 bool m_globalClusterArnHasBeenSet =
false;
178 bool m_statusHasBeenSet =
false;
181 bool m_engineHasBeenSet =
false;
184 bool m_engineVersionHasBeenSet =
false;
187 bool m_databaseNameHasBeenSet =
false;
189 bool m_storageEncrypted{
false};
190 bool m_storageEncryptedHasBeenSet =
false;
192 bool m_deletionProtection{
false};
193 bool m_deletionProtectionHasBeenSet =
false;
196 bool m_globalClusterMembersHasBeenSet =
false;
void SetDatabaseName(DatabaseNameT &&value)
void SetGlobalClusterMembers(GlobalClusterMembersT &&value)
AWS_DOCDB_API GlobalCluster(const Aws::Utils::Xml::XmlNode &xmlNode)
GlobalCluster & WithEngine(EngineT &&value)
bool StatusHasBeenSet() const
GlobalCluster & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
void SetGlobalClusterResourceId(GlobalClusterResourceIdT &&value)
bool GetStorageEncrypted() const
const Aws::String & GetGlobalClusterArn() const
bool DatabaseNameHasBeenSet() const
const Aws::String & GetGlobalClusterIdentifier() const
bool GlobalClusterArnHasBeenSet() const
const Aws::Vector< GlobalClusterMember > & GetGlobalClusterMembers() const
void SetEngine(EngineT &&value)
GlobalCluster & WithStorageEncrypted(bool value)
void SetStatus(StatusT &&value)
bool EngineHasBeenSet() const
void SetStorageEncrypted(bool value)
AWS_DOCDB_API GlobalCluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
GlobalCluster & WithDatabaseName(DatabaseNameT &&value)
bool GetDeletionProtection() const
GlobalCluster & WithGlobalClusterMembers(GlobalClusterMembersT &&value)
const Aws::String & GetEngine() const
AWS_DOCDB_API GlobalCluster()=default
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool GlobalClusterIdentifierHasBeenSet() const
bool EngineVersionHasBeenSet() const
void SetGlobalClusterArn(GlobalClusterArnT &&value)
GlobalCluster & WithStatus(StatusT &&value)
GlobalCluster & WithGlobalClusterResourceId(GlobalClusterResourceIdT &&value)
bool DeletionProtectionHasBeenSet() const
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool StorageEncryptedHasBeenSet() const
const Aws::String & GetDatabaseName() const
GlobalCluster & WithDeletionProtection(bool value)
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
const Aws::String & GetGlobalClusterResourceId() const
bool GlobalClusterMembersHasBeenSet() const
const Aws::String & GetEngineVersion() const
GlobalCluster & WithGlobalClusterArn(GlobalClusterArnT &&value)
void SetEngineVersion(EngineVersionT &&value)
GlobalCluster & AddGlobalClusterMembers(GlobalClusterMembersT &&value)
GlobalCluster & WithEngineVersion(EngineVersionT &&value)
void SetDeletionProtection(bool value)
bool GlobalClusterResourceIdHasBeenSet() const
const Aws::String & GetStatus() 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