7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift-serverless/model/UsageLimitUsageType.h>
15namespace RedshiftServerless
46 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
61 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
76 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
96 bool m_maxResultsHasBeenSet =
false;
99 bool m_nextTokenHasBeenSet =
false;
102 bool m_resourceArnHasBeenSet =
false;
105 bool m_usageTypeHasBeenSet =
false;
void SetNextToken(const Aws::String &value)
ListUsageLimitsRequest & WithResourceArn(const Aws::String &value)
bool ResourceArnHasBeenSet() const
bool MaxResultsHasBeenSet() const
bool NextTokenHasBeenSet() const
ListUsageLimitsRequest & WithUsageType(UsageLimitUsageType &&value)
void SetNextToken(const char *value)
void SetResourceArn(const char *value)
ListUsageLimitsRequest & WithNextToken(const Aws::String &value)
void SetUsageType(const UsageLimitUsageType &value)
ListUsageLimitsRequest & WithUsageType(const UsageLimitUsageType &value)
const Aws::String & GetNextToken() const
const Aws::String & GetResourceArn() const
int GetMaxResults() const
ListUsageLimitsRequest & WithMaxResults(int value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetNextToken(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
void SetMaxResults(int value)
bool UsageTypeHasBeenSet() const
ListUsageLimitsRequest & WithNextToken(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API ListUsageLimitsRequest()
ListUsageLimitsRequest & WithResourceArn(const char *value)
const UsageLimitUsageType & GetUsageType() const
void SetResourceArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListUsageLimitsRequest & WithNextToken(const char *value)
void SetUsageType(UsageLimitUsageType &&value)
void SetResourceArn(const Aws::String &value)
ListUsageLimitsRequest & WithResourceArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String