7#include <aws/rds/RDS_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/rds/model/WriteForwardingStatus.h>
12#include <aws/rds/model/GlobalClusterMemberSynchronizationStatus.h>
56 inline void SetDBClusterArn(
const char* value) { m_dBClusterArnHasBeenSet =
true; m_dBClusterArn.assign(value); }
85 inline void SetIsWriter(
bool value) { m_isWriterHasBeenSet =
true; m_isWriter = value; }
117 bool m_dBClusterArnHasBeenSet =
false;
120 bool m_readersHasBeenSet =
false;
123 bool m_isWriterHasBeenSet =
false;
126 bool m_globalWriteForwardingStatusHasBeenSet =
false;
129 bool m_synchronizationStatusHasBeenSet =
false;
AWS_RDS_API GlobalClusterMember(const Aws::Utils::Xml::XmlNode &xmlNode)
GlobalClusterMember & WithReaders(Aws::Vector< Aws::String > &&value)
void SetGlobalWriteForwardingStatus(const WriteForwardingStatus &value)
AWS_RDS_API GlobalClusterMember & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDBClusterArn(const Aws::String &value)
void SetDBClusterArn(Aws::String &&value)
GlobalClusterMember & WithDBClusterArn(Aws::String &&value)
GlobalClusterMember & WithDBClusterArn(const Aws::String &value)
void SetReaders(const Aws::Vector< Aws::String > &value)
void SetIsWriter(bool value)
GlobalClusterMember & WithIsWriter(bool value)
GlobalClusterMember & WithGlobalWriteForwardingStatus(const WriteForwardingStatus &value)
bool ReadersHasBeenSet() const
GlobalClusterMember & WithSynchronizationStatus(const GlobalClusterMemberSynchronizationStatus &value)
bool IsWriterHasBeenSet() const
const Aws::Vector< Aws::String > & GetReaders() const
GlobalClusterMember & WithGlobalWriteForwardingStatus(WriteForwardingStatus &&value)
GlobalClusterMember & AddReaders(const Aws::String &value)
void SetReaders(Aws::Vector< Aws::String > &&value)
const Aws::String & GetDBClusterArn() const
bool SynchronizationStatusHasBeenSet() const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const GlobalClusterMemberSynchronizationStatus & GetSynchronizationStatus() const
GlobalClusterMember & WithSynchronizationStatus(GlobalClusterMemberSynchronizationStatus &&value)
GlobalClusterMember & AddReaders(const char *value)
bool GlobalWriteForwardingStatusHasBeenSet() const
void SetGlobalWriteForwardingStatus(WriteForwardingStatus &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDBClusterArn(const char *value)
GlobalClusterMember & WithReaders(const Aws::Vector< Aws::String > &value)
const WriteForwardingStatus & GetGlobalWriteForwardingStatus() const
void SetSynchronizationStatus(const GlobalClusterMemberSynchronizationStatus &value)
void SetSynchronizationStatus(GlobalClusterMemberSynchronizationStatus &&value)
GlobalClusterMember & WithDBClusterArn(const char *value)
bool DBClusterArnHasBeenSet() const
GlobalClusterMember & AddReaders(Aws::String &&value)
AWS_RDS_API GlobalClusterMember()
GlobalClusterMemberSynchronizationStatus
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