7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/apigateway/model/PatchOperation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename UsagePlanIdT = Aws::String>
45 m_usagePlanIdHasBeenSet =
true;
46 m_usagePlanId = std::forward<UsagePlanIdT>(value);
48 template <
typename UsagePlanIdT = Aws::String>
62 template <
typename KeyIdT = Aws::String>
64 m_keyIdHasBeenSet =
true;
65 m_keyId = std::forward<KeyIdT>(value);
67 template <
typename KeyIdT = Aws::String>
69 SetKeyId(std::forward<KeyIdT>(value));
82 template <
typename PatchOperationsT = Aws::Vector<PatchOperation>>
84 m_patchOperationsHasBeenSet =
true;
85 m_patchOperations = std::forward<PatchOperationsT>(value);
87 template <
typename PatchOperationsT = Aws::Vector<PatchOperation>>
92 template <
typename PatchOperationsT = PatchOperation>
94 m_patchOperationsHasBeenSet =
true;
95 m_patchOperations.emplace_back(std::forward<PatchOperationsT>(value));
105 bool m_usagePlanIdHasBeenSet =
false;
106 bool m_keyIdHasBeenSet =
false;
107 bool m_patchOperationsHasBeenSet =
false;
void SetPatchOperations(PatchOperationsT &&value)
virtual const char * GetServiceRequestName() const override
bool UsagePlanIdHasBeenSet() const
const Aws::Vector< PatchOperation > & GetPatchOperations() const
const Aws::String & GetKeyId() const
bool KeyIdHasBeenSet() const
UpdateUsageRequest & WithUsagePlanId(UsagePlanIdT &&value)
UpdateUsageRequest & WithKeyId(KeyIdT &&value)
const Aws::String & GetUsagePlanId() const
bool PatchOperationsHasBeenSet() const
UpdateUsageRequest & AddPatchOperations(PatchOperationsT &&value)
AWS_APIGATEWAY_API UpdateUsageRequest()=default
void SetUsagePlanId(UsagePlanIdT &&value)
void SetKeyId(KeyIdT &&value)
UpdateUsageRequest & WithPatchOperations(PatchOperationsT &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector