/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace S3Control { namespace Model { /** *

The encryption configuration to use when storing the generated * manifest.

See Also:

AWS * API Reference

*/ class GeneratedManifestEncryption { public: AWS_S3CONTROL_API GeneratedManifestEncryption(); AWS_S3CONTROL_API GeneratedManifestEncryption(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_S3CONTROL_API GeneratedManifestEncryption& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

Specifies the use of SSE-S3 to encrypt generated manifest objects.

*/ inline const SSES3Encryption& GetSSES3() const{ return m_sSES3; } /** *

Specifies the use of SSE-S3 to encrypt generated manifest objects.

*/ inline bool SSES3HasBeenSet() const { return m_sSES3HasBeenSet; } /** *

Specifies the use of SSE-S3 to encrypt generated manifest objects.

*/ inline void SetSSES3(const SSES3Encryption& value) { m_sSES3HasBeenSet = true; m_sSES3 = value; } /** *

Specifies the use of SSE-S3 to encrypt generated manifest objects.

*/ inline void SetSSES3(SSES3Encryption&& value) { m_sSES3HasBeenSet = true; m_sSES3 = std::move(value); } /** *

Specifies the use of SSE-S3 to encrypt generated manifest objects.

*/ inline GeneratedManifestEncryption& WithSSES3(const SSES3Encryption& value) { SetSSES3(value); return *this;} /** *

Specifies the use of SSE-S3 to encrypt generated manifest objects.

*/ inline GeneratedManifestEncryption& WithSSES3(SSES3Encryption&& value) { SetSSES3(std::move(value)); return *this;} /** *

Configuration details on how SSE-KMS is used to encrypt generated manifest * objects.

*/ inline const SSEKMSEncryption& GetSSEKMS() const{ return m_sSEKMS; } /** *

Configuration details on how SSE-KMS is used to encrypt generated manifest * objects.

*/ inline bool SSEKMSHasBeenSet() const { return m_sSEKMSHasBeenSet; } /** *

Configuration details on how SSE-KMS is used to encrypt generated manifest * objects.

*/ inline void SetSSEKMS(const SSEKMSEncryption& value) { m_sSEKMSHasBeenSet = true; m_sSEKMS = value; } /** *

Configuration details on how SSE-KMS is used to encrypt generated manifest * objects.

*/ inline void SetSSEKMS(SSEKMSEncryption&& value) { m_sSEKMSHasBeenSet = true; m_sSEKMS = std::move(value); } /** *

Configuration details on how SSE-KMS is used to encrypt generated manifest * objects.

*/ inline GeneratedManifestEncryption& WithSSEKMS(const SSEKMSEncryption& value) { SetSSEKMS(value); return *this;} /** *

Configuration details on how SSE-KMS is used to encrypt generated manifest * objects.

*/ inline GeneratedManifestEncryption& WithSSEKMS(SSEKMSEncryption&& value) { SetSSEKMS(std::move(value)); return *this;} private: SSES3Encryption m_sSES3; bool m_sSES3HasBeenSet = false; SSEKMSEncryption m_sSEKMS; bool m_sSEKMSHasBeenSet = false; }; } // namespace Model } // namespace S3Control } // namespace Aws