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>
49 template<
typename DBInstanceIdentifierT = Aws::String>
50 void SetDBInstanceIdentifier(DBInstanceIdentifierT&& value) { m_dBInstanceIdentifierHasBeenSet =
true; m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value); }
51 template<
typename DBInstanceIdentifierT = Aws::String>
62 inline void SetIsClusterWriter(
bool value) { m_isClusterWriterHasBeenSet =
true; m_isClusterWriter = value; }
73 template<
typename DBClusterParameterGroupStatusT = Aws::String>
74 void SetDBClusterParameterGroupStatus(DBClusterParameterGroupStatusT&& value) { m_dBClusterParameterGroupStatusHasBeenSet =
true; m_dBClusterParameterGroupStatus = std::forward<DBClusterParameterGroupStatusT>(value); }
75 template<
typename DBClusterParameterGroupStatusT = Aws::String>
87 inline void SetPromotionTier(
int value) { m_promotionTierHasBeenSet =
true; m_promotionTier = value; }
93 bool m_dBInstanceIdentifierHasBeenSet =
false;
95 bool m_isClusterWriter{
false};
96 bool m_isClusterWriterHasBeenSet =
false;
99 bool m_dBClusterParameterGroupStatusHasBeenSet =
false;
101 int m_promotionTier{0};
102 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