7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/apigateway/model/ThrottleSettings.h>
11#include <aws/apigateway/model/QuotaSettings.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/apigateway/model/ApiStage.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
57 template<
typename IdT = Aws::String>
58 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
59 template<
typename IdT = Aws::String>
68 template<
typename NameT = Aws::String>
69 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
70 template<
typename NameT = Aws::String>
79 template<
typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
81 template<
typename DescriptionT = Aws::String>
90 template<
typename ApiStagesT = Aws::Vector<ApiStage>>
91 void SetApiStages(ApiStagesT&& value) { m_apiStagesHasBeenSet =
true; m_apiStages = std::forward<ApiStagesT>(value); }
92 template<
typename ApiStagesT = Aws::Vector<ApiStage>>
94 template<
typename ApiStagesT = ApiStage>
104 template<
typename ThrottleT = ThrottleSettings>
105 void SetThrottle(ThrottleT&& value) { m_throttleHasBeenSet =
true; m_throttle = std::forward<ThrottleT>(value); }
106 template<
typename ThrottleT = ThrottleSettings>
116 template<
typename QuotaT = QuotaSettings>
117 void SetQuota(QuotaT&& value) { m_quotaHasBeenSet =
true; m_quota = std::forward<QuotaT>(value); }
118 template<
typename QuotaT = QuotaSettings>
128 template<
typename ProductCodeT = Aws::String>
129 void SetProductCode(ProductCodeT&& value) { m_productCodeHasBeenSet =
true; m_productCode = std::forward<ProductCodeT>(value); }
130 template<
typename ProductCodeT = Aws::String>
140 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
141 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
142 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
144 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
146 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
153 template<
typename RequestIdT = Aws::String>
154 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
155 template<
typename RequestIdT = Aws::String>
161 bool m_idHasBeenSet =
false;
164 bool m_nameHasBeenSet =
false;
167 bool m_descriptionHasBeenSet =
false;
170 bool m_apiStagesHasBeenSet =
false;
173 bool m_throttleHasBeenSet =
false;
176 bool m_quotaHasBeenSet =
false;
179 bool m_productCodeHasBeenSet =
false;
182 bool m_tagsHasBeenSet =
false;
185 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetDescription() const
UpdateUsagePlanResult & WithApiStages(ApiStagesT &&value)
UpdateUsagePlanResult & WithProductCode(ProductCodeT &&value)
const Aws::String & GetName() const
void SetQuota(QuotaT &&value)
AWS_APIGATEWAY_API UpdateUsagePlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
UpdateUsagePlanResult & WithId(IdT &&value)
UpdateUsagePlanResult & AddApiStages(ApiStagesT &&value)
void SetProductCode(ProductCodeT &&value)
AWS_APIGATEWAY_API UpdateUsagePlanResult()=default
void SetName(NameT &&value)
UpdateUsagePlanResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UpdateUsagePlanResult & WithThrottle(ThrottleT &&value)
UpdateUsagePlanResult & WithTags(TagsT &&value)
void SetDescription(DescriptionT &&value)
UpdateUsagePlanResult & WithDescription(DescriptionT &&value)
const Aws::String & GetProductCode() const
UpdateUsagePlanResult & WithRequestId(RequestIdT &&value)
void SetThrottle(ThrottleT &&value)
void SetRequestId(RequestIdT &&value)
void SetTags(TagsT &&value)
void SetApiStages(ApiStagesT &&value)
AWS_APIGATEWAY_API UpdateUsagePlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ThrottleSettings & GetThrottle() const
const Aws::Vector< ApiStage > & GetApiStages() const
UpdateUsagePlanResult & WithQuota(QuotaT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const QuotaSettings & GetQuota() const
UpdateUsagePlanResult & WithName(NameT &&value)
const Aws::String & GetId() 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