7#include <aws/docdb/DocDB_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>
53 inline void SetDBClusterArn(
const char* value) { m_dBClusterArnHasBeenSet =
true; m_dBClusterArn.assign(value); }
83 inline void SetIsWriter(
bool value) { m_isWriterHasBeenSet =
true; m_isWriter = value; }
89 bool m_dBClusterArnHasBeenSet =
false;
92 bool m_readersHasBeenSet =
false;
95 bool m_isWriterHasBeenSet =
false;
void SetDBClusterArn(const char *value)
bool ReadersHasBeenSet() const
GlobalClusterMember & WithDBClusterArn(Aws::String &&value)
void SetDBClusterArn(Aws::String &&value)
AWS_DOCDB_API GlobalClusterMember & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
GlobalClusterMember & WithReaders(const Aws::Vector< Aws::String > &value)
GlobalClusterMember & AddReaders(const Aws::String &value)
void SetDBClusterArn(const Aws::String &value)
GlobalClusterMember & WithIsWriter(bool value)
GlobalClusterMember & AddReaders(const char *value)
void SetReaders(const Aws::Vector< Aws::String > &value)
bool DBClusterArnHasBeenSet() const
GlobalClusterMember & AddReaders(Aws::String &&value)
void SetIsWriter(bool value)
AWS_DOCDB_API GlobalClusterMember()
GlobalClusterMember & WithDBClusterArn(const Aws::String &value)
const Aws::String & GetDBClusterArn() const
GlobalClusterMember & WithDBClusterArn(const char *value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Vector< Aws::String > & GetReaders() const
bool IsWriterHasBeenSet() const
void SetReaders(Aws::Vector< Aws::String > &&value)
AWS_DOCDB_API GlobalClusterMember(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
GlobalClusterMember & WithReaders(Aws::Vector< Aws::String > &&value)
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