7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/docdb/DocDB_EXPORTS.h>
43 template <
typename DBInstanceIdentifierT = Aws::String>
45 m_dBInstanceIdentifierHasBeenSet =
true;
46 m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value);
48 template <
typename DBInstanceIdentifierT = Aws::String>
63 m_isClusterWriterHasBeenSet =
true;
64 m_isClusterWriter = value;
79 template <
typename DBClusterParameterGroupStatusT = Aws::String>
81 m_dBClusterParameterGroupStatusHasBeenSet =
true;
82 m_dBClusterParameterGroupStatus = std::forward<DBClusterParameterGroupStatusT>(value);
84 template <
typename DBClusterParameterGroupStatusT = Aws::String>
100 m_promotionTierHasBeenSet =
true;
101 m_promotionTier = value;
111 bool m_isClusterWriter{
false};
115 int m_promotionTier{0};
116 bool m_dBInstanceIdentifierHasBeenSet =
false;
117 bool m_isClusterWriterHasBeenSet =
false;
118 bool m_dBClusterParameterGroupStatusHasBeenSet =
false;
119 bool m_promotionTierHasBeenSet =
false;
DBClusterMember & WithIsClusterWriter(bool value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBClusterMember & WithPromotionTier(int value)
bool PromotionTierHasBeenSet() const
int GetPromotionTier() const
bool IsClusterWriterHasBeenSet() const
const Aws::String & GetDBInstanceIdentifier() const
void SetDBClusterParameterGroupStatus(DBClusterParameterGroupStatusT &&value)
DBClusterMember & WithDBClusterParameterGroupStatus(DBClusterParameterGroupStatusT &&value)
void SetIsClusterWriter(bool value)
bool GetIsClusterWriter() const
void SetPromotionTier(int value)
bool DBInstanceIdentifierHasBeenSet() const
AWS_DOCDB_API DBClusterMember & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterMember & WithDBInstanceIdentifier(DBInstanceIdentifierT &&value)
bool DBClusterParameterGroupStatusHasBeenSet() const
AWS_DOCDB_API DBClusterMember()=default
AWS_DOCDB_API DBClusterMember(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDBInstanceIdentifier(DBInstanceIdentifierT &&value)
const Aws::String & GetDBClusterParameterGroupStatus() const
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream