7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
42 template <
typename UsagePlanIdT = Aws::String>
44 m_usagePlanIdHasBeenSet =
true;
45 m_usagePlanId = std::forward<UsagePlanIdT>(value);
47 template <
typename UsagePlanIdT = Aws::String>
59 template <
typename StartDateT = Aws::String>
61 m_startDateHasBeenSet =
true;
62 m_startDate = std::forward<StartDateT>(value);
64 template <
typename StartDateT = Aws::String>
76 template <
typename EndDateT = Aws::String>
78 m_endDateHasBeenSet =
true;
79 m_endDate = std::forward<EndDateT>(value);
81 template <
typename EndDateT = Aws::String>
91 template <
typename PositionT = Aws::String>
93 m_positionHasBeenSet =
true;
94 m_position = std::forward<PositionT>(value);
96 template <
typename PositionT = Aws::String>
112 template <
typename ItemsT = Aws::Map<Aws::String, Aws::Vector<Aws::Vector<
long long>>>>
114 m_itemsHasBeenSet =
true;
115 m_items = std::forward<ItemsT>(value);
117 template <
typename ItemsT = Aws::Map<Aws::String, Aws::Vector<Aws::Vector<
long long>>>>
119 SetItems(std::forward<ItemsT>(value));
122 template <
typename ItemsKeyT = Aws::String,
typename ItemsValueT = Aws::Vector<Aws::Vector<
long long>>>
124 m_itemsHasBeenSet =
true;
125 m_items.emplace(std::forward<ItemsKeyT>(key), std::forward<ItemsValueT>(value));
133 template <
typename RequestIdT = Aws::String>
135 m_requestIdHasBeenSet =
true;
136 m_requestId = std::forward<RequestIdT>(value);
138 template <
typename RequestIdT = Aws::String>
159 bool m_usagePlanIdHasBeenSet =
false;
160 bool m_startDateHasBeenSet =
false;
161 bool m_endDateHasBeenSet =
false;
162 bool m_positionHasBeenSet =
false;
163 bool m_itemsHasBeenSet =
false;
164 bool m_requestIdHasBeenSet =
false;
UpdateUsageResult & WithUsagePlanId(UsagePlanIdT &&value)
AWS_APIGATEWAY_API UpdateUsageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetItems(ItemsT &&value)
UpdateUsageResult & WithPosition(PositionT &&value)
void SetEndDate(EndDateT &&value)
void SetPosition(PositionT &&value)
UpdateUsageResult & WithStartDate(StartDateT &&value)
const Aws::String & GetStartDate() const
const Aws::String & GetEndDate() const
const Aws::String & GetUsagePlanId() const
AWS_APIGATEWAY_API UpdateUsageResult()=default
void SetRequestId(RequestIdT &&value)
void SetStartDate(StartDateT &&value)
const Aws::String & GetPosition() const
UpdateUsageResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
const Aws::Map< Aws::String, Aws::Vector< Aws::Vector< long long > > > & GetItems() const
UpdateUsageResult & AddItems(ItemsKeyT &&key, ItemsValueT &&value)
UpdateUsageResult & WithEndDate(EndDateT &&value)
UpdateUsageResult & WithItems(ItemsT &&value)
AWS_APIGATEWAY_API UpdateUsageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUsagePlanId(UsagePlanIdT &&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
Aws::Utils::Json::JsonValue JsonValue