AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StorageLensConfiguration.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3control/model/AccountLevel.h>
10#include <aws/s3control/model/Include.h>
11#include <aws/s3control/model/Exclude.h>
12#include <aws/s3control/model/StorageLensDataExport.h>
13#include <aws/s3control/model/StorageLensAwsOrg.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 StorageLensConfiguration();
40 AWS_S3CONTROL_API StorageLensConfiguration(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& GetId() const{ return m_id; }
51 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
53 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
54 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
55 inline StorageLensConfiguration& WithId(const Aws::String& value) { SetId(value); return *this;}
56 inline StorageLensConfiguration& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
57 inline StorageLensConfiguration& WithId(const char* value) { SetId(value); return *this;}
59
61
65 inline const AccountLevel& GetAccountLevel() const{ return m_accountLevel; }
66 inline bool AccountLevelHasBeenSet() const { return m_accountLevelHasBeenSet; }
67 inline void SetAccountLevel(const AccountLevel& value) { m_accountLevelHasBeenSet = true; m_accountLevel = value; }
68 inline void SetAccountLevel(AccountLevel&& value) { m_accountLevelHasBeenSet = true; m_accountLevel = std::move(value); }
69 inline StorageLensConfiguration& WithAccountLevel(const AccountLevel& value) { SetAccountLevel(value); return *this;}
70 inline StorageLensConfiguration& WithAccountLevel(AccountLevel&& value) { SetAccountLevel(std::move(value)); return *this;}
72
74
79 inline const Include& GetInclude() const{ return m_include; }
80 inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
81 inline void SetInclude(const Include& value) { m_includeHasBeenSet = true; m_include = value; }
82 inline void SetInclude(Include&& value) { m_includeHasBeenSet = true; m_include = std::move(value); }
83 inline StorageLensConfiguration& WithInclude(const Include& value) { SetInclude(value); return *this;}
84 inline StorageLensConfiguration& WithInclude(Include&& value) { SetInclude(std::move(value)); return *this;}
86
88
93 inline const Exclude& GetExclude() const{ return m_exclude; }
94 inline bool ExcludeHasBeenSet() const { return m_excludeHasBeenSet; }
95 inline void SetExclude(const Exclude& value) { m_excludeHasBeenSet = true; m_exclude = value; }
96 inline void SetExclude(Exclude&& value) { m_excludeHasBeenSet = true; m_exclude = std::move(value); }
97 inline StorageLensConfiguration& WithExclude(const Exclude& value) { SetExclude(value); return *this;}
98 inline StorageLensConfiguration& WithExclude(Exclude&& value) { SetExclude(std::move(value)); return *this;}
100
102
106 inline const StorageLensDataExport& GetDataExport() const{ return m_dataExport; }
107 inline bool DataExportHasBeenSet() const { return m_dataExportHasBeenSet; }
108 inline void SetDataExport(const StorageLensDataExport& value) { m_dataExportHasBeenSet = true; m_dataExport = value; }
109 inline void SetDataExport(StorageLensDataExport&& value) { m_dataExportHasBeenSet = true; m_dataExport = std::move(value); }
110 inline StorageLensConfiguration& WithDataExport(const StorageLensDataExport& value) { SetDataExport(value); return *this;}
111 inline StorageLensConfiguration& WithDataExport(StorageLensDataExport&& value) { SetDataExport(std::move(value)); return *this;}
113
115
118 inline bool GetIsEnabled() const{ return m_isEnabled; }
119 inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; }
120 inline void SetIsEnabled(bool value) { m_isEnabledHasBeenSet = true; m_isEnabled = value; }
121 inline StorageLensConfiguration& WithIsEnabled(bool value) { SetIsEnabled(value); return *this;}
123
125
129 inline const StorageLensAwsOrg& GetAwsOrg() const{ return m_awsOrg; }
130 inline bool AwsOrgHasBeenSet() const { return m_awsOrgHasBeenSet; }
131 inline void SetAwsOrg(const StorageLensAwsOrg& value) { m_awsOrgHasBeenSet = true; m_awsOrg = value; }
132 inline void SetAwsOrg(StorageLensAwsOrg&& value) { m_awsOrgHasBeenSet = true; m_awsOrg = std::move(value); }
133 inline StorageLensConfiguration& WithAwsOrg(const StorageLensAwsOrg& value) { SetAwsOrg(value); return *this;}
134 inline StorageLensConfiguration& WithAwsOrg(StorageLensAwsOrg&& value) { SetAwsOrg(std::move(value)); return *this;}
136
138
144 inline const Aws::String& GetStorageLensArn() const{ return m_storageLensArn; }
145 inline bool StorageLensArnHasBeenSet() const { return m_storageLensArnHasBeenSet; }
146 inline void SetStorageLensArn(const Aws::String& value) { m_storageLensArnHasBeenSet = true; m_storageLensArn = value; }
147 inline void SetStorageLensArn(Aws::String&& value) { m_storageLensArnHasBeenSet = true; m_storageLensArn = std::move(value); }
148 inline void SetStorageLensArn(const char* value) { m_storageLensArnHasBeenSet = true; m_storageLensArn.assign(value); }
149 inline StorageLensConfiguration& WithStorageLensArn(const Aws::String& value) { SetStorageLensArn(value); return *this;}
150 inline StorageLensConfiguration& WithStorageLensArn(Aws::String&& value) { SetStorageLensArn(std::move(value)); return *this;}
151 inline StorageLensConfiguration& WithStorageLensArn(const char* value) { SetStorageLensArn(value); return *this;}
153 private:
154
155 Aws::String m_id;
156 bool m_idHasBeenSet = false;
157
158 AccountLevel m_accountLevel;
159 bool m_accountLevelHasBeenSet = false;
160
161 Include m_include;
162 bool m_includeHasBeenSet = false;
163
164 Exclude m_exclude;
165 bool m_excludeHasBeenSet = false;
166
167 StorageLensDataExport m_dataExport;
168 bool m_dataExportHasBeenSet = false;
169
170 bool m_isEnabled;
171 bool m_isEnabledHasBeenSet = false;
172
173 StorageLensAwsOrg m_awsOrg;
174 bool m_awsOrgHasBeenSet = false;
175
176 Aws::String m_storageLensArn;
177 bool m_storageLensArnHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace S3Control
182} // namespace Aws
StorageLensConfiguration & WithInclude(Include &&value)
StorageLensConfiguration & WithInclude(const Include &value)
StorageLensConfiguration & WithId(const Aws::String &value)
StorageLensConfiguration & WithDataExport(StorageLensDataExport &&value)
StorageLensConfiguration & WithAccountLevel(const AccountLevel &value)
StorageLensConfiguration & WithStorageLensArn(Aws::String &&value)
StorageLensConfiguration & WithStorageLensArn(const char *value)
StorageLensConfiguration & WithId(Aws::String &&value)
StorageLensConfiguration & WithStorageLensArn(const Aws::String &value)
StorageLensConfiguration & WithAwsOrg(const StorageLensAwsOrg &value)
const StorageLensDataExport & GetDataExport() const
AWS_S3CONTROL_API StorageLensConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StorageLensConfiguration & WithId(const char *value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
StorageLensConfiguration & WithAccountLevel(AccountLevel &&value)
void SetDataExport(const StorageLensDataExport &value)
AWS_S3CONTROL_API StorageLensConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
StorageLensConfiguration & WithIsEnabled(bool value)
StorageLensConfiguration & WithExclude(Exclude &&value)
StorageLensConfiguration & WithAwsOrg(StorageLensAwsOrg &&value)
StorageLensConfiguration & WithExclude(const Exclude &value)
StorageLensConfiguration & WithDataExport(const StorageLensDataExport &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String