7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
51 template<
typename UsagePlanIdT = Aws::String>
52 void SetUsagePlanId(UsagePlanIdT&& value) { m_usagePlanIdHasBeenSet =
true; m_usagePlanId = std::forward<UsagePlanIdT>(value); }
53 template<
typename UsagePlanIdT = Aws::String>
63 template<
typename KeyIdT = Aws::String>
64 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
65 template<
typename KeyIdT = Aws::String>
75 template<
typename StartDateT = Aws::String>
76 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet =
true; m_startDate = std::forward<StartDateT>(value); }
77 template<
typename StartDateT = Aws::String>
87 template<
typename EndDateT = Aws::String>
88 void SetEndDate(EndDateT&& value) { m_endDateHasBeenSet =
true; m_endDate = std::forward<EndDateT>(value); }
89 template<
typename EndDateT = Aws::String>
99 template<
typename PositionT = Aws::String>
100 void SetPosition(PositionT&& value) { m_positionHasBeenSet =
true; m_position = std::forward<PositionT>(value); }
101 template<
typename PositionT = Aws::String>
112 inline void SetLimit(
int value) { m_limitHasBeenSet =
true; m_limit = value; }
118 bool m_usagePlanIdHasBeenSet =
false;
121 bool m_keyIdHasBeenSet =
false;
124 bool m_startDateHasBeenSet =
false;
127 bool m_endDateHasBeenSet =
false;
130 bool m_positionHasBeenSet =
false;
133 bool m_limitHasBeenSet =
false;
GetUsageRequest & WithUsagePlanId(UsagePlanIdT &&value)
const Aws::String & GetStartDate() const
const Aws::String & GetUsagePlanId() const
GetUsageRequest & WithLimit(int value)
void SetStartDate(StartDateT &&value)
bool EndDateHasBeenSet() const
GetUsageRequest & WithKeyId(KeyIdT &&value)
void SetPosition(PositionT &&value)
GetUsageRequest & WithStartDate(StartDateT &&value)
const Aws::String & GetPosition() const
bool LimitHasBeenSet() const
void SetUsagePlanId(UsagePlanIdT &&value)
void SetEndDate(EndDateT &&value)
const Aws::String & GetKeyId() const
bool UsagePlanIdHasBeenSet() const
void SetKeyId(KeyIdT &&value)
bool KeyIdHasBeenSet() const
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetUsageRequest & WithPosition(PositionT &&value)
AWS_APIGATEWAY_API GetUsageRequest()=default
GetUsageRequest & WithEndDate(EndDateT &&value)
const Aws::String & GetEndDate() const
bool PositionHasBeenSet() const
bool StartDateHasBeenSet() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String