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/GlobalClusterMemberSynchronizationStatus.h>
46 template <
typename DBClusterArnT = Aws::String>
48 m_dBClusterArnHasBeenSet =
true;
49 m_dBClusterArn = std::forward<DBClusterArnT>(value);
51 template <
typename DBClusterArnT = Aws::String>
65 template <
typename ReadersT = Aws::Vector<Aws::String>>
67 m_readersHasBeenSet =
true;
68 m_readers = std::forward<ReadersT>(value);
70 template <
typename ReadersT = Aws::Vector<Aws::String>>
75 template <
typename ReadersT = Aws::String>
77 m_readersHasBeenSet =
true;
78 m_readers.emplace_back(std::forward<ReadersT>(value));
92 m_isWriterHasBeenSet =
true;
109 m_synchronizationStatusHasBeenSet =
true;
110 m_synchronizationStatus = value;
122 bool m_isWriter{
false};
125 bool m_dBClusterArnHasBeenSet =
false;
126 bool m_readersHasBeenSet =
false;
127 bool m_isWriterHasBeenSet =
false;
128 bool m_synchronizationStatusHasBeenSet =
false;
GlobalClusterMember & WithSynchronizationStatus(GlobalClusterMemberSynchronizationStatus value)
bool ReadersHasBeenSet() const
GlobalClusterMember & WithReaders(ReadersT &&value)
AWS_DOCDB_API GlobalClusterMember & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
GlobalClusterMember & AddReaders(ReadersT &&value)
bool SynchronizationStatusHasBeenSet() const
GlobalClusterMember & WithIsWriter(bool value)
void SetReaders(ReadersT &&value)
bool DBClusterArnHasBeenSet() const
void SetIsWriter(bool value)
const Aws::String & GetDBClusterArn() const
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDBClusterArn(DBClusterArnT &&value)
const Aws::Vector< Aws::String > & GetReaders() const
bool IsWriterHasBeenSet() const
void SetSynchronizationStatus(GlobalClusterMemberSynchronizationStatus value)
AWS_DOCDB_API GlobalClusterMember(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_DOCDB_API GlobalClusterMember()=default
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
GlobalClusterMemberSynchronizationStatus GetSynchronizationStatus() const
GlobalClusterMember & WithDBClusterArn(DBClusterArnT &&value)
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