/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the identifier of the AWS KMS customer master key (CMK) used to
* encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric
* CMKs.See Also:
AWS
* API Reference
The identifier of the AWS KMS customer master key (CMK). Amazon Kendra * doesn't support asymmetric CMKs.
*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *The identifier of the AWS KMS customer master key (CMK). Amazon Kendra * doesn't support asymmetric CMKs.
*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *The identifier of the AWS KMS customer master key (CMK). Amazon Kendra * doesn't support asymmetric CMKs.
*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *The identifier of the AWS KMS customer master key (CMK). Amazon Kendra * doesn't support asymmetric CMKs.
*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *The identifier of the AWS KMS customer master key (CMK). Amazon Kendra * doesn't support asymmetric CMKs.
*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *The identifier of the AWS KMS customer master key (CMK). Amazon Kendra * doesn't support asymmetric CMKs.
*/ inline ServerSideEncryptionConfiguration& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *The identifier of the AWS KMS customer master key (CMK). Amazon Kendra * doesn't support asymmetric CMKs.
*/ inline ServerSideEncryptionConfiguration& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *The identifier of the AWS KMS customer master key (CMK). Amazon Kendra * doesn't support asymmetric CMKs.
*/ inline ServerSideEncryptionConfiguration& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} private: Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet; }; } // namespace Model } // namespace kendra } // namespace Aws