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/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>
70 template <
typename GlobalClusterResourceIdT = Aws::String>
72 m_globalClusterResourceIdHasBeenSet =
true;
73 m_globalClusterResourceId = std::forward<GlobalClusterResourceIdT>(value);
75 template <
typename GlobalClusterResourceIdT = Aws::String>
88 template <
typename GlobalClusterArnT = Aws::String>
90 m_globalClusterArnHasBeenSet =
true;
91 m_globalClusterArn = std::forward<GlobalClusterArnT>(value);
93 template <
typename GlobalClusterArnT = Aws::String>
106 template <
typename StatusT = Aws::String>
108 m_statusHasBeenSet =
true;
109 m_status = std::forward<StatusT>(value);
111 template <
typename StatusT = Aws::String>
124 template <
typename EngineT = Aws::String>
126 m_engineHasBeenSet =
true;
127 m_engine = std::forward<EngineT>(value);
129 template <
typename EngineT = Aws::String>
142 template <
typename EngineVersionT = Aws::String>
144 m_engineVersionHasBeenSet =
true;
145 m_engineVersion = std::forward<EngineVersionT>(value);
147 template <
typename EngineVersionT = Aws::String>
161 template <
typename EngineLifecycleSupportT = Aws::String>
163 m_engineLifecycleSupportHasBeenSet =
true;
164 m_engineLifecycleSupport = std::forward<EngineLifecycleSupportT>(value);
166 template <
typename EngineLifecycleSupportT = Aws::String>
179 template <
typename DatabaseNameT = Aws::String>
181 m_databaseNameHasBeenSet =
true;
182 m_databaseName = std::forward<DatabaseNameT>(value);
184 template <
typename DatabaseNameT = Aws::String>
198 m_storageEncryptedHasBeenSet =
true;
199 m_storageEncrypted = value;
214 m_deletionProtectionHasBeenSet =
true;
215 m_deletionProtection = value;
230 template <
typename GlobalClusterMembersT = Aws::Vector<GlobalClusterMember>>
232 m_globalClusterMembersHasBeenSet =
true;
233 m_globalClusterMembers = std::forward<GlobalClusterMembersT>(value);
235 template <
typename GlobalClusterMembersT = Aws::Vector<GlobalClusterMember>>
240 template <
typename GlobalClusterMembersT = GlobalClusterMember>
242 m_globalClusterMembersHasBeenSet =
true;
243 m_globalClusterMembers.emplace_back(std::forward<GlobalClusterMembersT>(value));
255 template <
typename Endpo
intT = Aws::String>
257 m_endpointHasBeenSet =
true;
258 m_endpoint = std::forward<EndpointT>(value);
260 template <
typename Endpo
intT = Aws::String>
277 template <
typename FailoverStateT = FailoverState>
279 m_failoverStateHasBeenSet =
true;
280 m_failoverState = std::forward<FailoverStateT>(value);
282 template <
typename FailoverStateT = FailoverState>
293 template <
typename TagListT = Aws::Vector<Tag>>
295 m_tagListHasBeenSet =
true;
296 m_tagList = std::forward<TagListT>(value);
298 template <
typename TagListT = Aws::Vector<Tag>>
303 template <
typename TagListT = Tag>
305 m_tagListHasBeenSet =
true;
306 m_tagList.emplace_back(std::forward<TagListT>(value));
327 bool m_storageEncrypted{
false};
329 bool m_deletionProtection{
false};
335 FailoverState m_failoverState;
338 bool m_globalClusterIdentifierHasBeenSet =
false;
339 bool m_globalClusterResourceIdHasBeenSet =
false;
340 bool m_globalClusterArnHasBeenSet =
false;
341 bool m_statusHasBeenSet =
false;
342 bool m_engineHasBeenSet =
false;
343 bool m_engineVersionHasBeenSet =
false;
344 bool m_engineLifecycleSupportHasBeenSet =
false;
345 bool m_databaseNameHasBeenSet =
false;
346 bool m_storageEncryptedHasBeenSet =
false;
347 bool m_deletionProtectionHasBeenSet =
false;
348 bool m_globalClusterMembersHasBeenSet =
false;
349 bool m_endpointHasBeenSet =
false;
350 bool m_failoverStateHasBeenSet =
false;
351 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 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
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
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)
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