7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/apigateway/model/ApiStage.h>
10#include <aws/apigateway/model/QuotaSettings.h>
11#include <aws/apigateway/model/ThrottleSettings.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
65 template <
typename DescriptionT = Aws::String>
67 m_descriptionHasBeenSet =
true;
68 m_description = std::forward<DescriptionT>(value);
70 template <
typename DescriptionT = Aws::String>
83 template <
typename ApiStagesT = Aws::Vector<ApiStage>>
85 m_apiStagesHasBeenSet =
true;
86 m_apiStages = std::forward<ApiStagesT>(value);
88 template <
typename ApiStagesT = Aws::Vector<ApiStage>>
93 template <
typename ApiStagesT = ApiStage>
95 m_apiStagesHasBeenSet =
true;
96 m_apiStages.emplace_back(std::forward<ApiStagesT>(value));
107 template <
typename ThrottleT = ThrottleSettings>
109 m_throttleHasBeenSet =
true;
110 m_throttle = std::forward<ThrottleT>(value);
112 template <
typename ThrottleT = ThrottleSettings>
125 template <
typename QuotaT = QuotaSettings>
127 m_quotaHasBeenSet =
true;
128 m_quota = std::forward<QuotaT>(value);
130 template <
typename QuotaT = QuotaSettings>
132 SetQuota(std::forward<QuotaT>(value));
145 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
147 m_tagsHasBeenSet =
true;
148 m_tags = std::forward<TagsT>(value);
150 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
152 SetTags(std::forward<TagsT>(value));
155 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
157 m_tagsHasBeenSet =
true;
158 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
174 bool m_nameHasBeenSet =
false;
175 bool m_descriptionHasBeenSet =
false;
176 bool m_apiStagesHasBeenSet =
false;
177 bool m_throttleHasBeenSet =
false;
178 bool m_quotaHasBeenSet =
false;
179 bool m_tagsHasBeenSet =
false;
CreateUsagePlanRequest & WithQuota(QuotaT &&value)
bool TagsHasBeenSet() const
CreateUsagePlanRequest & AddApiStages(ApiStagesT &&value)
void SetTags(TagsT &&value)
void SetThrottle(ThrottleT &&value)
CreateUsagePlanRequest & WithThrottle(ThrottleT &&value)
CreateUsagePlanRequest & WithDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool NameHasBeenSet() const
void SetQuota(QuotaT &&value)
CreateUsagePlanRequest & WithName(NameT &&value)
const ThrottleSettings & GetThrottle() const
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
bool ApiStagesHasBeenSet() const
CreateUsagePlanRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetName() const
bool ThrottleHasBeenSet() const
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
CreateUsagePlanRequest & WithApiStages(ApiStagesT &&value)
CreateUsagePlanRequest & WithTags(TagsT &&value)
void SetApiStages(ApiStagesT &&value)
void SetName(NameT &&value)
const Aws::String & GetDescription() const
virtual const char * GetServiceRequestName() const override
const QuotaSettings & GetQuota() const
const Aws::Vector< ApiStage > & GetApiStages() const
bool QuotaHasBeenSet() const
AWS_APIGATEWAY_API CreateUsagePlanRequest()=default
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