/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the shared
* S3 objects.See Also:
AWS
* API Reference
The AWS KMS CMK (Key Management System Customer Managed Key) used to encrypt * S3 objects in the shared S3 Bucket. AWS Data exchange will create a KMS grant * for each subscriber to allow them to access and decrypt their entitled data that * is encrypted using this KMS key specified.
*/ inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } /** *The AWS KMS CMK (Key Management System Customer Managed Key) used to encrypt * S3 objects in the shared S3 Bucket. AWS Data exchange will create a KMS grant * for each subscriber to allow them to access and decrypt their entitled data that * is encrypted using this KMS key specified.
*/ inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } /** *The AWS KMS CMK (Key Management System Customer Managed Key) used to encrypt * S3 objects in the shared S3 Bucket. AWS Data exchange will create a KMS grant * for each subscriber to allow them to access and decrypt their entitled data that * is encrypted using this KMS key specified.
*/ inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; } /** *The AWS KMS CMK (Key Management System Customer Managed Key) used to encrypt * S3 objects in the shared S3 Bucket. AWS Data exchange will create a KMS grant * for each subscriber to allow them to access and decrypt their entitled data that * is encrypted using this KMS key specified.
*/ inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); } /** *The AWS KMS CMK (Key Management System Customer Managed Key) used to encrypt * S3 objects in the shared S3 Bucket. AWS Data exchange will create a KMS grant * for each subscriber to allow them to access and decrypt their entitled data that * is encrypted using this KMS key specified.
*/ inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); } /** *The AWS KMS CMK (Key Management System Customer Managed Key) used to encrypt * S3 objects in the shared S3 Bucket. AWS Data exchange will create a KMS grant * for each subscriber to allow them to access and decrypt their entitled data that * is encrypted using this KMS key specified.
*/ inline KmsKeyToGrant& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} /** *The AWS KMS CMK (Key Management System Customer Managed Key) used to encrypt * S3 objects in the shared S3 Bucket. AWS Data exchange will create a KMS grant * for each subscriber to allow them to access and decrypt their entitled data that * is encrypted using this KMS key specified.
*/ inline KmsKeyToGrant& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} /** *The AWS KMS CMK (Key Management System Customer Managed Key) used to encrypt * S3 objects in the shared S3 Bucket. AWS Data exchange will create a KMS grant * for each subscriber to allow them to access and decrypt their entitled data that * is encrypted using this KMS key specified.
*/ inline KmsKeyToGrant& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} private: Aws::String m_kmsKeyArn; bool m_kmsKeyArnHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws