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; }
68 template<
typename UsageLimitIdT = Aws::String>
69 void SetUsageLimitId(UsageLimitIdT&& value) { m_usageLimitIdHasBeenSet =
true; m_usageLimitId = std::forward<UsageLimitIdT>(value); }
70 template<
typename UsageLimitIdT = Aws::String>
75 long long m_amount{0};
76 bool m_amountHasBeenSet =
false;
79 bool m_breachActionHasBeenSet =
false;
82 bool m_usageLimitIdHasBeenSet =
false;
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_REDSHIFTSERVERLESS_API UpdateUsageLimitRequest()=default
const Aws::String & GetUsageLimitId() const
void SetBreachAction(UsageLimitBreachAction value)
void SetAmount(long long value)
virtual const char * GetServiceRequestName() const override
bool UsageLimitIdHasBeenSet() const
UsageLimitBreachAction GetBreachAction() const
void SetUsageLimitId(UsageLimitIdT &&value)
bool BreachActionHasBeenSet() const
UpdateUsageLimitRequest & WithBreachAction(UsageLimitBreachAction value)
bool AmountHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
UpdateUsageLimitRequest & WithAmount(long long value)
long long GetAmount() const
UpdateUsageLimitRequest & WithUsageLimitId(UsageLimitIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String