7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
9#include <aws/redshift-serverless/model/UsageLimitBreachAction.h>
10#include <aws/redshift-serverless/model/UsageLimitPeriod.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/redshift-serverless/model/UsageLimitUsageType.h>
17namespace RedshiftServerless
47 inline long long GetAmount()
const{
return m_amount; }
49 inline void SetAmount(
long long value) { m_amountHasBeenSet =
true; m_amount = value; }
88 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
108 bool m_amountHasBeenSet =
false;
111 bool m_breachActionHasBeenSet =
false;
114 bool m_periodHasBeenSet =
false;
117 bool m_resourceArnHasBeenSet =
false;
120 bool m_usageTypeHasBeenSet =
false;
CreateUsageLimitRequest & WithAmount(long long value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
void SetPeriod(const UsageLimitPeriod &value)
long long GetAmount() const
virtual const char * GetServiceRequestName() const override
CreateUsageLimitRequest & WithBreachAction(const UsageLimitBreachAction &value)
CreateUsageLimitRequest & WithResourceArn(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API CreateUsageLimitRequest()
CreateUsageLimitRequest & WithBreachAction(UsageLimitBreachAction &&value)
CreateUsageLimitRequest & WithPeriod(const UsageLimitPeriod &value)
bool PeriodHasBeenSet() const
bool UsageTypeHasBeenSet() const
void SetResourceArn(const Aws::String &value)
void SetResourceArn(Aws::String &&value)
bool AmountHasBeenSet() const
CreateUsageLimitRequest & WithUsageType(const UsageLimitUsageType &value)
void SetResourceArn(const char *value)
bool ResourceArnHasBeenSet() const
const Aws::String & GetResourceArn() const
CreateUsageLimitRequest & WithPeriod(UsageLimitPeriod &&value)
CreateUsageLimitRequest & WithResourceArn(Aws::String &&value)
bool BreachActionHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateUsageLimitRequest & WithResourceArn(const char *value)
void SetBreachAction(const UsageLimitBreachAction &value)
const UsageLimitUsageType & GetUsageType() const
void SetAmount(long long value)
void SetBreachAction(UsageLimitBreachAction &&value)
const UsageLimitBreachAction & GetBreachAction() const
void SetPeriod(UsageLimitPeriod &&value)
const UsageLimitPeriod & GetPeriod() const
void SetUsageType(UsageLimitUsageType &&value)
void SetUsageType(const UsageLimitUsageType &value)
CreateUsageLimitRequest & WithUsageType(UsageLimitUsageType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String