/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the encryption for a destination in Amazon S3.See
* Also:
AWS
* API Reference
Specifically override existing encryption information to ensure that no * encryption is used.
*/ inline const NoEncryptionConfig& GetNoEncryptionConfig() const{ return m_noEncryptionConfig; } /** *Specifically override existing encryption information to ensure that no * encryption is used.
*/ inline bool NoEncryptionConfigHasBeenSet() const { return m_noEncryptionConfigHasBeenSet; } /** *Specifically override existing encryption information to ensure that no * encryption is used.
*/ inline void SetNoEncryptionConfig(const NoEncryptionConfig& value) { m_noEncryptionConfigHasBeenSet = true; m_noEncryptionConfig = value; } /** *Specifically override existing encryption information to ensure that no * encryption is used.
*/ inline void SetNoEncryptionConfig(NoEncryptionConfig&& value) { m_noEncryptionConfigHasBeenSet = true; m_noEncryptionConfig = std::move(value); } /** *Specifically override existing encryption information to ensure that no * encryption is used.
*/ inline EncryptionConfiguration& WithNoEncryptionConfig(const NoEncryptionConfig& value) { SetNoEncryptionConfig(value); return *this;} /** *Specifically override existing encryption information to ensure that no * encryption is used.
*/ inline EncryptionConfiguration& WithNoEncryptionConfig(NoEncryptionConfig&& value) { SetNoEncryptionConfig(std::move(value)); return *this;} /** *The encryption key.
*/ inline const KMSEncryptionConfig& GetKMSEncryptionConfig() const{ return m_kMSEncryptionConfig; } /** *The encryption key.
*/ inline bool KMSEncryptionConfigHasBeenSet() const { return m_kMSEncryptionConfigHasBeenSet; } /** *The encryption key.
*/ inline void SetKMSEncryptionConfig(const KMSEncryptionConfig& value) { m_kMSEncryptionConfigHasBeenSet = true; m_kMSEncryptionConfig = value; } /** *The encryption key.
*/ inline void SetKMSEncryptionConfig(KMSEncryptionConfig&& value) { m_kMSEncryptionConfigHasBeenSet = true; m_kMSEncryptionConfig = std::move(value); } /** *The encryption key.
*/ inline EncryptionConfiguration& WithKMSEncryptionConfig(const KMSEncryptionConfig& value) { SetKMSEncryptionConfig(value); return *this;} /** *The encryption key.
*/ inline EncryptionConfiguration& WithKMSEncryptionConfig(KMSEncryptionConfig&& value) { SetKMSEncryptionConfig(std::move(value)); return *this;} private: NoEncryptionConfig m_noEncryptionConfig; bool m_noEncryptionConfigHasBeenSet; KMSEncryptionConfig m_kMSEncryptionConfig; bool m_kMSEncryptionConfigHasBeenSet; }; } // namespace Model } // namespace Firehose } // namespace Aws