AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
StorageLensConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3control/S3Control_EXPORTS.h>
9#include <aws/s3control/model/AccountLevel.h>
10#include <aws/s3control/model/Exclude.h>
11#include <aws/s3control/model/Include.h>
12#include <aws/s3control/model/StorageLensAwsOrg.h>
13#include <aws/s3control/model/StorageLensDataExport.h>
14#include <aws/s3control/model/StorageLensExpandedPrefixesDataExport.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Xml {
21class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace S3Control {
25namespace Model {
26
34 public:
35 AWS_S3CONTROL_API StorageLensConfiguration() = default;
36 AWS_S3CONTROL_API StorageLensConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template <typename IdT = Aws::String>
48 void SetId(IdT&& value) {
49 m_idHasBeenSet = true;
50 m_id = std::forward<IdT>(value);
51 }
52 template <typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
55 return *this;
56 }
58
60
64 inline const AccountLevel& GetAccountLevel() const { return m_accountLevel; }
65 inline bool AccountLevelHasBeenSet() const { return m_accountLevelHasBeenSet; }
66 template <typename AccountLevelT = AccountLevel>
67 void SetAccountLevel(AccountLevelT&& value) {
68 m_accountLevelHasBeenSet = true;
69 m_accountLevel = std::forward<AccountLevelT>(value);
70 }
71 template <typename AccountLevelT = AccountLevel>
73 SetAccountLevel(std::forward<AccountLevelT>(value));
74 return *this;
75 }
77
79
84 inline const Include& GetInclude() const { return m_include; }
85 inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
86 template <typename IncludeT = Include>
87 void SetInclude(IncludeT&& value) {
88 m_includeHasBeenSet = true;
89 m_include = std::forward<IncludeT>(value);
90 }
91 template <typename IncludeT = Include>
93 SetInclude(std::forward<IncludeT>(value));
94 return *this;
95 }
97
99
104 inline const Exclude& GetExclude() const { return m_exclude; }
105 inline bool ExcludeHasBeenSet() const { return m_excludeHasBeenSet; }
106 template <typename ExcludeT = Exclude>
107 void SetExclude(ExcludeT&& value) {
108 m_excludeHasBeenSet = true;
109 m_exclude = std::forward<ExcludeT>(value);
110 }
111 template <typename ExcludeT = Exclude>
113 SetExclude(std::forward<ExcludeT>(value));
114 return *this;
115 }
117
119
123 inline const StorageLensDataExport& GetDataExport() const { return m_dataExport; }
124 inline bool DataExportHasBeenSet() const { return m_dataExportHasBeenSet; }
125 template <typename DataExportT = StorageLensDataExport>
126 void SetDataExport(DataExportT&& value) {
127 m_dataExportHasBeenSet = true;
128 m_dataExport = std::forward<DataExportT>(value);
129 }
130 template <typename DataExportT = StorageLensDataExport>
132 SetDataExport(std::forward<DataExportT>(value));
133 return *this;
134 }
136
138
142 inline const StorageLensExpandedPrefixesDataExport& GetExpandedPrefixesDataExport() const { return m_expandedPrefixesDataExport; }
143 inline bool ExpandedPrefixesDataExportHasBeenSet() const { return m_expandedPrefixesDataExportHasBeenSet; }
144 template <typename ExpandedPrefixesDataExportT = StorageLensExpandedPrefixesDataExport>
145 void SetExpandedPrefixesDataExport(ExpandedPrefixesDataExportT&& value) {
146 m_expandedPrefixesDataExportHasBeenSet = true;
147 m_expandedPrefixesDataExport = std::forward<ExpandedPrefixesDataExportT>(value);
148 }
149 template <typename ExpandedPrefixesDataExportT = StorageLensExpandedPrefixesDataExport>
150 StorageLensConfiguration& WithExpandedPrefixesDataExport(ExpandedPrefixesDataExportT&& value) {
151 SetExpandedPrefixesDataExport(std::forward<ExpandedPrefixesDataExportT>(value));
152 return *this;
153 }
155
157
160 inline bool GetIsEnabled() const { return m_isEnabled; }
161 inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; }
162 inline void SetIsEnabled(bool value) {
163 m_isEnabledHasBeenSet = true;
164 m_isEnabled = value;
165 }
167 SetIsEnabled(value);
168 return *this;
169 }
171
173
177 inline const StorageLensAwsOrg& GetAwsOrg() const { return m_awsOrg; }
178 inline bool AwsOrgHasBeenSet() const { return m_awsOrgHasBeenSet; }
179 template <typename AwsOrgT = StorageLensAwsOrg>
180 void SetAwsOrg(AwsOrgT&& value) {
181 m_awsOrgHasBeenSet = true;
182 m_awsOrg = std::forward<AwsOrgT>(value);
183 }
184 template <typename AwsOrgT = StorageLensAwsOrg>
186 SetAwsOrg(std::forward<AwsOrgT>(value));
187 return *this;
188 }
190
192
198 inline const Aws::String& GetStorageLensArn() const { return m_storageLensArn; }
199 inline bool StorageLensArnHasBeenSet() const { return m_storageLensArnHasBeenSet; }
200 template <typename StorageLensArnT = Aws::String>
201 void SetStorageLensArn(StorageLensArnT&& value) {
202 m_storageLensArnHasBeenSet = true;
203 m_storageLensArn = std::forward<StorageLensArnT>(value);
204 }
205 template <typename StorageLensArnT = Aws::String>
207 SetStorageLensArn(std::forward<StorageLensArnT>(value));
208 return *this;
209 }
211
213
225 inline const Aws::String& GetPrefixDelimiter() const { return m_prefixDelimiter; }
226 inline bool PrefixDelimiterHasBeenSet() const { return m_prefixDelimiterHasBeenSet; }
227 template <typename PrefixDelimiterT = Aws::String>
228 void SetPrefixDelimiter(PrefixDelimiterT&& value) {
229 m_prefixDelimiterHasBeenSet = true;
230 m_prefixDelimiter = std::forward<PrefixDelimiterT>(value);
231 }
232 template <typename PrefixDelimiterT = Aws::String>
234 SetPrefixDelimiter(std::forward<PrefixDelimiterT>(value));
235 return *this;
236 }
238 private:
239 Aws::String m_id;
240
241 AccountLevel m_accountLevel;
242
243 Include m_include;
244
245 Exclude m_exclude;
246
247 StorageLensDataExport m_dataExport;
248
249 StorageLensExpandedPrefixesDataExport m_expandedPrefixesDataExport;
250
251 bool m_isEnabled{false};
252
253 StorageLensAwsOrg m_awsOrg;
254
255 Aws::String m_storageLensArn;
256
257 Aws::String m_prefixDelimiter;
258 bool m_idHasBeenSet = false;
259 bool m_accountLevelHasBeenSet = false;
260 bool m_includeHasBeenSet = false;
261 bool m_excludeHasBeenSet = false;
262 bool m_dataExportHasBeenSet = false;
263 bool m_expandedPrefixesDataExportHasBeenSet = false;
264 bool m_isEnabledHasBeenSet = false;
265 bool m_awsOrgHasBeenSet = false;
266 bool m_storageLensArnHasBeenSet = false;
267 bool m_prefixDelimiterHasBeenSet = false;
268};
269
270} // namespace Model
271} // namespace S3Control
272} // namespace Aws
StorageLensConfiguration & WithId(IdT &&value)
AWS_S3CONTROL_API StorageLensConfiguration()=default
StorageLensConfiguration & WithAccountLevel(AccountLevelT &&value)
StorageLensConfiguration & WithAwsOrg(AwsOrgT &&value)
const StorageLensExpandedPrefixesDataExport & GetExpandedPrefixesDataExport() const
StorageLensConfiguration & WithExpandedPrefixesDataExport(ExpandedPrefixesDataExportT &&value)
StorageLensConfiguration & WithInclude(IncludeT &&value)
StorageLensConfiguration & WithPrefixDelimiter(PrefixDelimiterT &&value)
const StorageLensDataExport & GetDataExport() const
AWS_S3CONTROL_API StorageLensConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetExpandedPrefixesDataExport(ExpandedPrefixesDataExportT &&value)
StorageLensConfiguration & WithExclude(ExcludeT &&value)
AWS_S3CONTROL_API StorageLensConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
StorageLensConfiguration & WithIsEnabled(bool value)
StorageLensConfiguration & WithStorageLensArn(StorageLensArnT &&value)
StorageLensConfiguration & WithDataExport(DataExportT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String