/**
* 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
The identifier of the ApiKey resource to be updated.
*/ inline const Aws::String& GetApiKey() const{ return m_apiKey; } /** *The identifier of the ApiKey resource to be updated.
*/ inline bool ApiKeyHasBeenSet() const { return m_apiKeyHasBeenSet; } /** *The identifier of the ApiKey resource to be updated.
*/ inline void SetApiKey(const Aws::String& value) { m_apiKeyHasBeenSet = true; m_apiKey = value; } /** *The identifier of the ApiKey resource to be updated.
*/ inline void SetApiKey(Aws::String&& value) { m_apiKeyHasBeenSet = true; m_apiKey = std::move(value); } /** *The identifier of the ApiKey resource to be updated.
*/ inline void SetApiKey(const char* value) { m_apiKeyHasBeenSet = true; m_apiKey.assign(value); } /** *The identifier of the ApiKey resource to be updated.
*/ inline UpdateApiKeyRequest& WithApiKey(const Aws::String& value) { SetApiKey(value); return *this;} /** *The identifier of the ApiKey resource to be updated.
*/ inline UpdateApiKeyRequest& WithApiKey(Aws::String&& value) { SetApiKey(std::move(value)); return *this;} /** *The identifier of the ApiKey resource to be updated.
*/ inline UpdateApiKeyRequest& WithApiKey(const char* value) { SetApiKey(value); return *this;} /** *For more information about supported patch operations, see Patch * Operations.
*/ inline const Aws::VectorFor more information about supported patch operations, see Patch * Operations.
*/ inline bool PatchOperationsHasBeenSet() const { return m_patchOperationsHasBeenSet; } /** *For more information about supported patch operations, see Patch * Operations.
*/ inline void SetPatchOperations(const Aws::VectorFor more information about supported patch operations, see Patch * Operations.
*/ inline void SetPatchOperations(Aws::VectorFor more information about supported patch operations, see Patch * Operations.
*/ inline UpdateApiKeyRequest& WithPatchOperations(const Aws::VectorFor more information about supported patch operations, see Patch * Operations.
*/ inline UpdateApiKeyRequest& WithPatchOperations(Aws::VectorFor more information about supported patch operations, see Patch * Operations.
*/ inline UpdateApiKeyRequest& AddPatchOperations(const PatchOperation& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(value); return *this; } /** *For more information about supported patch operations, see Patch * Operations.
*/ 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 = false; Aws::Vector