/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The PATCH request to grant a temporary extension to the remaining quota of a
* usage plan associated with a specified API key.See Also:
AWS
* API Reference
[Required] The Id of the usage plan associated with the usage data.
*/ inline const Aws::String& GetUsagePlanId() const{ return m_usagePlanId; } /** *[Required] The Id of the usage plan associated with the usage data.
*/ inline bool UsagePlanIdHasBeenSet() const { return m_usagePlanIdHasBeenSet; } /** *[Required] The Id of the usage plan associated with the usage data.
*/ inline void SetUsagePlanId(const Aws::String& value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId = value; } /** *[Required] The Id of the usage plan associated with the usage data.
*/ inline void SetUsagePlanId(Aws::String&& value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId = std::move(value); } /** *[Required] The Id of the usage plan associated with the usage data.
*/ inline void SetUsagePlanId(const char* value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId.assign(value); } /** *[Required] The Id of the usage plan associated with the usage data.
*/ inline UpdateUsageRequest& WithUsagePlanId(const Aws::String& value) { SetUsagePlanId(value); return *this;} /** *[Required] The Id of the usage plan associated with the usage data.
*/ inline UpdateUsageRequest& WithUsagePlanId(Aws::String&& value) { SetUsagePlanId(std::move(value)); return *this;} /** *[Required] The Id of the usage plan associated with the usage data.
*/ inline UpdateUsageRequest& WithUsagePlanId(const char* value) { SetUsagePlanId(value); return *this;} /** *[Required] The identifier of the API key associated with the usage plan in * which a temporary extension is granted to the remaining quota.
*/ inline const Aws::String& GetKeyId() const{ return m_keyId; } /** *[Required] The identifier of the API key associated with the usage plan in * which a temporary extension is granted to the remaining quota.
*/ inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; } /** *[Required] The identifier of the API key associated with the usage plan in * which a temporary extension is granted to the remaining quota.
*/ inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; } /** *[Required] The identifier of the API key associated with the usage plan in * which a temporary extension is granted to the remaining quota.
*/ inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); } /** *[Required] The identifier of the API key associated with the usage plan in * which a temporary extension is granted to the remaining quota.
*/ inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); } /** *[Required] The identifier of the API key associated with the usage plan in * which a temporary extension is granted to the remaining quota.
*/ inline UpdateUsageRequest& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;} /** *[Required] The identifier of the API key associated with the usage plan in * which a temporary extension is granted to the remaining quota.
*/ inline UpdateUsageRequest& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;} /** *[Required] The identifier of the API key associated with the usage plan in * which a temporary extension is granted to the remaining quota.
*/ inline UpdateUsageRequest& WithKeyId(const char* value) { SetKeyId(value); return *this;} /** *A list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline const Aws::VectorA list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline bool PatchOperationsHasBeenSet() const { return m_patchOperationsHasBeenSet; } /** *A list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline void SetPatchOperations(const Aws::VectorA list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline void SetPatchOperations(Aws::VectorA list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline UpdateUsageRequest& WithPatchOperations(const Aws::VectorA list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline UpdateUsageRequest& WithPatchOperations(Aws::VectorA list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline UpdateUsageRequest& AddPatchOperations(const PatchOperation& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(value); return *this; } /** *A list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline UpdateUsageRequest& AddPatchOperations(PatchOperation&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(std::move(value)); return *this; } private: Aws::String m_usagePlanId; bool m_usagePlanIdHasBeenSet; Aws::String m_keyId; bool m_keyIdHasBeenSet; Aws::Vector