/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A request to change information about an ApiKey
* resource.See Also:
AWS
* API Reference
[Required] The identifier of the ApiKey resource to be updated.
*/ inline const Aws::String& GetApiKey() const{ return m_apiKey; } /** *[Required] The identifier of the ApiKey resource to be updated.
*/ inline bool ApiKeyHasBeenSet() const { return m_apiKeyHasBeenSet; } /** *[Required] The identifier of the ApiKey resource to be updated.
*/ inline void SetApiKey(const Aws::String& value) { m_apiKeyHasBeenSet = true; m_apiKey = value; } /** *[Required] The identifier of the ApiKey resource to be updated.
*/ inline void SetApiKey(Aws::String&& value) { m_apiKeyHasBeenSet = true; m_apiKey = std::move(value); } /** *[Required] The identifier of the ApiKey resource to be updated.
*/ inline void SetApiKey(const char* value) { m_apiKeyHasBeenSet = true; m_apiKey.assign(value); } /** *[Required] The identifier of the ApiKey resource to be updated.
*/ inline UpdateApiKeyRequest& WithApiKey(const Aws::String& value) { SetApiKey(value); return *this;} /** *[Required] The identifier of the ApiKey resource to be updated.
*/ inline UpdateApiKeyRequest& WithApiKey(Aws::String&& value) { SetApiKey(std::move(value)); return *this;} /** *[Required] The identifier of the ApiKey resource to be updated.
*/ inline UpdateApiKeyRequest& WithApiKey(const char* value) { SetApiKey(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 UpdateApiKeyRequest& WithPatchOperations(const Aws::VectorA list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline UpdateApiKeyRequest& WithPatchOperations(Aws::VectorA list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline UpdateApiKeyRequest& 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 UpdateApiKeyRequest& AddPatchOperations(PatchOperation&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(std::move(value)); return *this; } private: Aws::String m_apiKey; bool m_apiKeyHasBeenSet; Aws::Vector