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/core/utils/memory/stl/AWSString.h>
15namespace RedshiftServerless
45 inline long long GetAmount()
const{
return m_amount; }
47 inline void SetAmount(
long long value) { m_amountHasBeenSet =
true; m_amount = value; }
72 inline void SetUsageLimitId(
const char* value) { m_usageLimitIdHasBeenSet =
true; m_usageLimitId.assign(value); }
80 bool m_amountHasBeenSet =
false;
83 bool m_breachActionHasBeenSet =
false;
86 bool m_usageLimitIdHasBeenSet =
false;
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetUsageLimitId(const Aws::String &value)
UpdateUsageLimitRequest & WithBreachAction(const UsageLimitBreachAction &value)
const Aws::String & GetUsageLimitId() const
void SetAmount(long long value)
virtual const char * GetServiceRequestName() const override
bool UsageLimitIdHasBeenSet() const
void SetUsageLimitId(const char *value)
bool BreachActionHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API UpdateUsageLimitRequest()
const UsageLimitBreachAction & GetBreachAction() const
void SetUsageLimitId(Aws::String &&value)
bool AmountHasBeenSet() const
UpdateUsageLimitRequest & WithBreachAction(UsageLimitBreachAction &&value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
UpdateUsageLimitRequest & WithUsageLimitId(Aws::String &&value)
UpdateUsageLimitRequest & WithAmount(long long value)
long long GetAmount() const
UpdateUsageLimitRequest & WithUsageLimitId(const char *value)
void SetBreachAction(UsageLimitBreachAction &&value)
UpdateUsageLimitRequest & WithUsageLimitId(const Aws::String &value)
void SetBreachAction(const UsageLimitBreachAction &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String