7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/model/ApiStage.h>
9#include <aws/apigateway/model/QuotaSettings.h>
10#include <aws/apigateway/model/ThrottleSettings.h>
11#include <aws/core/http/HttpResponse.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>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
52 template <
typename IdT = Aws::String>
54 m_idHasBeenSet =
true;
55 m_id = std::forward<IdT>(value);
57 template <
typename IdT = Aws::String>
59 SetId(std::forward<IdT>(value));
69 template <
typename NameT = Aws::String>
71 m_nameHasBeenSet =
true;
72 m_name = std::forward<NameT>(value);
74 template <
typename NameT = Aws::String>
76 SetName(std::forward<NameT>(value));
86 template <
typename DescriptionT = Aws::String>
88 m_descriptionHasBeenSet =
true;
89 m_description = std::forward<DescriptionT>(value);
91 template <
typename DescriptionT = Aws::String>
103 template <
typename ApiStagesT = Aws::Vector<ApiStage>>
105 m_apiStagesHasBeenSet =
true;
106 m_apiStages = std::forward<ApiStagesT>(value);
108 template <
typename ApiStagesT = Aws::Vector<ApiStage>>
113 template <
typename ApiStagesT = ApiStage>
115 m_apiStagesHasBeenSet =
true;
116 m_apiStages.emplace_back(std::forward<ApiStagesT>(value));
127 template <
typename ThrottleT = ThrottleSettings>
129 m_throttleHasBeenSet =
true;
130 m_throttle = std::forward<ThrottleT>(value);
132 template <
typename ThrottleT = ThrottleSettings>
145 template <
typename QuotaT = QuotaSettings>
147 m_quotaHasBeenSet =
true;
148 m_quota = std::forward<QuotaT>(value);
150 template <
typename QuotaT = QuotaSettings>
152 SetQuota(std::forward<QuotaT>(value));
163 template <
typename ProductCodeT = Aws::String>
165 m_productCodeHasBeenSet =
true;
166 m_productCode = std::forward<ProductCodeT>(value);
168 template <
typename ProductCodeT = Aws::String>
181 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
183 m_tagsHasBeenSet =
true;
184 m_tags = std::forward<TagsT>(value);
186 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
188 SetTags(std::forward<TagsT>(value));
191 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
193 m_tagsHasBeenSet =
true;
194 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
202 template <
typename RequestIdT = Aws::String>
204 m_requestIdHasBeenSet =
true;
205 m_requestId = std::forward<RequestIdT>(value);
207 template <
typename RequestIdT = Aws::String>
234 bool m_idHasBeenSet =
false;
235 bool m_nameHasBeenSet =
false;
236 bool m_descriptionHasBeenSet =
false;
237 bool m_apiStagesHasBeenSet =
false;
238 bool m_throttleHasBeenSet =
false;
239 bool m_quotaHasBeenSet =
false;
240 bool m_productCodeHasBeenSet =
false;
241 bool m_tagsHasBeenSet =
false;
242 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetDescription() const
GetUsagePlanResult & WithApiStages(ApiStagesT &&value)
AWS_APIGATEWAY_API GetUsagePlanResult()=default
GetUsagePlanResult & WithId(IdT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetName() const
void SetApiStages(ApiStagesT &&value)
GetUsagePlanResult & WithQuota(QuotaT &&value)
void SetRequestId(RequestIdT &&value)
void SetTags(TagsT &&value)
const ThrottleSettings & GetThrottle() const
AWS_APIGATEWAY_API GetUsagePlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetProductCode(ProductCodeT &&value)
void SetThrottle(ThrottleT &&value)
AWS_APIGATEWAY_API GetUsagePlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetUsagePlanResult & WithDescription(DescriptionT &&value)
GetUsagePlanResult & WithTags(TagsT &&value)
GetUsagePlanResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetUsagePlanResult & WithRequestId(RequestIdT &&value)
void SetName(NameT &&value)
const QuotaSettings & GetQuota() const
GetUsagePlanResult & WithProductCode(ProductCodeT &&value)
GetUsagePlanResult & WithName(NameT &&value)
GetUsagePlanResult & AddApiStages(ApiStagesT &&value)
void SetDescription(DescriptionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetUsagePlanResult & WithThrottle(ThrottleT &&value)
const Aws::String & GetId() const
void SetQuota(QuotaT &&value)
const Aws::String & GetProductCode() const
const Aws::Vector< ApiStage > & GetApiStages() const
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
Aws::Utils::Json::JsonValue JsonValue