7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/AccessAnalyzerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/accessanalyzer/model/Type.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/accessanalyzer/model/AnalyzerConfiguration.h>
14#include <aws/accessanalyzer/model/InlineArchiveRule.h>
16#include <aws/core/utils/UUID.h>
20namespace AccessAnalyzer
50 template<
typename AnalyzerNameT = Aws::String>
51 void SetAnalyzerName(AnalyzerNameT&& value) { m_analyzerNameHasBeenSet =
true; m_analyzerName = std::forward<AnalyzerNameT>(value); }
52 template<
typename AnalyzerNameT = Aws::String>
63 inline void SetType(
Type value) { m_typeHasBeenSet =
true; m_type = value; }
75 template<
typename ArchiveRulesT = Aws::Vector<InlineArchiveRule>>
76 void SetArchiveRules(ArchiveRulesT&& value) { m_archiveRulesHasBeenSet =
true; m_archiveRules = std::forward<ArchiveRulesT>(value); }
77 template<
typename ArchiveRulesT = Aws::Vector<InlineArchiveRule>>
79 template<
typename ArchiveRulesT = InlineArchiveRule>
94 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
95 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
96 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
98 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
100 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
110 template<
typename ClientTokenT = Aws::String>
111 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
112 template<
typename ClientTokenT = Aws::String>
125 template<
typename ConfigurationT = AnalyzerConfiguration>
126 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
127 template<
typename ConfigurationT = AnalyzerConfiguration>
133 bool m_analyzerNameHasBeenSet =
false;
136 bool m_typeHasBeenSet =
false;
139 bool m_archiveRulesHasBeenSet =
false;
142 bool m_tagsHasBeenSet =
false;
145 bool m_clientTokenHasBeenSet =
true;
147 AnalyzerConfiguration m_configuration;
148 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