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/docdb/DocDB_EXPORTS.h>
11#include <aws/docdb/model/FailoverState.h>
12#include <aws/docdb/model/GlobalClusterMember.h>
13#include <aws/docdb/model/Tag.h>
48 template <
typename GlobalClusterIdentifierT = Aws::String>
50 m_globalClusterIdentifierHasBeenSet =
true;
51 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
53 template <
typename GlobalClusterIdentifierT = Aws::String>
68 template <
typename GlobalClusterResourceIdT = Aws::String>
70 m_globalClusterResourceIdHasBeenSet =
true;
71 m_globalClusterResourceId = std::forward<GlobalClusterResourceIdT>(value);
73 template <
typename GlobalClusterResourceIdT = Aws::String>
86 template <
typename GlobalClusterArnT = Aws::String>
88 m_globalClusterArnHasBeenSet =
true;
89 m_globalClusterArn = std::forward<GlobalClusterArnT>(value);
91 template <
typename GlobalClusterArnT = Aws::String>
104 template <
typename StatusT = Aws::String>
106 m_statusHasBeenSet =
true;
107 m_status = std::forward<StatusT>(value);
109 template <
typename StatusT = Aws::String>
122 template <
typename EngineT = Aws::String>
124 m_engineHasBeenSet =
true;
125 m_engine = std::forward<EngineT>(value);
127 template <
typename EngineT = Aws::String>
140 template <
typename EngineVersionT = Aws::String>
142 m_engineVersionHasBeenSet =
true;
143 m_engineVersion = std::forward<EngineVersionT>(value);
145 template <
typename EngineVersionT = Aws::String>
158 template <
typename DatabaseNameT = Aws::String>
160 m_databaseNameHasBeenSet =
true;
161 m_databaseName = std::forward<DatabaseNameT>(value);
163 template <
typename DatabaseNameT = Aws::String>
177 m_storageEncryptedHasBeenSet =
true;
178 m_storageEncrypted = value;
193 m_deletionProtectionHasBeenSet =
true;
194 m_deletionProtection = value;
209 template <
typename GlobalClusterMembersT = Aws::Vector<GlobalClusterMember>>
211 m_globalClusterMembersHasBeenSet =
true;
212 m_globalClusterMembers = std::forward<GlobalClusterMembersT>(value);
214 template <
typename GlobalClusterMembersT = Aws::Vector<GlobalClusterMember>>
219 template <
typename GlobalClusterMembersT = GlobalClusterMember>
221 m_globalClusterMembersHasBeenSet =
true;
222 m_globalClusterMembers.emplace_back(std::forward<GlobalClusterMembersT>(value));
237 template <
typename FailoverStateT = FailoverState>
239 m_failoverStateHasBeenSet =
true;
240 m_failoverState = std::forward<FailoverStateT>(value);
242 template <
typename FailoverStateT = FailoverState>
255 template <
typename TagListT = Aws::Vector<Tag>>
257 m_tagListHasBeenSet =
true;
258 m_tagList = std::forward<TagListT>(value);
260 template <
typename TagListT = Aws::Vector<Tag>>
265 template <
typename TagListT = Tag>
267 m_tagListHasBeenSet =
true;
268 m_tagList.emplace_back(std::forward<TagListT>(value));
287 bool m_storageEncrypted{
false};
289 bool m_deletionProtection{
false};
293 FailoverState m_failoverState;
296 bool m_globalClusterIdentifierHasBeenSet =
false;
297 bool m_globalClusterResourceIdHasBeenSet =
false;
298 bool m_globalClusterArnHasBeenSet =
false;
299 bool m_statusHasBeenSet =
false;
300 bool m_engineHasBeenSet =
false;
301 bool m_engineVersionHasBeenSet =
false;
302 bool m_databaseNameHasBeenSet =
false;
303 bool m_storageEncryptedHasBeenSet =
false;
304 bool m_deletionProtectionHasBeenSet =
false;
305 bool m_globalClusterMembersHasBeenSet =
false;
306 bool m_failoverStateHasBeenSet =
false;
307 bool m_tagListHasBeenSet =
false;
void SetDatabaseName(DatabaseNameT &&value)
GlobalCluster & WithFailoverState(FailoverStateT &&value)
void SetGlobalClusterMembers(GlobalClusterMembersT &&value)
AWS_DOCDB_API GlobalCluster(const Aws::Utils::Xml::XmlNode &xmlNode)
GlobalCluster & WithEngine(EngineT &&value)
void SetTagList(TagListT &&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)
const FailoverState & GetFailoverState() const
AWS_DOCDB_API GlobalCluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetFailoverState(FailoverStateT &&value)
GlobalCluster & WithDatabaseName(DatabaseNameT &&value)
bool GetDeletionProtection() const
GlobalCluster & WithGlobalClusterMembers(GlobalClusterMembersT &&value)
const Aws::String & GetEngine() const
const Aws::Vector< Tag > & GetTagList() const
AWS_DOCDB_API GlobalCluster()=default
bool FailoverStateHasBeenSet() const
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
GlobalCluster & WithTagList(TagListT &&value)
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
GlobalCluster & AddTagList(TagListT &&value)
const Aws::String & GetDatabaseName() const
GlobalCluster & WithDeletionProtection(bool value)
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
const Aws::String & GetGlobalClusterResourceId() const
bool GlobalClusterMembersHasBeenSet() const
bool TagListHasBeenSet() 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