/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The POST request to create a usage plan key for adding an existing API key to
* a usage plan.See Also:
AWS
* API Reference
The Id of the UsagePlan resource representing the usage plan containing the * to-be-created UsagePlanKey resource representing a plan customer.
*/ inline const Aws::String& GetUsagePlanId() const{ return m_usagePlanId; } /** *The Id of the UsagePlan resource representing the usage plan containing the * to-be-created UsagePlanKey resource representing a plan customer.
*/ inline bool UsagePlanIdHasBeenSet() const { return m_usagePlanIdHasBeenSet; } /** *The Id of the UsagePlan resource representing the usage plan containing the * to-be-created UsagePlanKey resource representing a plan customer.
*/ inline void SetUsagePlanId(const Aws::String& value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId = value; } /** *The Id of the UsagePlan resource representing the usage plan containing the * to-be-created UsagePlanKey resource representing a plan customer.
*/ inline void SetUsagePlanId(Aws::String&& value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId = std::move(value); } /** *The Id of the UsagePlan resource representing the usage plan containing the * to-be-created UsagePlanKey resource representing a plan customer.
*/ inline void SetUsagePlanId(const char* value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId.assign(value); } /** *The Id of the UsagePlan resource representing the usage plan containing the * to-be-created UsagePlanKey resource representing a plan customer.
*/ inline CreateUsagePlanKeyRequest& WithUsagePlanId(const Aws::String& value) { SetUsagePlanId(value); return *this;} /** *The Id of the UsagePlan resource representing the usage plan containing the * to-be-created UsagePlanKey resource representing a plan customer.
*/ inline CreateUsagePlanKeyRequest& WithUsagePlanId(Aws::String&& value) { SetUsagePlanId(std::move(value)); return *this;} /** *The Id of the UsagePlan resource representing the usage plan containing the * to-be-created UsagePlanKey resource representing a plan customer.
*/ inline CreateUsagePlanKeyRequest& WithUsagePlanId(const char* value) { SetUsagePlanId(value); return *this;} /** *The identifier of a UsagePlanKey resource for a plan customer.
*/ inline const Aws::String& GetKeyId() const{ return m_keyId; } /** *The identifier of a UsagePlanKey resource for a plan customer.
*/ inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; } /** *The identifier of a UsagePlanKey resource for a plan customer.
*/ inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; } /** *The identifier of a UsagePlanKey resource for a plan customer.
*/ inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); } /** *The identifier of a UsagePlanKey resource for a plan customer.
*/ inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); } /** *The identifier of a UsagePlanKey resource for a plan customer.
*/ inline CreateUsagePlanKeyRequest& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;} /** *The identifier of a UsagePlanKey resource for a plan customer.
*/ inline CreateUsagePlanKeyRequest& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;} /** *The identifier of a UsagePlanKey resource for a plan customer.
*/ inline CreateUsagePlanKeyRequest& WithKeyId(const char* value) { SetKeyId(value); return *this;} /** *The type of a UsagePlanKey resource for a plan customer.
*/ inline const Aws::String& GetKeyType() const{ return m_keyType; } /** *The type of a UsagePlanKey resource for a plan customer.
*/ inline bool KeyTypeHasBeenSet() const { return m_keyTypeHasBeenSet; } /** *The type of a UsagePlanKey resource for a plan customer.
*/ inline void SetKeyType(const Aws::String& value) { m_keyTypeHasBeenSet = true; m_keyType = value; } /** *The type of a UsagePlanKey resource for a plan customer.
*/ inline void SetKeyType(Aws::String&& value) { m_keyTypeHasBeenSet = true; m_keyType = std::move(value); } /** *The type of a UsagePlanKey resource for a plan customer.
*/ inline void SetKeyType(const char* value) { m_keyTypeHasBeenSet = true; m_keyType.assign(value); } /** *The type of a UsagePlanKey resource for a plan customer.
*/ inline CreateUsagePlanKeyRequest& WithKeyType(const Aws::String& value) { SetKeyType(value); return *this;} /** *The type of a UsagePlanKey resource for a plan customer.
*/ inline CreateUsagePlanKeyRequest& WithKeyType(Aws::String&& value) { SetKeyType(std::move(value)); return *this;} /** *The type of a UsagePlanKey resource for a plan customer.
*/ inline CreateUsagePlanKeyRequest& WithKeyType(const char* value) { SetKeyType(value); return *this;} private: Aws::String m_usagePlanId; bool m_usagePlanIdHasBeenSet = false; Aws::String m_keyId; bool m_keyIdHasBeenSet = false; Aws::String m_keyType; bool m_keyTypeHasBeenSet = false; }; } // namespace Model } // namespace APIGateway } // namespace Aws