/** * 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 S3 { namespace Model { /** *

Contains the type of server-side encryption used to encrypt the inventory * results.

See Also:

AWS * API Reference

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

Specifies the use of SSE-S3 to encrypt delivered inventory reports.

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

Specifies the use of SSE-S3 to encrypt delivered inventory reports.

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

Specifies the use of SSE-S3 to encrypt delivered inventory reports.

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

Specifies the use of SSE-S3 to encrypt delivered inventory reports.

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

Specifies the use of SSE-S3 to encrypt delivered inventory reports.

*/ inline InventoryEncryption& WithSSES3(const SSES3& value) { SetSSES3(value); return *this;} /** *

Specifies the use of SSE-S3 to encrypt delivered inventory reports.

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

Specifies the use of SSE-KMS to encrypt delivered inventory reports.

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

Specifies the use of SSE-KMS to encrypt delivered inventory reports.

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

Specifies the use of SSE-KMS to encrypt delivered inventory reports.

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

Specifies the use of SSE-KMS to encrypt delivered inventory reports.

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

Specifies the use of SSE-KMS to encrypt delivered inventory reports.

*/ inline InventoryEncryption& WithSSEKMS(const SSEKMS& value) { SetSSEKMS(value); return *this;} /** *

Specifies the use of SSE-KMS to encrypt delivered inventory reports.

*/ inline InventoryEncryption& WithSSEKMS(SSEKMS&& value) { SetSSEKMS(std::move(value)); return *this;} private: SSES3 m_sSES3; bool m_sSES3HasBeenSet; SSEKMS m_sSEKMS; bool m_sSEKMSHasBeenSet; }; } // namespace Model } // namespace S3 } // namespace Aws