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>
52 template<
typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
54 template<
typename IdT = Aws::String>
65 template<
typename AccountLevelT = AccountLevel>
66 void SetAccountLevel(AccountLevelT&& value) { m_accountLevelHasBeenSet =
true; m_accountLevel = std::forward<AccountLevelT>(value); }
67 template<
typename AccountLevelT = AccountLevel>
79 template<
typename IncludeT = Include>
80 void SetInclude(IncludeT&& value) { m_includeHasBeenSet =
true; m_include = std::forward<IncludeT>(value); }
81 template<
typename IncludeT = Include>
93 template<
typename ExcludeT = Exclude>
94 void SetExclude(ExcludeT&& value) { m_excludeHasBeenSet =
true; m_exclude = std::forward<ExcludeT>(value); }
95 template<
typename ExcludeT = Exclude>
106 template<
typename DataExportT = StorageLensDataExport>
107 void SetDataExport(DataExportT&& value) { m_dataExportHasBeenSet =
true; m_dataExport = std::forward<DataExportT>(value); }
108 template<
typename DataExportT = StorageLensDataExport>
118 inline void SetIsEnabled(
bool value) { m_isEnabledHasBeenSet =
true; m_isEnabled = value; }
129 template<
typename AwsOrgT = StorageLensAwsOrg>
130 void SetAwsOrg(AwsOrgT&& value) { m_awsOrgHasBeenSet =
true; m_awsOrg = std::forward<AwsOrgT>(value); }
131 template<
typename AwsOrgT = StorageLensAwsOrg>
144 template<
typename StorageLensArnT = Aws::String>
145 void SetStorageLensArn(StorageLensArnT&& value) { m_storageLensArnHasBeenSet =
true; m_storageLensArn = std::forward<StorageLensArnT>(value); }
146 template<
typename StorageLensArnT = Aws::String>
152 bool m_idHasBeenSet =
false;
155 bool m_accountLevelHasBeenSet =
false;
158 bool m_includeHasBeenSet =
false;
161 bool m_excludeHasBeenSet =
false;
164 bool m_dataExportHasBeenSet =
false;
166 bool m_isEnabled{
false};
167 bool m_isEnabledHasBeenSet =
false;
169 StorageLensAwsOrg m_awsOrg;
170 bool m_awsOrgHasBeenSet =
false;
173 bool m_storageLensArnHasBeenSet =
false;
StorageLensConfiguration & WithId(IdT &&value)
bool StorageLensArnHasBeenSet() const
AWS_S3CONTROL_API StorageLensConfiguration()=default
void SetIsEnabled(bool value)
StorageLensConfiguration & WithAccountLevel(AccountLevelT &&value)
const Include & GetInclude() const
StorageLensConfiguration & WithAwsOrg(AwsOrgT &&value)
void SetInclude(IncludeT &&value)
const AccountLevel & GetAccountLevel() const
bool IdHasBeenSet() const
const Aws::String & GetStorageLensArn() const
StorageLensConfiguration & WithInclude(IncludeT &&value)
void SetExclude(ExcludeT &&value)
bool IsEnabledHasBeenSet() const
bool IncludeHasBeenSet() const
const StorageLensDataExport & GetDataExport() const
void SetAwsOrg(AwsOrgT &&value)
void SetAccountLevel(AccountLevelT &&value)
bool AwsOrgHasBeenSet() const
AWS_S3CONTROL_API StorageLensConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Exclude & GetExclude() const
bool GetIsEnabled() const
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const StorageLensAwsOrg & GetAwsOrg() const
bool AccountLevelHasBeenSet() const
bool ExcludeHasBeenSet() const
void SetDataExport(DataExportT &&value)
StorageLensConfiguration & WithExclude(ExcludeT &&value)
bool DataExportHasBeenSet() const
const Aws::String & GetId() const
AWS_S3CONTROL_API StorageLensConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStorageLensArn(StorageLensArnT &&value)
StorageLensConfiguration & WithIsEnabled(bool value)
StorageLensConfiguration & WithStorageLensArn(StorageLensArnT &&value)
StorageLensConfiguration & WithDataExport(DataExportT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String