7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/apigateway/model/PatchOperation.h>
47 template<
typename UsagePlanIdT = Aws::String>
48 void SetUsagePlanId(UsagePlanIdT&& value) { m_usagePlanIdHasBeenSet =
true; m_usagePlanId = std::forward<UsagePlanIdT>(value); }
49 template<
typename UsagePlanIdT = Aws::String>
60 template<
typename KeyIdT = Aws::String>
61 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
62 template<
typename KeyIdT = Aws::String>
74 template<
typename PatchOperationsT = Aws::Vector<PatchOperation>>
75 void SetPatchOperations(PatchOperationsT&& value) { m_patchOperationsHasBeenSet =
true; m_patchOperations = std::forward<PatchOperationsT>(value); }
76 template<
typename PatchOperationsT = Aws::Vector<PatchOperation>>
78 template<
typename PatchOperationsT = PatchOperation>
79 UpdateUsageRequest&
AddPatchOperations(PatchOperationsT&& value) { m_patchOperationsHasBeenSet =
true; m_patchOperations.emplace_back(std::forward<PatchOperationsT>(value));
return *
this; }
84 bool m_usagePlanIdHasBeenSet =
false;
87 bool m_keyIdHasBeenSet =
false;
90 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