AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MultiRegionAccessPointReport.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/s3control/model/PublicAccessBlockConfiguration.h>
11#include <aws/s3control/model/MultiRegionAccessPointStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/s3control/model/RegionReport.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Xml
21{
22 class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace S3Control
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_S3CONTROL_API MultiRegionAccessPointReport();
40 AWS_S3CONTROL_API MultiRegionAccessPointReport(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
44
45
47
50 inline const Aws::String& GetName() const{ return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
53 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
54 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
55 inline MultiRegionAccessPointReport& WithName(const Aws::String& value) { SetName(value); return *this;}
56 inline MultiRegionAccessPointReport& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
57 inline MultiRegionAccessPointReport& WithName(const char* value) { SetName(value); return *this;}
59
61
68 inline const Aws::String& GetAlias() const{ return m_alias; }
69 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
70 inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; }
71 inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); }
72 inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); }
73 inline MultiRegionAccessPointReport& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
74 inline MultiRegionAccessPointReport& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
75 inline MultiRegionAccessPointReport& WithAlias(const char* value) { SetAlias(value); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
83 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
84 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
85 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
86 inline MultiRegionAccessPointReport& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
87 inline MultiRegionAccessPointReport& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
89
91
92 inline const PublicAccessBlockConfiguration& GetPublicAccessBlock() const{ return m_publicAccessBlock; }
93 inline bool PublicAccessBlockHasBeenSet() const { return m_publicAccessBlockHasBeenSet; }
94 inline void SetPublicAccessBlock(const PublicAccessBlockConfiguration& value) { m_publicAccessBlockHasBeenSet = true; m_publicAccessBlock = value; }
95 inline void SetPublicAccessBlock(PublicAccessBlockConfiguration&& value) { m_publicAccessBlockHasBeenSet = true; m_publicAccessBlock = std::move(value); }
99
101
110 inline const MultiRegionAccessPointStatus& GetStatus() const{ return m_status; }
111 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
112 inline void SetStatus(const MultiRegionAccessPointStatus& value) { m_statusHasBeenSet = true; m_status = value; }
113 inline void SetStatus(MultiRegionAccessPointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
115 inline MultiRegionAccessPointReport& WithStatus(MultiRegionAccessPointStatus&& value) { SetStatus(std::move(value)); return *this;}
117
119
123 inline const Aws::Vector<RegionReport>& GetRegions() const{ return m_regions; }
124 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
125 inline void SetRegions(const Aws::Vector<RegionReport>& value) { m_regionsHasBeenSet = true; m_regions = value; }
126 inline void SetRegions(Aws::Vector<RegionReport>&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); }
128 inline MultiRegionAccessPointReport& WithRegions(Aws::Vector<RegionReport>&& value) { SetRegions(std::move(value)); return *this;}
129 inline MultiRegionAccessPointReport& AddRegions(const RegionReport& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
130 inline MultiRegionAccessPointReport& AddRegions(RegionReport&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; }
132 private:
133
134 Aws::String m_name;
135 bool m_nameHasBeenSet = false;
136
137 Aws::String m_alias;
138 bool m_aliasHasBeenSet = false;
139
140 Aws::Utils::DateTime m_createdAt;
141 bool m_createdAtHasBeenSet = false;
142
143 PublicAccessBlockConfiguration m_publicAccessBlock;
144 bool m_publicAccessBlockHasBeenSet = false;
145
147 bool m_statusHasBeenSet = false;
148
150 bool m_regionsHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace S3Control
155} // namespace Aws
MultiRegionAccessPointReport & WithName(Aws::String &&value)
MultiRegionAccessPointReport & WithAlias(const char *value)
MultiRegionAccessPointReport & WithName(const Aws::String &value)
MultiRegionAccessPointReport & WithCreatedAt(Aws::Utils::DateTime &&value)
MultiRegionAccessPointReport & AddRegions(RegionReport &&value)
MultiRegionAccessPointReport & WithName(const char *value)
AWS_S3CONTROL_API MultiRegionAccessPointReport(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPublicAccessBlock(PublicAccessBlockConfiguration &&value)
MultiRegionAccessPointReport & WithStatus(const MultiRegionAccessPointStatus &value)
void SetPublicAccessBlock(const PublicAccessBlockConfiguration &value)
MultiRegionAccessPointReport & WithPublicAccessBlock(PublicAccessBlockConfiguration &&value)
MultiRegionAccessPointReport & WithAlias(const Aws::String &value)
MultiRegionAccessPointReport & WithAlias(Aws::String &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
MultiRegionAccessPointReport & WithPublicAccessBlock(const PublicAccessBlockConfiguration &value)
const PublicAccessBlockConfiguration & GetPublicAccessBlock() const
AWS_S3CONTROL_API MultiRegionAccessPointReport & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
MultiRegionAccessPointReport & AddRegions(const RegionReport &value)
void SetRegions(const Aws::Vector< RegionReport > &value)
MultiRegionAccessPointReport & WithCreatedAt(const Aws::Utils::DateTime &value)
MultiRegionAccessPointReport & WithStatus(MultiRegionAccessPointStatus &&value)
MultiRegionAccessPointReport & WithRegions(Aws::Vector< RegionReport > &&value)
void SetStatus(const MultiRegionAccessPointStatus &value)
MultiRegionAccessPointReport & WithRegions(const Aws::Vector< RegionReport > &value)
const MultiRegionAccessPointStatus & GetStatus() const
const Aws::Vector< RegionReport > & GetRegions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector