7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/apigateway/model/ThrottleSettings.h>
12#include <aws/apigateway/model/QuotaSettings.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/apigateway/model/ApiStage.h>
53 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
67 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
134 bool m_nameHasBeenSet =
false;
137 bool m_descriptionHasBeenSet =
false;
140 bool m_apiStagesHasBeenSet =
false;
143 bool m_throttleHasBeenSet =
false;
146 bool m_quotaHasBeenSet =
false;
149 bool m_tagsHasBeenSet =
false;
void SetThrottle(const ThrottleSettings &value)
bool TagsHasBeenSet() const
CreateUsagePlanRequest & AddTags(const char *key, const char *value)
CreateUsagePlanRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateUsagePlanRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetName(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_APIGATEWAY_API CreateUsagePlanRequest()
void SetDescription(Aws::String &&value)
CreateUsagePlanRequest & WithApiStages(Aws::Vector< ApiStage > &&value)
CreateUsagePlanRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetApiStages(Aws::Vector< ApiStage > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool NameHasBeenSet() const
void SetApiStages(const Aws::Vector< ApiStage > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const ThrottleSettings & GetThrottle() const
bool DescriptionHasBeenSet() const
CreateUsagePlanRequest & WithDescription(const Aws::String &value)
CreateUsagePlanRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateUsagePlanRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateUsagePlanRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateUsagePlanRequest & AddTags(const char *key, Aws::String &&value)
bool ApiStagesHasBeenSet() const
const Aws::String & GetName() const
void SetQuota(QuotaSettings &&value)
bool ThrottleHasBeenSet() const
CreateUsagePlanRequest & WithDescription(const char *value)
CreateUsagePlanRequest & WithDescription(Aws::String &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
CreateUsagePlanRequest & WithThrottle(const ThrottleSettings &value)
void SetDescription(const char *value)
void SetName(Aws::String &&value)
CreateUsagePlanRequest & WithQuota(const QuotaSettings &value)
CreateUsagePlanRequest & WithName(Aws::String &&value)
void SetThrottle(ThrottleSettings &&value)
CreateUsagePlanRequest & AddApiStages(ApiStage &&value)
const Aws::String & GetDescription() const
virtual const char * GetServiceRequestName() const override
const QuotaSettings & GetQuota() const
const Aws::Vector< ApiStage > & GetApiStages() const
CreateUsagePlanRequest & WithApiStages(const Aws::Vector< ApiStage > &value)
CreateUsagePlanRequest & AddTags(Aws::String &&key, const char *value)
void SetQuota(const QuotaSettings &value)
CreateUsagePlanRequest & WithName(const Aws::String &value)
bool QuotaHasBeenSet() const
CreateUsagePlanRequest & WithThrottle(ThrottleSettings &&value)
CreateUsagePlanRequest & WithQuota(QuotaSettings &&value)
void SetDescription(const Aws::String &value)
CreateUsagePlanRequest & AddApiStages(const ApiStage &value)
CreateUsagePlanRequest & WithName(const char *value)
void SetName(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector