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/ResponseMetadata.h>
12#include <aws/rds/model/Tag.h>
53 template<
typename DBShardGroupResourceIdT = Aws::String>
54 void SetDBShardGroupResourceId(DBShardGroupResourceIdT&& value) { m_dBShardGroupResourceIdHasBeenSet =
true; m_dBShardGroupResourceId = std::forward<DBShardGroupResourceIdT>(value); }
55 template<
typename DBShardGroupResourceIdT = Aws::String>
65 template<
typename DBShardGroupIdentifierT = Aws::String>
66 void SetDBShardGroupIdentifier(DBShardGroupIdentifierT&& value) { m_dBShardGroupIdentifierHasBeenSet =
true; m_dBShardGroupIdentifier = std::forward<DBShardGroupIdentifierT>(value); }
67 template<
typename DBShardGroupIdentifierT = Aws::String>
77 template<
typename DBClusterIdentifierT = Aws::String>
78 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet =
true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
79 template<
typename DBClusterIdentifierT = Aws::String>
88 inline double GetMaxACU()
const {
return m_maxACU; }
90 inline void SetMaxACU(
double value) { m_maxACUHasBeenSet =
true; m_maxACU = value; }
99 inline double GetMinACU()
const {
return m_minACU; }
101 inline void SetMinACU(
double value) { m_minACUHasBeenSet =
true; m_minACU = value; }
116 inline void SetComputeRedundancy(
int value) { m_computeRedundancyHasBeenSet =
true; m_computeRedundancy = value; }
126 template<
typename StatusT = Aws::String>
127 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
128 template<
typename StatusT = Aws::String>
148 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
158 template<
typename Endpo
intT = Aws::String>
159 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet =
true; m_endpoint = std::forward<EndpointT>(value); }
160 template<
typename Endpo
intT = Aws::String>
170 template<
typename DBShardGroupArnT = Aws::String>
171 void SetDBShardGroupArn(DBShardGroupArnT&& value) { m_dBShardGroupArnHasBeenSet =
true; m_dBShardGroupArn = std::forward<DBShardGroupArnT>(value); }
172 template<
typename DBShardGroupArnT = Aws::String>
180 template<
typename TagListT = Aws::Vector<Tag>>
181 void SetTagList(TagListT&& value) { m_tagListHasBeenSet =
true; m_tagList = std::forward<TagListT>(value); }
182 template<
typename TagListT = Aws::Vector<Tag>>
184 template<
typename TagListT = Tag>
185 DBShardGroup&
AddTagList(TagListT&& value) { m_tagListHasBeenSet =
true; m_tagList.emplace_back(std::forward<TagListT>(value));
return *
this; }
191 template<
typename ResponseMetadataT = ResponseMetadata>
192 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
193 template<
typename ResponseMetadataT = ResponseMetadata>
199 bool m_dBShardGroupResourceIdHasBeenSet =
false;
202 bool m_dBShardGroupIdentifierHasBeenSet =
false;
205 bool m_dBClusterIdentifierHasBeenSet =
false;
207 double m_maxACU{0.0};
208 bool m_maxACUHasBeenSet =
false;
210 double m_minACU{0.0};
211 bool m_minACUHasBeenSet =
false;
213 int m_computeRedundancy{0};
214 bool m_computeRedundancyHasBeenSet =
false;
217 bool m_statusHasBeenSet =
false;
219 bool m_publiclyAccessible{
false};
220 bool m_publiclyAccessibleHasBeenSet =
false;
223 bool m_endpointHasBeenSet =
false;
226 bool m_dBShardGroupArnHasBeenSet =
false;
229 bool m_tagListHasBeenSet =
false;
231 ResponseMetadata m_responseMetadata;
232 bool m_responseMetadataHasBeenSet =
true;
void SetDBShardGroupIdentifier(DBShardGroupIdentifierT &&value)
DBShardGroup & WithMaxACU(double value)
void SetEndpoint(EndpointT &&value)
bool DBShardGroupResourceIdHasBeenSet() const
bool GetPubliclyAccessible() const
AWS_RDS_API DBShardGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool DBShardGroupArnHasBeenSet() const
bool PubliclyAccessibleHasBeenSet() const
DBShardGroup & WithResponseMetadata(ResponseMetadataT &&value)
DBShardGroup & WithDBShardGroupArn(DBShardGroupArnT &&value)
const Aws::String & GetDBShardGroupIdentifier() const
bool ComputeRedundancyHasBeenSet() const
DBShardGroup & WithDBShardGroupIdentifier(DBShardGroupIdentifierT &&value)
DBShardGroup & WithPubliclyAccessible(bool value)
AWS_RDS_API DBShardGroup()=default
DBShardGroup & WithMinACU(double value)
bool DBShardGroupIdentifierHasBeenSet() const
void SetResponseMetadata(ResponseMetadataT &&value)
bool EndpointHasBeenSet() const
const ResponseMetadata & GetResponseMetadata() const
void SetPubliclyAccessible(bool value)
void SetStatus(StatusT &&value)
void SetMaxACU(double value)
const Aws::String & GetEndpoint() const
DBShardGroup & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
DBShardGroup & WithComputeRedundancy(int value)
DBShardGroup & AddTagList(TagListT &&value)
void SetDBShardGroupArn(DBShardGroupArnT &&value)
void SetTagList(TagListT &&value)
DBShardGroup & WithEndpoint(EndpointT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetDBClusterIdentifier() const
DBShardGroup & WithStatus(StatusT &&value)
bool DBClusterIdentifierHasBeenSet() const
const Aws::String & GetDBShardGroupArn() const
DBShardGroup & WithDBShardGroupResourceId(DBShardGroupResourceIdT &&value)
DBShardGroup & WithTagList(TagListT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool StatusHasBeenSet() const
void SetDBShardGroupResourceId(DBShardGroupResourceIdT &&value)
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
const Aws::String & GetStatus() const
const Aws::Vector< Tag > & GetTagList() const
AWS_RDS_API DBShardGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
bool MinACUHasBeenSet() const
bool MaxACUHasBeenSet() const
void SetMinACU(double value)
int GetComputeRedundancy() const
void SetComputeRedundancy(int value)
const Aws::String & GetDBShardGroupResourceId() const
bool TagListHasBeenSet() const
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