/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Identifies the AWS Key Management Service (AWS KMS) customer master key (CMK)
* used to encrypt the secrets.See Also:
AWS API
* Reference
Amazon Resource Name (ARN) or alias of the customer master key (CMK). The CMK * must be symmetric, created in the same region as the cluster, and if the CMK was * created in a different account, the user must have access to the CMK. For more * information, see Allowing * Users in Other Accounts to Use a CMK in the AWS Key Management Service * Developer Guide.
*/ inline const Aws::String& GetKeyArn() const{ return m_keyArn; } /** *Amazon Resource Name (ARN) or alias of the customer master key (CMK). The CMK * must be symmetric, created in the same region as the cluster, and if the CMK was * created in a different account, the user must have access to the CMK. For more * information, see Allowing * Users in Other Accounts to Use a CMK in the AWS Key Management Service * Developer Guide.
*/ inline bool KeyArnHasBeenSet() const { return m_keyArnHasBeenSet; } /** *Amazon Resource Name (ARN) or alias of the customer master key (CMK). The CMK * must be symmetric, created in the same region as the cluster, and if the CMK was * created in a different account, the user must have access to the CMK. For more * information, see Allowing * Users in Other Accounts to Use a CMK in the AWS Key Management Service * Developer Guide.
*/ inline void SetKeyArn(const Aws::String& value) { m_keyArnHasBeenSet = true; m_keyArn = value; } /** *Amazon Resource Name (ARN) or alias of the customer master key (CMK). The CMK * must be symmetric, created in the same region as the cluster, and if the CMK was * created in a different account, the user must have access to the CMK. For more * information, see Allowing * Users in Other Accounts to Use a CMK in the AWS Key Management Service * Developer Guide.
*/ inline void SetKeyArn(Aws::String&& value) { m_keyArnHasBeenSet = true; m_keyArn = std::move(value); } /** *Amazon Resource Name (ARN) or alias of the customer master key (CMK). The CMK * must be symmetric, created in the same region as the cluster, and if the CMK was * created in a different account, the user must have access to the CMK. For more * information, see Allowing * Users in Other Accounts to Use a CMK in the AWS Key Management Service * Developer Guide.
*/ inline void SetKeyArn(const char* value) { m_keyArnHasBeenSet = true; m_keyArn.assign(value); } /** *Amazon Resource Name (ARN) or alias of the customer master key (CMK). The CMK * must be symmetric, created in the same region as the cluster, and if the CMK was * created in a different account, the user must have access to the CMK. For more * information, see Allowing * Users in Other Accounts to Use a CMK in the AWS Key Management Service * Developer Guide.
*/ inline Provider& WithKeyArn(const Aws::String& value) { SetKeyArn(value); return *this;} /** *Amazon Resource Name (ARN) or alias of the customer master key (CMK). The CMK * must be symmetric, created in the same region as the cluster, and if the CMK was * created in a different account, the user must have access to the CMK. For more * information, see Allowing * Users in Other Accounts to Use a CMK in the AWS Key Management Service * Developer Guide.
*/ inline Provider& WithKeyArn(Aws::String&& value) { SetKeyArn(std::move(value)); return *this;} /** *Amazon Resource Name (ARN) or alias of the customer master key (CMK). The CMK * must be symmetric, created in the same region as the cluster, and if the CMK was * created in a different account, the user must have access to the CMK. For more * information, see Allowing * Users in Other Accounts to Use a CMK in the AWS Key Management Service * Developer Guide.
*/ inline Provider& WithKeyArn(const char* value) { SetKeyArn(value); return *this;} private: Aws::String m_keyArn; bool m_keyArnHasBeenSet; }; } // namespace Model } // namespace EKS } // namespace Aws