/** * 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 Multi-Region Access Point details that are returned when querying about * an asynchronous request.

See Also:

AWS * API Reference

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

A collection of status information for the different Regions that a * Multi-Region Access Point supports.

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

A collection of status information for the different Regions that a * Multi-Region Access Point supports.

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

A collection of status information for the different Regions that a * Multi-Region Access Point supports.

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

A collection of status information for the different Regions that a * Multi-Region Access Point supports.

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

A collection of status information for the different Regions that a * Multi-Region Access Point supports.

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

A collection of status information for the different Regions that a * Multi-Region Access Point supports.

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

A collection of status information for the different Regions that a * Multi-Region Access Point supports.

*/ inline MultiRegionAccessPointsAsyncResponse& AddRegions(const MultiRegionAccessPointRegionalResponse& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; } /** *

A collection of status information for the different Regions that a * Multi-Region Access Point supports.

*/ inline MultiRegionAccessPointsAsyncResponse& AddRegions(MultiRegionAccessPointRegionalResponse&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; } private: Aws::Vector m_regions; bool m_regionsHasBeenSet = false; }; } // namespace Model } // namespace S3Control } // namespace Aws