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

Specifies the inventory configuration for an Amazon S3 bucket.

See * Also:

AWS * API Reference

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

Contains the bucket name, file format, bucket owner (optional), and prefix * (optional) where inventory results are published.

*/ inline const InventoryS3BucketDestination& GetS3BucketDestination() const{ return m_s3BucketDestination; } /** *

Contains the bucket name, file format, bucket owner (optional), and prefix * (optional) where inventory results are published.

*/ inline bool S3BucketDestinationHasBeenSet() const { return m_s3BucketDestinationHasBeenSet; } /** *

Contains the bucket name, file format, bucket owner (optional), and prefix * (optional) where inventory results are published.

*/ inline void SetS3BucketDestination(const InventoryS3BucketDestination& value) { m_s3BucketDestinationHasBeenSet = true; m_s3BucketDestination = value; } /** *

Contains the bucket name, file format, bucket owner (optional), and prefix * (optional) where inventory results are published.

*/ inline void SetS3BucketDestination(InventoryS3BucketDestination&& value) { m_s3BucketDestinationHasBeenSet = true; m_s3BucketDestination = std::move(value); } /** *

Contains the bucket name, file format, bucket owner (optional), and prefix * (optional) where inventory results are published.

*/ inline InventoryDestination& WithS3BucketDestination(const InventoryS3BucketDestination& value) { SetS3BucketDestination(value); return *this;} /** *

Contains the bucket name, file format, bucket owner (optional), and prefix * (optional) where inventory results are published.

*/ inline InventoryDestination& WithS3BucketDestination(InventoryS3BucketDestination&& value) { SetS3BucketDestination(std::move(value)); return *this;} private: InventoryS3BucketDestination m_s3BucketDestination; bool m_s3BucketDestinationHasBeenSet; }; } // namespace Model } // namespace S3 } // namespace Aws