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/rds/RDS_EXPORTS.h>
11#include <aws/rds/model/FailoverState.h>
12#include <aws/rds/model/GlobalClusterMember.h>
13#include <aws/rds/model/StorageEncryptionType.h>
14#include <aws/rds/model/Tag.h>
49 template <
typename GlobalClusterIdentifierT = Aws::String>
51 m_globalClusterIdentifierHasBeenSet =
true;
52 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
54 template <
typename GlobalClusterIdentifierT = Aws::String>
71 template <
typename GlobalClusterResourceIdT = Aws::String>
73 m_globalClusterResourceIdHasBeenSet =
true;
74 m_globalClusterResourceId = std::forward<GlobalClusterResourceIdT>(value);
76 template <
typename GlobalClusterResourceIdT = Aws::String>
89 template <
typename GlobalClusterArnT = Aws::String>
91 m_globalClusterArnHasBeenSet =
true;
92 m_globalClusterArn = std::forward<GlobalClusterArnT>(value);
94 template <
typename GlobalClusterArnT = Aws::String>
107 template <
typename StatusT = Aws::String>
109 m_statusHasBeenSet =
true;
110 m_status = std::forward<StatusT>(value);
112 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 template <
typename EngineLifecycleSupportT = Aws::String>
164 m_engineLifecycleSupportHasBeenSet =
true;
165 m_engineLifecycleSupport = std::forward<EngineLifecycleSupportT>(value);
167 template <
typename EngineLifecycleSupportT = Aws::String>
180 template <
typename DatabaseNameT = Aws::String>
182 m_databaseNameHasBeenSet =
true;
183 m_databaseName = std::forward<DatabaseNameT>(value);
185 template <
typename DatabaseNameT = Aws::String>
199 m_storageEncryptedHasBeenSet =
true;
200 m_storageEncrypted = value;
221 m_storageEncryptionTypeHasBeenSet =
true;
222 m_storageEncryptionType = value;
237 m_deletionProtectionHasBeenSet =
true;
238 m_deletionProtection = value;
253 template <
typename GlobalClusterMembersT = Aws::Vector<GlobalClusterMember>>
255 m_globalClusterMembersHasBeenSet =
true;
256 m_globalClusterMembers = std::forward<GlobalClusterMembersT>(value);
258 template <
typename GlobalClusterMembersT = Aws::Vector<GlobalClusterMember>>
263 template <
typename GlobalClusterMembersT = GlobalClusterMember>
265 m_globalClusterMembersHasBeenSet =
true;
266 m_globalClusterMembers.emplace_back(std::forward<GlobalClusterMembersT>(value));
278 template <
typename Endpo
intT = Aws::String>
280 m_endpointHasBeenSet =
true;
281 m_endpoint = std::forward<EndpointT>(value);
283 template <
typename Endpo
intT = Aws::String>
300 template <
typename FailoverStateT = FailoverState>
302 m_failoverStateHasBeenSet =
true;
303 m_failoverState = std::forward<FailoverStateT>(value);
305 template <
typename FailoverStateT = FailoverState>
316 template <
typename TagListT = Aws::Vector<Tag>>
318 m_tagListHasBeenSet =
true;
319 m_tagList = std::forward<TagListT>(value);
321 template <
typename TagListT = Aws::Vector<Tag>>
326 template <
typename TagListT = Tag>
328 m_tagListHasBeenSet =
true;
329 m_tagList.emplace_back(std::forward<TagListT>(value));
350 bool m_storageEncrypted{
false};
354 bool m_deletionProtection{
false};
360 FailoverState m_failoverState;
363 bool m_globalClusterIdentifierHasBeenSet =
false;
364 bool m_globalClusterResourceIdHasBeenSet =
false;
365 bool m_globalClusterArnHasBeenSet =
false;
366 bool m_statusHasBeenSet =
false;
367 bool m_engineHasBeenSet =
false;
368 bool m_engineVersionHasBeenSet =
false;
369 bool m_engineLifecycleSupportHasBeenSet =
false;
370 bool m_databaseNameHasBeenSet =
false;
371 bool m_storageEncryptedHasBeenSet =
false;
372 bool m_storageEncryptionTypeHasBeenSet =
false;
373 bool m_deletionProtectionHasBeenSet =
false;
374 bool m_globalClusterMembersHasBeenSet =
false;
375 bool m_endpointHasBeenSet =
false;
376 bool m_failoverStateHasBeenSet =
false;
377 bool m_tagListHasBeenSet =
false;
void SetEngineLifecycleSupport(EngineLifecycleSupportT &&value)
bool DeletionProtectionHasBeenSet() const
void SetDeletionProtection(bool value)
const Aws::String & GetDatabaseName() const
GlobalCluster & WithStatus(StatusT &&value)
bool DatabaseNameHasBeenSet() const
bool GetDeletionProtection() const
const Aws::String & GetGlobalClusterArn() const
bool StorageEncryptionTypeHasBeenSet() const
bool StorageEncryptedHasBeenSet() const
GlobalCluster & WithDatabaseName(DatabaseNameT &&value)
void SetFailoverState(FailoverStateT &&value)
void SetGlobalClusterArn(GlobalClusterArnT &&value)
const Aws::String & GetEngineLifecycleSupport() const
AWS_RDS_API GlobalCluster(const Aws::Utils::Xml::XmlNode &xmlNode)
bool StatusHasBeenSet() const
bool TagListHasBeenSet() const
bool EndpointHasBeenSet() const
const Aws::String & GetStatus() const
const Aws::String & GetGlobalClusterIdentifier() const
void SetStorageEncryptionType(StorageEncryptionType value)
const Aws::Vector< Tag > & GetTagList() const
void SetGlobalClusterResourceId(GlobalClusterResourceIdT &&value)
void SetTagList(TagListT &&value)
void SetStorageEncrypted(bool value)
void SetEngine(EngineT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
const Aws::String & GetGlobalClusterResourceId() const
const Aws::String & GetEndpoint() const
bool FailoverStateHasBeenSet() const
AWS_RDS_API GlobalCluster()=default
bool GetStorageEncrypted() const
GlobalCluster & WithStorageEncryptionType(StorageEncryptionType value)
void SetGlobalClusterMembers(GlobalClusterMembersT &&value)
GlobalCluster & AddGlobalClusterMembers(GlobalClusterMembersT &&value)
const Aws::Vector< GlobalClusterMember > & GetGlobalClusterMembers() const
bool EngineHasBeenSet() const
GlobalCluster & WithDeletionProtection(bool value)
GlobalCluster & WithTagList(TagListT &&value)
StorageEncryptionType GetStorageEncryptionType() const
void SetEngineVersion(EngineVersionT &&value)
GlobalCluster & WithFailoverState(FailoverStateT &&value)
AWS_RDS_API GlobalCluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetEngineVersion() const
bool EngineVersionHasBeenSet() const
GlobalCluster & WithEngineVersion(EngineVersionT &&value)
bool GlobalClusterArnHasBeenSet() const
void SetStatus(StatusT &&value)
GlobalCluster & WithGlobalClusterArn(GlobalClusterArnT &&value)
GlobalCluster & WithGlobalClusterMembers(GlobalClusterMembersT &&value)
bool GlobalClusterResourceIdHasBeenSet() const
GlobalCluster & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
GlobalCluster & WithEndpoint(EndpointT &&value)
GlobalCluster & WithEngineLifecycleSupport(EngineLifecycleSupportT &&value)
const Aws::String & GetEngine() const
GlobalCluster & WithGlobalClusterResourceId(GlobalClusterResourceIdT &&value)
bool GlobalClusterIdentifierHasBeenSet() const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetEndpoint(EndpointT &&value)
void SetDatabaseName(DatabaseNameT &&value)
GlobalCluster & AddTagList(TagListT &&value)
bool EngineLifecycleSupportHasBeenSet() const
GlobalCluster & WithStorageEncrypted(bool value)
GlobalCluster & WithEngine(EngineT &&value)
bool GlobalClusterMembersHasBeenSet() const
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