7#include <aws/accessanalyzer/AccessAnalyzerRequest.h>
8#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
9#include <aws/accessanalyzer/model/AnalyzerConfiguration.h>
10#include <aws/accessanalyzer/model/InlineArchiveRule.h>
11#include <aws/accessanalyzer/model/Type.h>
12#include <aws/core/utils/UUID.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace AccessAnalyzer {
46 template <
typename AnalyzerNameT = Aws::String>
48 m_analyzerNameHasBeenSet =
true;
49 m_analyzerName = std::forward<AnalyzerNameT>(value);
51 template <
typename AnalyzerNameT = Aws::String>
66 m_typeHasBeenSet =
true;
83 template <
typename ArchiveRulesT = Aws::Vector<InlineArchiveRule>>
85 m_archiveRulesHasBeenSet =
true;
86 m_archiveRules = std::forward<ArchiveRulesT>(value);
88 template <
typename ArchiveRulesT = Aws::Vector<InlineArchiveRule>>
93 template <
typename ArchiveRulesT = InlineArchiveRule>
95 m_archiveRulesHasBeenSet =
true;
96 m_archiveRules.emplace_back(std::forward<ArchiveRulesT>(value));
112 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 m_tagsHasBeenSet =
true;
115 m_tags = std::forward<TagsT>(value);
117 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
119 SetTags(std::forward<TagsT>(value));
122 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
124 m_tagsHasBeenSet =
true;
125 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
136 template <
typename ClientTokenT = Aws::String>
138 m_clientTokenHasBeenSet =
true;
139 m_clientToken = std::forward<ClientTokenT>(value);
141 template <
typename ClientTokenT = Aws::String>
157 template <
typename ConfigurationT = AnalyzerConfiguration>
159 m_configurationHasBeenSet =
true;
160 m_configuration = std::forward<ConfigurationT>(value);
162 template <
typename ConfigurationT = AnalyzerConfiguration>
170 bool m_analyzerNameHasBeenSet =
false;
173 bool m_typeHasBeenSet =
false;
176 bool m_archiveRulesHasBeenSet =
false;
179 bool m_tagsHasBeenSet =
false;
182 bool m_clientTokenHasBeenSet =
true;
184 AnalyzerConfiguration m_configuration;
185 bool m_configurationHasBeenSet =
false;
const Aws::Vector< InlineArchiveRule > & GetArchiveRules() const
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
bool ArchiveRulesHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateAnalyzerRequest & WithArchiveRules(ArchiveRulesT &&value)
CreateAnalyzerRequest & WithAnalyzerName(AnalyzerNameT &&value)
CreateAnalyzerRequest & WithType(Type value)
bool ConfigurationHasBeenSet() const
bool AnalyzerNameHasBeenSet() const
const Aws::String & GetClientToken() const
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
CreateAnalyzerRequest & WithTags(TagsT &&value)
void SetAnalyzerName(AnalyzerNameT &&value)
void SetClientToken(ClientTokenT &&value)
CreateAnalyzerRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const AnalyzerConfiguration & GetConfiguration() const
void SetConfiguration(ConfigurationT &&value)
bool TagsHasBeenSet() const
CreateAnalyzerRequest & AddArchiveRules(ArchiveRulesT &&value)
AWS_ACCESSANALYZER_API CreateAnalyzerRequest()=default
void SetArchiveRules(ArchiveRulesT &&value)
CreateAnalyzerRequest & WithConfiguration(ConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TypeHasBeenSet() const
const Aws::String & GetAnalyzerName() const
CreateAnalyzerRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector