7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/Tag.h>
47 template<
typename DBShardGroupIdentifierT = Aws::String>
48 void SetDBShardGroupIdentifier(DBShardGroupIdentifierT&& value) { m_dBShardGroupIdentifierHasBeenSet =
true; m_dBShardGroupIdentifier = std::forward<DBShardGroupIdentifierT>(value); }
49 template<
typename DBShardGroupIdentifierT = Aws::String>
59 template<
typename DBClusterIdentifierT = Aws::String>
60 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet =
true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
61 template<
typename DBClusterIdentifierT = Aws::String>
77 inline void SetComputeRedundancy(
int value) { m_computeRedundancyHasBeenSet =
true; m_computeRedundancy = value; }
86 inline double GetMaxACU()
const {
return m_maxACU; }
88 inline void SetMaxACU(
double value) { m_maxACUHasBeenSet =
true; m_maxACU = value; }
97 inline double GetMinACU()
const {
return m_minACU; }
99 inline void SetMinACU(
double value) { m_minACUHasBeenSet =
true; m_minACU = value; }
129 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
137 template<
typename TagsT = Aws::Vector<Tag>>
138 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
139 template<
typename TagsT = Aws::Vector<Tag>>
141 template<
typename TagsT = Tag>
147 bool m_dBShardGroupIdentifierHasBeenSet =
false;
150 bool m_dBClusterIdentifierHasBeenSet =
false;
152 int m_computeRedundancy{0};
153 bool m_computeRedundancyHasBeenSet =
false;
155 double m_maxACU{0.0};
156 bool m_maxACUHasBeenSet =
false;
158 double m_minACU{0.0};
159 bool m_minACUHasBeenSet =
false;
161 bool m_publiclyAccessible{
false};
162 bool m_publiclyAccessibleHasBeenSet =
false;
165 bool m_tagsHasBeenSet =
false;
bool MinACUHasBeenSet() const
CreateDBShardGroupRequest & WithTags(TagsT &&value)
CreateDBShardGroupRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
CreateDBShardGroupRequest & WithMinACU(double value)
CreateDBShardGroupRequest & AddTags(TagsT &&value)
bool PubliclyAccessibleHasBeenSet() const
void SetMinACU(double value)
bool DBShardGroupIdentifierHasBeenSet() const
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
CreateDBShardGroupRequest & WithPubliclyAccessible(bool value)
const Aws::Vector< Tag > & GetTags() const
void SetPubliclyAccessible(bool value)
bool GetPubliclyAccessible() const
CreateDBShardGroupRequest & WithComputeRedundancy(int value)
void SetComputeRedundancy(int value)
void SetTags(TagsT &&value)
const Aws::String & GetDBShardGroupIdentifier() const
bool MaxACUHasBeenSet() const
AWS_RDS_API CreateDBShardGroupRequest()=default
CreateDBShardGroupRequest & WithMaxACU(double value)
bool ComputeRedundancyHasBeenSet() const
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetDBClusterIdentifier() const
void SetDBShardGroupIdentifier(DBShardGroupIdentifierT &&value)
AWS_RDS_API Aws::String SerializePayload() const override
bool TagsHasBeenSet() const
bool DBClusterIdentifierHasBeenSet() const
CreateDBShardGroupRequest & WithDBShardGroupIdentifier(DBShardGroupIdentifierT &&value)
void SetMaxACU(double value)
int GetComputeRedundancy() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector