/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A container for the information associated with a CreateMultiRegionAccessPoint
* request. See Also:
AWS
* API Reference
The name of the Multi-Region Access Point associated with this request.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the Multi-Region Access Point associated with this request.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the Multi-Region Access Point associated with this request.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the Multi-Region Access Point associated with this request.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the Multi-Region Access Point associated with this request.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the Multi-Region Access Point associated with this request.
*/ inline CreateMultiRegionAccessPointInput& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the Multi-Region Access Point associated with this request.
*/ inline CreateMultiRegionAccessPointInput& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the Multi-Region Access Point associated with this request.
*/ inline CreateMultiRegionAccessPointInput& WithName(const char* value) { SetName(value); return *this;} inline const PublicAccessBlockConfiguration& GetPublicAccessBlock() const{ return m_publicAccessBlock; } inline bool PublicAccessBlockHasBeenSet() const { return m_publicAccessBlockHasBeenSet; } inline void SetPublicAccessBlock(const PublicAccessBlockConfiguration& value) { m_publicAccessBlockHasBeenSet = true; m_publicAccessBlock = value; } inline void SetPublicAccessBlock(PublicAccessBlockConfiguration&& value) { m_publicAccessBlockHasBeenSet = true; m_publicAccessBlock = std::move(value); } inline CreateMultiRegionAccessPointInput& WithPublicAccessBlock(const PublicAccessBlockConfiguration& value) { SetPublicAccessBlock(value); return *this;} inline CreateMultiRegionAccessPointInput& WithPublicAccessBlock(PublicAccessBlockConfiguration&& value) { SetPublicAccessBlock(std::move(value)); return *this;} /** *The buckets in different Regions that are associated with the Multi-Region * Access Point.
*/ inline const Aws::VectorThe buckets in different Regions that are associated with the Multi-Region * Access Point.
*/ inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; } /** *The buckets in different Regions that are associated with the Multi-Region * Access Point.
*/ inline void SetRegions(const Aws::VectorThe buckets in different Regions that are associated with the Multi-Region * Access Point.
*/ inline void SetRegions(Aws::VectorThe buckets in different Regions that are associated with the Multi-Region * Access Point.
*/ inline CreateMultiRegionAccessPointInput& WithRegions(const Aws::VectorThe buckets in different Regions that are associated with the Multi-Region * Access Point.
*/ inline CreateMultiRegionAccessPointInput& WithRegions(Aws::VectorThe buckets in different Regions that are associated with the Multi-Region * Access Point.
*/ inline CreateMultiRegionAccessPointInput& AddRegions(const Region& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; } /** *The buckets in different Regions that are associated with the Multi-Region * Access Point.
*/ inline CreateMultiRegionAccessPointInput& AddRegions(Region&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; PublicAccessBlockConfiguration m_publicAccessBlock; bool m_publicAccessBlockHasBeenSet = false; Aws::Vector