/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies how Amazon CloudWatch data should be encrypted.See
* Also:
AWS
* API Reference
The encryption mode to use for CloudWatch data.
*/ inline const CloudWatchEncryptionMode& GetCloudWatchEncryptionMode() const{ return m_cloudWatchEncryptionMode; } /** *The encryption mode to use for CloudWatch data.
*/ inline bool CloudWatchEncryptionModeHasBeenSet() const { return m_cloudWatchEncryptionModeHasBeenSet; } /** *The encryption mode to use for CloudWatch data.
*/ inline void SetCloudWatchEncryptionMode(const CloudWatchEncryptionMode& value) { m_cloudWatchEncryptionModeHasBeenSet = true; m_cloudWatchEncryptionMode = value; } /** *The encryption mode to use for CloudWatch data.
*/ inline void SetCloudWatchEncryptionMode(CloudWatchEncryptionMode&& value) { m_cloudWatchEncryptionModeHasBeenSet = true; m_cloudWatchEncryptionMode = std::move(value); } /** *The encryption mode to use for CloudWatch data.
*/ inline CloudWatchEncryption& WithCloudWatchEncryptionMode(const CloudWatchEncryptionMode& value) { SetCloudWatchEncryptionMode(value); return *this;} /** *The encryption mode to use for CloudWatch data.
*/ inline CloudWatchEncryption& WithCloudWatchEncryptionMode(CloudWatchEncryptionMode&& value) { SetCloudWatchEncryptionMode(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the * data.
*/ inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } /** *The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the * data.
*/ inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the * data.
*/ inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; } /** *The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the * data.
*/ inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the * data.
*/ inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); } /** *The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the * data.
*/ inline CloudWatchEncryption& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the * data.
*/ inline CloudWatchEncryption& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the * data.
*/ inline CloudWatchEncryption& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} private: CloudWatchEncryptionMode m_cloudWatchEncryptionMode; bool m_cloudWatchEncryptionModeHasBeenSet = false; Aws::String m_kmsKeyArn; bool m_kmsKeyArnHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws