AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MultiRegionAccessPointPolicyDocument.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/EstablishedMultiRegionAccessPointPolicy.h>
9#include <aws/s3control/model/ProposedMultiRegionAccessPointPolicy.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
36 {
37 public:
41
42 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43
44
46
49 inline const EstablishedMultiRegionAccessPointPolicy& GetEstablished() const{ return m_established; }
50 inline bool EstablishedHasBeenSet() const { return m_establishedHasBeenSet; }
51 inline void SetEstablished(const EstablishedMultiRegionAccessPointPolicy& value) { m_establishedHasBeenSet = true; m_established = value; }
52 inline void SetEstablished(EstablishedMultiRegionAccessPointPolicy&& value) { m_establishedHasBeenSet = true; m_established = std::move(value); }
56
58
61 inline const ProposedMultiRegionAccessPointPolicy& GetProposed() const{ return m_proposed; }
62 inline bool ProposedHasBeenSet() const { return m_proposedHasBeenSet; }
63 inline void SetProposed(const ProposedMultiRegionAccessPointPolicy& value) { m_proposedHasBeenSet = true; m_proposed = value; }
64 inline void SetProposed(ProposedMultiRegionAccessPointPolicy&& value) { m_proposedHasBeenSet = true; m_proposed = std::move(value); }
68 private:
69
71 bool m_establishedHasBeenSet = false;
72
74 bool m_proposedHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace S3Control
79} // namespace Aws
void SetEstablished(const EstablishedMultiRegionAccessPointPolicy &value)
void SetProposed(const ProposedMultiRegionAccessPointPolicy &value)
AWS_S3CONTROL_API MultiRegionAccessPointPolicyDocument & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
MultiRegionAccessPointPolicyDocument & WithProposed(ProposedMultiRegionAccessPointPolicy &&value)
AWS_S3CONTROL_API MultiRegionAccessPointPolicyDocument(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEstablished(EstablishedMultiRegionAccessPointPolicy &&value)
MultiRegionAccessPointPolicyDocument & WithEstablished(const EstablishedMultiRegionAccessPointPolicy &value)
MultiRegionAccessPointPolicyDocument & WithEstablished(EstablishedMultiRegionAccessPointPolicy &&value)
const EstablishedMultiRegionAccessPointPolicy & GetEstablished() const
MultiRegionAccessPointPolicyDocument & WithProposed(const ProposedMultiRegionAccessPointPolicy &value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const