7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift/model/UsageLimitFeatureType.h>
11#include <aws/redshift/model/UsageLimitLimitType.h>
12#include <aws/redshift/model/UsageLimitPeriod.h>
13#include <aws/redshift/model/UsageLimitBreachAction.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/redshift/model/Tag.h>
53 inline void SetClusterIdentifier(
const char* value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier.assign(value); }
94 inline long long GetAmount()
const{
return m_amount; }
96 inline void SetAmount(
long long value) { m_amountHasBeenSet =
true; m_amount = value; }
142 bool m_clusterIdentifierHasBeenSet =
false;
145 bool m_featureTypeHasBeenSet =
false;
148 bool m_limitTypeHasBeenSet =
false;
151 bool m_amountHasBeenSet =
false;
154 bool m_periodHasBeenSet =
false;
157 bool m_breachActionHasBeenSet =
false;
160 bool m_tagsHasBeenSet =
false;
bool AmountHasBeenSet() const
CreateUsageLimitRequest & AddTags(Tag &&value)
CreateUsageLimitRequest & WithPeriod(UsageLimitPeriod &&value)
void SetLimitType(UsageLimitLimitType &&value)
CreateUsageLimitRequest & WithLimitType(const UsageLimitLimitType &value)
const Aws::String & GetClusterIdentifier() const
const UsageLimitPeriod & GetPeriod() const
const Aws::Vector< Tag > & GetTags() const
const UsageLimitLimitType & GetLimitType() const
void SetClusterIdentifier(const Aws::String &value)
void SetLimitType(const UsageLimitLimitType &value)
void SetPeriod(UsageLimitPeriod &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const UsageLimitBreachAction & GetBreachAction() const
CreateUsageLimitRequest & WithLimitType(UsageLimitLimitType &&value)
CreateUsageLimitRequest & WithBreachAction(const UsageLimitBreachAction &value)
bool FeatureTypeHasBeenSet() const
CreateUsageLimitRequest & WithTags(const Aws::Vector< Tag > &value)
void SetTags(Aws::Vector< Tag > &&value)
AWS_REDSHIFT_API CreateUsageLimitRequest()
CreateUsageLimitRequest & WithTags(Aws::Vector< Tag > &&value)
const UsageLimitFeatureType & GetFeatureType() const
CreateUsageLimitRequest & WithAmount(long long value)
bool ClusterIdentifierHasBeenSet() const
void SetBreachAction(UsageLimitBreachAction &&value)
virtual const char * GetServiceRequestName() const override
AWS_REDSHIFT_API Aws::String SerializePayload() const override
void SetTags(const Aws::Vector< Tag > &value)
long long GetAmount() const
CreateUsageLimitRequest & WithClusterIdentifier(const Aws::String &value)
CreateUsageLimitRequest & WithBreachAction(UsageLimitBreachAction &&value)
void SetFeatureType(const UsageLimitFeatureType &value)
CreateUsageLimitRequest & WithFeatureType(const UsageLimitFeatureType &value)
CreateUsageLimitRequest & WithClusterIdentifier(Aws::String &&value)
bool TagsHasBeenSet() const
void SetFeatureType(UsageLimitFeatureType &&value)
void SetBreachAction(const UsageLimitBreachAction &value)
CreateUsageLimitRequest & WithPeriod(const UsageLimitPeriod &value)
bool LimitTypeHasBeenSet() const
bool BreachActionHasBeenSet() const
CreateUsageLimitRequest & WithFeatureType(UsageLimitFeatureType &&value)
void SetPeriod(const UsageLimitPeriod &value)
CreateUsageLimitRequest & AddTags(const Tag &value)
CreateUsageLimitRequest & WithClusterIdentifier(const char *value)
void SetClusterIdentifier(const char *value)
void SetAmount(long long value)
bool PeriodHasBeenSet() const
void SetClusterIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector