/** * 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 { /** *

A container for what Amazon S3 Storage Lens configuration * includes.

See Also:

AWS * API Reference

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

A container for the S3 Storage Lens bucket includes.

*/ inline const Aws::Vector& GetBuckets() const{ return m_buckets; } /** *

A container for the S3 Storage Lens bucket includes.

*/ inline bool BucketsHasBeenSet() const { return m_bucketsHasBeenSet; } /** *

A container for the S3 Storage Lens bucket includes.

*/ inline void SetBuckets(const Aws::Vector& value) { m_bucketsHasBeenSet = true; m_buckets = value; } /** *

A container for the S3 Storage Lens bucket includes.

*/ inline void SetBuckets(Aws::Vector&& value) { m_bucketsHasBeenSet = true; m_buckets = std::move(value); } /** *

A container for the S3 Storage Lens bucket includes.

*/ inline Include& WithBuckets(const Aws::Vector& value) { SetBuckets(value); return *this;} /** *

A container for the S3 Storage Lens bucket includes.

*/ inline Include& WithBuckets(Aws::Vector&& value) { SetBuckets(std::move(value)); return *this;} /** *

A container for the S3 Storage Lens bucket includes.

*/ inline Include& AddBuckets(const Aws::String& value) { m_bucketsHasBeenSet = true; m_buckets.push_back(value); return *this; } /** *

A container for the S3 Storage Lens bucket includes.

*/ inline Include& AddBuckets(Aws::String&& value) { m_bucketsHasBeenSet = true; m_buckets.push_back(std::move(value)); return *this; } /** *

A container for the S3 Storage Lens bucket includes.

*/ inline Include& AddBuckets(const char* value) { m_bucketsHasBeenSet = true; m_buckets.push_back(value); return *this; } /** *

A container for the S3 Storage Lens Region includes.

*/ inline const Aws::Vector& GetRegions() const{ return m_regions; } /** *

A container for the S3 Storage Lens Region includes.

*/ inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; } /** *

A container for the S3 Storage Lens Region includes.

*/ inline void SetRegions(const Aws::Vector& value) { m_regionsHasBeenSet = true; m_regions = value; } /** *

A container for the S3 Storage Lens Region includes.

*/ inline void SetRegions(Aws::Vector&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); } /** *

A container for the S3 Storage Lens Region includes.

*/ inline Include& WithRegions(const Aws::Vector& value) { SetRegions(value); return *this;} /** *

A container for the S3 Storage Lens Region includes.

*/ inline Include& WithRegions(Aws::Vector&& value) { SetRegions(std::move(value)); return *this;} /** *

A container for the S3 Storage Lens Region includes.

*/ inline Include& AddRegions(const Aws::String& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; } /** *

A container for the S3 Storage Lens Region includes.

*/ inline Include& AddRegions(Aws::String&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; } /** *

A container for the S3 Storage Lens Region includes.

*/ inline Include& AddRegions(const char* value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; } private: Aws::Vector m_buckets; bool m_bucketsHasBeenSet = false; Aws::Vector m_regions; bool m_regionsHasBeenSet = false; }; } // namespace Model } // namespace S3Control } // namespace Aws