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/core/utils/memory/stl/AWSMap.h>
11#include <aws/accessanalyzer/model/Criterion.h>
13#include <aws/core/utils/UUID.h>
17namespace AccessAnalyzer
47 template<
typename AnalyzerNameT = Aws::String>
48 void SetAnalyzerName(AnalyzerNameT&& value) { m_analyzerNameHasBeenSet =
true; m_analyzerName = std::forward<AnalyzerNameT>(value); }
49 template<
typename AnalyzerNameT = Aws::String>
59 template<
typename RuleNameT = Aws::String>
60 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet =
true; m_ruleName = std::forward<RuleNameT>(value); }
61 template<
typename RuleNameT = Aws::String>
71 template<
typename FilterT = Aws::Map<Aws::String, Criterion>>
72 void SetFilter(FilterT&& value) { m_filterHasBeenSet =
true; m_filter = std::forward<FilterT>(value); }
73 template<
typename FilterT = Aws::Map<Aws::String, Criterion>>
75 template<
typename FilterKeyT = Aws::String,
typename FilterValueT = Criterion>
77 m_filterHasBeenSet =
true; m_filter.emplace(std::forward<FilterKeyT>(key), std::forward<FilterValueT>(value));
return *
this;
87 template<
typename ClientTokenT = Aws::String>
88 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
89 template<
typename ClientTokenT = Aws::String>
95 bool m_analyzerNameHasBeenSet =
false;
98 bool m_ruleNameHasBeenSet =
false;
101 bool m_filterHasBeenSet =
false;
104 bool m_clientTokenHasBeenSet =
true;
bool AnalyzerNameHasBeenSet() const
CreateArchiveRuleRequest & WithFilter(FilterT &&value)
const Aws::String & GetRuleName() const
virtual const char * GetServiceRequestName() const override
void SetAnalyzerName(AnalyzerNameT &&value)
CreateArchiveRuleRequest & AddFilter(FilterKeyT &&key, FilterValueT &&value)
const Aws::String & GetAnalyzerName() const
AWS_ACCESSANALYZER_API CreateArchiveRuleRequest()=default
bool FilterHasBeenSet() const
CreateArchiveRuleRequest & WithAnalyzerName(AnalyzerNameT &&value)
bool RuleNameHasBeenSet() const
void SetFilter(FilterT &&value)
const Aws::Map< Aws::String, Criterion > & GetFilter() const
CreateArchiveRuleRequest & WithRuleName(RuleNameT &&value)
void SetClientToken(ClientTokenT &&value)
void SetRuleName(RuleNameT &&value)
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
CreateArchiveRuleRequest & WithClientToken(ClientTokenT &&value)
bool ClientTokenHasBeenSet() const
const Aws::String & GetClientToken() const
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