AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MultiRegionAccessPointsAsyncResponse.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3control/model/MultiRegionAccessPointRegionalResponse.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3Control
22{
23namespace Model
24{
25
33 {
34 public:
38
39 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
47 inline const Aws::Vector<MultiRegionAccessPointRegionalResponse>& GetRegions() const{ return m_regions; }
48 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
49 inline void SetRegions(const Aws::Vector<MultiRegionAccessPointRegionalResponse>& value) { m_regionsHasBeenSet = true; m_regions = value; }
50 inline void SetRegions(Aws::Vector<MultiRegionAccessPointRegionalResponse>&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); }
53 inline MultiRegionAccessPointsAsyncResponse& AddRegions(const MultiRegionAccessPointRegionalResponse& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
54 inline MultiRegionAccessPointsAsyncResponse& AddRegions(MultiRegionAccessPointRegionalResponse&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; }
56 private:
57
59 bool m_regionsHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace S3Control
64} // namespace Aws
MultiRegionAccessPointsAsyncResponse & WithRegions(Aws::Vector< MultiRegionAccessPointRegionalResponse > &&value)
void SetRegions(Aws::Vector< MultiRegionAccessPointRegionalResponse > &&value)
MultiRegionAccessPointsAsyncResponse & AddRegions(MultiRegionAccessPointRegionalResponse &&value)
AWS_S3CONTROL_API MultiRegionAccessPointsAsyncResponse(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< MultiRegionAccessPointRegionalResponse > & GetRegions() const
AWS_S3CONTROL_API MultiRegionAccessPointsAsyncResponse & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
MultiRegionAccessPointsAsyncResponse & AddRegions(const MultiRegionAccessPointRegionalResponse &value)
void SetRegions(const Aws::Vector< MultiRegionAccessPointRegionalResponse > &value)
MultiRegionAccessPointsAsyncResponse & WithRegions(const Aws::Vector< MultiRegionAccessPointRegionalResponse > &value)
std::vector< T, Aws::Allocator< T > > Vector