AWS SDK for C++  1.9.123
AWS SDK for C++
StorageLensConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlNode;
23 } // namespace Xml
24 } // namespace Utils
25 namespace S3Control
26 {
27 namespace Model
28 {
29 
37  {
38  public:
42 
43  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
44 
45 
49  inline const Aws::String& GetId() const{ return m_id; }
50 
54  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
55 
59  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
60 
64  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
65 
69  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
70 
74  inline StorageLensConfiguration& WithId(const Aws::String& value) { SetId(value); return *this;}
75 
79  inline StorageLensConfiguration& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
80 
84  inline StorageLensConfiguration& WithId(const char* value) { SetId(value); return *this;}
85 
86 
91  inline const AccountLevel& GetAccountLevel() const{ return m_accountLevel; }
92 
97  inline bool AccountLevelHasBeenSet() const { return m_accountLevelHasBeenSet; }
98 
103  inline void SetAccountLevel(const AccountLevel& value) { m_accountLevelHasBeenSet = true; m_accountLevel = value; }
104 
109  inline void SetAccountLevel(AccountLevel&& value) { m_accountLevelHasBeenSet = true; m_accountLevel = std::move(value); }
110 
115  inline StorageLensConfiguration& WithAccountLevel(const AccountLevel& value) { SetAccountLevel(value); return *this;}
116 
121  inline StorageLensConfiguration& WithAccountLevel(AccountLevel&& value) { SetAccountLevel(std::move(value)); return *this;}
122 
123 
129  inline const Include& GetInclude() const{ return m_include; }
130 
136  inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
137 
143  inline void SetInclude(const Include& value) { m_includeHasBeenSet = true; m_include = value; }
144 
150  inline void SetInclude(Include&& value) { m_includeHasBeenSet = true; m_include = std::move(value); }
151 
157  inline StorageLensConfiguration& WithInclude(const Include& value) { SetInclude(value); return *this;}
158 
164  inline StorageLensConfiguration& WithInclude(Include&& value) { SetInclude(std::move(value)); return *this;}
165 
166 
172  inline const Exclude& GetExclude() const{ return m_exclude; }
173 
179  inline bool ExcludeHasBeenSet() const { return m_excludeHasBeenSet; }
180 
186  inline void SetExclude(const Exclude& value) { m_excludeHasBeenSet = true; m_exclude = value; }
187 
193  inline void SetExclude(Exclude&& value) { m_excludeHasBeenSet = true; m_exclude = std::move(value); }
194 
200  inline StorageLensConfiguration& WithExclude(const Exclude& value) { SetExclude(value); return *this;}
201 
207  inline StorageLensConfiguration& WithExclude(Exclude&& value) { SetExclude(std::move(value)); return *this;}
208 
209 
214  inline const StorageLensDataExport& GetDataExport() const{ return m_dataExport; }
215 
220  inline bool DataExportHasBeenSet() const { return m_dataExportHasBeenSet; }
221 
226  inline void SetDataExport(const StorageLensDataExport& value) { m_dataExportHasBeenSet = true; m_dataExport = value; }
227 
232  inline void SetDataExport(StorageLensDataExport&& value) { m_dataExportHasBeenSet = true; m_dataExport = std::move(value); }
233 
238  inline StorageLensConfiguration& WithDataExport(const StorageLensDataExport& value) { SetDataExport(value); return *this;}
239 
244  inline StorageLensConfiguration& WithDataExport(StorageLensDataExport&& value) { SetDataExport(std::move(value)); return *this;}
245 
246 
250  inline bool GetIsEnabled() const{ return m_isEnabled; }
251 
255  inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; }
256 
260  inline void SetIsEnabled(bool value) { m_isEnabledHasBeenSet = true; m_isEnabled = value; }
261 
265  inline StorageLensConfiguration& WithIsEnabled(bool value) { SetIsEnabled(value); return *this;}
266 
267 
272  inline const StorageLensAwsOrg& GetAwsOrg() const{ return m_awsOrg; }
273 
278  inline bool AwsOrgHasBeenSet() const { return m_awsOrgHasBeenSet; }
279 
284  inline void SetAwsOrg(const StorageLensAwsOrg& value) { m_awsOrgHasBeenSet = true; m_awsOrg = value; }
285 
290  inline void SetAwsOrg(StorageLensAwsOrg&& value) { m_awsOrgHasBeenSet = true; m_awsOrg = std::move(value); }
291 
296  inline StorageLensConfiguration& WithAwsOrg(const StorageLensAwsOrg& value) { SetAwsOrg(value); return *this;}
297 
302  inline StorageLensConfiguration& WithAwsOrg(StorageLensAwsOrg&& value) { SetAwsOrg(std::move(value)); return *this;}
303 
304 
311  inline const Aws::String& GetStorageLensArn() const{ return m_storageLensArn; }
312 
319  inline bool StorageLensArnHasBeenSet() const { return m_storageLensArnHasBeenSet; }
320 
327  inline void SetStorageLensArn(const Aws::String& value) { m_storageLensArnHasBeenSet = true; m_storageLensArn = value; }
328 
335  inline void SetStorageLensArn(Aws::String&& value) { m_storageLensArnHasBeenSet = true; m_storageLensArn = std::move(value); }
336 
343  inline void SetStorageLensArn(const char* value) { m_storageLensArnHasBeenSet = true; m_storageLensArn.assign(value); }
344 
351  inline StorageLensConfiguration& WithStorageLensArn(const Aws::String& value) { SetStorageLensArn(value); return *this;}
352 
359  inline StorageLensConfiguration& WithStorageLensArn(Aws::String&& value) { SetStorageLensArn(std::move(value)); return *this;}
360 
367  inline StorageLensConfiguration& WithStorageLensArn(const char* value) { SetStorageLensArn(value); return *this;}
368 
369  private:
370 
371  Aws::String m_id;
372  bool m_idHasBeenSet;
373 
374  AccountLevel m_accountLevel;
375  bool m_accountLevelHasBeenSet;
376 
377  Include m_include;
378  bool m_includeHasBeenSet;
379 
380  Exclude m_exclude;
381  bool m_excludeHasBeenSet;
382 
383  StorageLensDataExport m_dataExport;
384  bool m_dataExportHasBeenSet;
385 
386  bool m_isEnabled;
387  bool m_isEnabledHasBeenSet;
388 
389  StorageLensAwsOrg m_awsOrg;
390  bool m_awsOrgHasBeenSet;
391 
392  Aws::String m_storageLensArn;
393  bool m_storageLensArnHasBeenSet;
394  };
395 
396 } // namespace Model
397 } // namespace S3Control
398 } // namespace Aws
StorageLensAwsOrg.h
Aws::S3Control::Model::StorageLensConfiguration::ExcludeHasBeenSet
bool ExcludeHasBeenSet() const
Definition: StorageLensConfiguration.h:179
Aws::S3Control::Model::StorageLensConfiguration::operator=
StorageLensConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::StorageLensConfiguration::WithId
StorageLensConfiguration & WithId(const Aws::String &value)
Definition: StorageLensConfiguration.h:74
Aws::S3Control::Model::StorageLensConfiguration::IncludeHasBeenSet
bool IncludeHasBeenSet() const
Definition: StorageLensConfiguration.h:136
Aws::S3Control::Model::StorageLensDataExport
Definition: StorageLensDataExport.h:32
Aws::S3Control::Model::StorageLensConfiguration::WithDataExport
StorageLensConfiguration & WithDataExport(StorageLensDataExport &&value)
Definition: StorageLensConfiguration.h:244
Aws::S3Control::Model::StorageLensConfiguration::SetId
void SetId(const char *value)
Definition: StorageLensConfiguration.h:69
Aws::S3Control::Model::StorageLensConfiguration::WithInclude
StorageLensConfiguration & WithInclude(const Include &value)
Definition: StorageLensConfiguration.h:157
Aws::S3Control::Model::StorageLensConfiguration::StorageLensConfiguration
StorageLensConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::StorageLensConfiguration::AwsOrgHasBeenSet
bool AwsOrgHasBeenSet() const
Definition: StorageLensConfiguration.h:278
Aws::S3Control::Model::StorageLensConfiguration::SetDataExport
void SetDataExport(const StorageLensDataExport &value)
Definition: StorageLensConfiguration.h:226
Aws::S3Control::Model::StorageLensConfiguration::SetStorageLensArn
void SetStorageLensArn(const Aws::String &value)
Definition: StorageLensConfiguration.h:327
Aws::S3Control::Model::StorageLensConfiguration::WithAccountLevel
StorageLensConfiguration & WithAccountLevel(AccountLevel &&value)
Definition: StorageLensConfiguration.h:121
Aws::S3Control::Model::Exclude
Definition: Exclude.h:33
Aws::S3Control::Model::StorageLensConfiguration::SetInclude
void SetInclude(const Include &value)
Definition: StorageLensConfiguration.h:143
Aws::S3Control::Model::StorageLensConfiguration::GetDataExport
const StorageLensDataExport & GetDataExport() const
Definition: StorageLensConfiguration.h:214
Aws::S3Control::Model::StorageLensConfiguration::WithExclude
StorageLensConfiguration & WithExclude(const Exclude &value)
Definition: StorageLensConfiguration.h:200
Aws::S3Control::Model::StorageLensConfiguration::WithStorageLensArn
StorageLensConfiguration & WithStorageLensArn(const char *value)
Definition: StorageLensConfiguration.h:367
Aws::S3Control::Model::StorageLensConfiguration::SetExclude
void SetExclude(Exclude &&value)
Definition: StorageLensConfiguration.h:193
Aws::S3Control::Model::StorageLensConfiguration::GetAwsOrg
const StorageLensAwsOrg & GetAwsOrg() const
Definition: StorageLensConfiguration.h:272
Aws::S3Control::Model::StorageLensConfiguration::WithStorageLensArn
StorageLensConfiguration & WithStorageLensArn(const Aws::String &value)
Definition: StorageLensConfiguration.h:351
Aws::S3Control::Model::StorageLensConfiguration::WithIsEnabled
StorageLensConfiguration & WithIsEnabled(bool value)
Definition: StorageLensConfiguration.h:265
Aws::S3Control::Model::StorageLensConfiguration::SetStorageLensArn
void SetStorageLensArn(const char *value)
Definition: StorageLensConfiguration.h:343
Aws::S3Control::Model::AccountLevel
Definition: AccountLevel.h:33
S3Control_EXPORTS.h
Aws::S3Control::Model::StorageLensConfiguration::WithAwsOrg
StorageLensConfiguration & WithAwsOrg(StorageLensAwsOrg &&value)
Definition: StorageLensConfiguration.h:302
Aws::S3Control::Model::StorageLensConfiguration::SetInclude
void SetInclude(Include &&value)
Definition: StorageLensConfiguration.h:150
Aws::S3Control::Model::StorageLensConfiguration::IdHasBeenSet
bool IdHasBeenSet() const
Definition: StorageLensConfiguration.h:54
Aws::S3Control::Model::StorageLensConfiguration::SetId
void SetId(Aws::String &&value)
Definition: StorageLensConfiguration.h:64
Aws::S3Control::Model::StorageLensConfiguration::SetAwsOrg
void SetAwsOrg(const StorageLensAwsOrg &value)
Definition: StorageLensConfiguration.h:284
Aws::S3Control::Model::StorageLensConfiguration::WithId
StorageLensConfiguration & WithId(Aws::String &&value)
Definition: StorageLensConfiguration.h:79
Aws::S3Control::Model::StorageLensConfiguration::IsEnabledHasBeenSet
bool IsEnabledHasBeenSet() const
Definition: StorageLensConfiguration.h:255
AccountLevel.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::S3Control::Model::StorageLensConfiguration::SetAccountLevel
void SetAccountLevel(const AccountLevel &value)
Definition: StorageLensConfiguration.h:103
Aws::S3Control::Model::StorageLensConfiguration::GetIsEnabled
bool GetIsEnabled() const
Definition: StorageLensConfiguration.h:250
Aws::S3Control::Model::StorageLensConfiguration::StorageLensConfiguration
StorageLensConfiguration()
Aws::S3Control::Model::StorageLensConfiguration::DataExportHasBeenSet
bool DataExportHasBeenSet() const
Definition: StorageLensConfiguration.h:220
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::StorageLensConfiguration::StorageLensArnHasBeenSet
bool StorageLensArnHasBeenSet() const
Definition: StorageLensConfiguration.h:319
Exclude.h
AWSString.h
Aws::S3Control::Model::Include
Definition: Include.h:33
Aws::S3Control::Model::StorageLensConfiguration::AccountLevelHasBeenSet
bool AccountLevelHasBeenSet() const
Definition: StorageLensConfiguration.h:97
Aws::S3Control::Model::StorageLensConfiguration::SetIsEnabled
void SetIsEnabled(bool value)
Definition: StorageLensConfiguration.h:260
Aws::S3Control::Model::StorageLensConfiguration::SetAwsOrg
void SetAwsOrg(StorageLensAwsOrg &&value)
Definition: StorageLensConfiguration.h:290
Include.h
Aws::S3Control::Model::StorageLensConfiguration::SetDataExport
void SetDataExport(StorageLensDataExport &&value)
Definition: StorageLensConfiguration.h:232
Aws::S3Control::Model::StorageLensConfiguration::GetAccountLevel
const AccountLevel & GetAccountLevel() const
Definition: StorageLensConfiguration.h:91
Aws::S3Control::Model::StorageLensConfiguration::GetId
const Aws::String & GetId() const
Definition: StorageLensConfiguration.h:49
Aws::S3Control::Model::StorageLensConfiguration::WithInclude
StorageLensConfiguration & WithInclude(Include &&value)
Definition: StorageLensConfiguration.h:164
Aws::S3Control::Model::StorageLensConfiguration::SetAccountLevel
void SetAccountLevel(AccountLevel &&value)
Definition: StorageLensConfiguration.h:109
Aws::S3Control::Model::StorageLensConfiguration::WithAwsOrg
StorageLensConfiguration & WithAwsOrg(const StorageLensAwsOrg &value)
Definition: StorageLensConfiguration.h:296
Aws::S3Control::Model::StorageLensConfiguration::SetStorageLensArn
void SetStorageLensArn(Aws::String &&value)
Definition: StorageLensConfiguration.h:335
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::StorageLensConfiguration::WithAccountLevel
StorageLensConfiguration & WithAccountLevel(const AccountLevel &value)
Definition: StorageLensConfiguration.h:115
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::StorageLensAwsOrg
Definition: StorageLensAwsOrg.h:32
StorageLensDataExport.h
Aws::S3Control::Model::StorageLensConfiguration::GetInclude
const Include & GetInclude() const
Definition: StorageLensConfiguration.h:129
Aws::S3Control::Model::StorageLensConfiguration::WithExclude
StorageLensConfiguration & WithExclude(Exclude &&value)
Definition: StorageLensConfiguration.h:207
Aws::S3Control::Model::StorageLensConfiguration
Definition: StorageLensConfiguration.h:37
Aws::S3Control::Model::StorageLensConfiguration::WithStorageLensArn
StorageLensConfiguration & WithStorageLensArn(Aws::String &&value)
Definition: StorageLensConfiguration.h:359
Aws::S3Control::Model::StorageLensConfiguration::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::StorageLensConfiguration::SetExclude
void SetExclude(const Exclude &value)
Definition: StorageLensConfiguration.h:186
Aws::S3Control::Model::StorageLensConfiguration::GetExclude
const Exclude & GetExclude() const
Definition: StorageLensConfiguration.h:172
Aws::S3Control::Model::StorageLensConfiguration::SetId
void SetId(const Aws::String &value)
Definition: StorageLensConfiguration.h:59
Aws::S3Control::Model::StorageLensConfiguration::GetStorageLensArn
const Aws::String & GetStorageLensArn() const
Definition: StorageLensConfiguration.h:311
Aws::S3Control::Model::StorageLensConfiguration::WithId
StorageLensConfiguration & WithId(const char *value)
Definition: StorageLensConfiguration.h:84
Aws::S3Control::Model::StorageLensConfiguration::WithDataExport
StorageLensConfiguration & WithDataExport(const StorageLensDataExport &value)
Definition: StorageLensConfiguration.h:238