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>
54 inline void SetGlobalClusterIdentifier(
const char* value) { m_globalClusterIdentifierHasBeenSet =
true; m_globalClusterIdentifier.assign(value); }
70 inline void SetGlobalClusterResourceId(
const char* value) { m_globalClusterResourceIdHasBeenSet =
true; m_globalClusterResourceId.assign(value); }
84 inline void SetGlobalClusterArn(
const char* value) { m_globalClusterArnHasBeenSet =
true; m_globalClusterArn.assign(value); }
98 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
112 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
126 inline void SetEngineVersion(
const char* value) { m_engineVersionHasBeenSet =
true; m_engineVersion.assign(value); }
140 inline void SetDatabaseName(
const char* value) { m_databaseNameHasBeenSet =
true; m_databaseName.assign(value); }
152 inline void SetStorageEncrypted(
bool value) { m_storageEncryptedHasBeenSet =
true; m_storageEncrypted = value; }
162 inline void SetDeletionProtection(
bool value) { m_deletionProtectionHasBeenSet =
true; m_deletionProtection = value; }
183 bool m_globalClusterIdentifierHasBeenSet =
false;
186 bool m_globalClusterResourceIdHasBeenSet =
false;
189 bool m_globalClusterArnHasBeenSet =
false;
192 bool m_statusHasBeenSet =
false;
195 bool m_engineHasBeenSet =
false;
198 bool m_engineVersionHasBeenSet =
false;
201 bool m_databaseNameHasBeenSet =
false;
203 bool m_storageEncrypted;
204 bool m_storageEncryptedHasBeenSet =
false;
206 bool m_deletionProtection;
207 bool m_deletionProtectionHasBeenSet =
false;
210 bool m_globalClusterMembersHasBeenSet =
false;
GlobalCluster & WithDatabaseName(const Aws::String &value)
void SetGlobalClusterArn(const Aws::String &value)
void SetGlobalClusterIdentifier(Aws::String &&value)
AWS_DOCDB_API GlobalCluster(const Aws::Utils::Xml::XmlNode &xmlNode)
GlobalCluster & WithGlobalClusterArn(Aws::String &&value)
GlobalCluster & WithDatabaseName(Aws::String &&value)
GlobalCluster & WithEngine(const char *value)
bool StatusHasBeenSet() const
void SetEngineVersion(const char *value)
GlobalCluster & WithEngine(const Aws::String &value)
bool GetStorageEncrypted() const
const Aws::String & GetGlobalClusterArn() const
bool DatabaseNameHasBeenSet() const
void SetStatus(Aws::String &&value)
GlobalCluster & WithGlobalClusterMembers(const Aws::Vector< GlobalClusterMember > &value)
void SetEngineVersion(const Aws::String &value)
void SetStatus(const char *value)
const Aws::String & GetGlobalClusterIdentifier() const
void SetEngine(Aws::String &&value)
GlobalCluster & WithEngine(Aws::String &&value)
AWS_DOCDB_API GlobalCluster()
void SetDatabaseName(Aws::String &&value)
GlobalCluster & WithStatus(const char *value)
bool GlobalClusterArnHasBeenSet() const
const Aws::Vector< GlobalClusterMember > & GetGlobalClusterMembers() const
void SetGlobalClusterIdentifier(const char *value)
GlobalCluster & WithGlobalClusterArn(const Aws::String &value)
GlobalCluster & WithGlobalClusterMembers(Aws::Vector< GlobalClusterMember > &&value)
GlobalCluster & WithStorageEncrypted(bool value)
void SetEngineVersion(Aws::String &&value)
GlobalCluster & AddGlobalClusterMembers(const GlobalClusterMember &value)
void SetGlobalClusterResourceId(Aws::String &&value)
GlobalCluster & WithStatus(const Aws::String &value)
bool EngineHasBeenSet() const
GlobalCluster & WithGlobalClusterResourceId(const Aws::String &value)
void SetGlobalClusterArn(const char *value)
void SetStorageEncrypted(bool value)
GlobalCluster & WithGlobalClusterResourceId(const char *value)
AWS_DOCDB_API GlobalCluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool GetDeletionProtection() const
const Aws::String & GetEngine() const
GlobalCluster & WithEngineVersion(Aws::String &&value)
void SetGlobalClusterArn(Aws::String &&value)
void SetDatabaseName(const char *value)
void SetGlobalClusterResourceId(const Aws::String &value)
void SetDatabaseName(const Aws::String &value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStatus(const Aws::String &value)
bool GlobalClusterIdentifierHasBeenSet() const
GlobalCluster & WithGlobalClusterIdentifier(const char *value)
bool EngineVersionHasBeenSet() const
void SetEngine(const Aws::String &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)
const Aws::String & GetGlobalClusterResourceId() const
GlobalCluster & AddGlobalClusterMembers(GlobalClusterMember &&value)
bool GlobalClusterMembersHasBeenSet() const
GlobalCluster & WithGlobalClusterIdentifier(const Aws::String &value)
GlobalCluster & WithGlobalClusterArn(const char *value)
void SetEngine(const char *value)
const Aws::String & GetEngineVersion() const
GlobalCluster & WithGlobalClusterIdentifier(Aws::String &&value)
GlobalCluster & WithDatabaseName(const char *value)
void SetGlobalClusterResourceId(const char *value)
void SetGlobalClusterMembers(Aws::Vector< GlobalClusterMember > &&value)
void SetDeletionProtection(bool value)
bool GlobalClusterResourceIdHasBeenSet() const
GlobalCluster & WithGlobalClusterResourceId(Aws::String &&value)
GlobalCluster & WithEngineVersion(const char *value)
void SetGlobalClusterIdentifier(const Aws::String &value)
void SetGlobalClusterMembers(const Aws::Vector< GlobalClusterMember > &value)
GlobalCluster & WithEngineVersion(const Aws::String &value)
const Aws::String & GetStatus() const
GlobalCluster & WithStatus(Aws::String &&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