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>
72 template<
typename FilterT = Aws::Map<Aws::String, Criterion>>
73 void SetFilter(FilterT&& value) { m_filterHasBeenSet =
true; m_filter = std::forward<FilterT>(value); }
74 template<
typename FilterT = Aws::Map<Aws::String, Criterion>>
76 template<
typename FilterKeyT = Aws::String,
typename FilterValueT = Criterion>
78 m_filterHasBeenSet =
true; m_filter.emplace(std::forward<FilterKeyT>(key), std::forward<FilterValueT>(value));
return *
this;
88 template<
typename ClientTokenT = Aws::String>
89 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
90 template<
typename ClientTokenT = Aws::String>
96 bool m_analyzerNameHasBeenSet =
false;
99 bool m_ruleNameHasBeenSet =
false;
102 bool m_filterHasBeenSet =
false;
105 bool m_clientTokenHasBeenSet =
true;
bool FilterHasBeenSet() const
UpdateArchiveRuleRequest & WithRuleName(RuleNameT &&value)
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_ACCESSANALYZER_API UpdateArchiveRuleRequest()=default
const Aws::String & GetAnalyzerName() const
const Aws::Map< Aws::String, Criterion > & GetFilter() const
UpdateArchiveRuleRequest & AddFilter(FilterKeyT &&key, FilterValueT &&value)
bool RuleNameHasBeenSet() const
UpdateArchiveRuleRequest & WithClientToken(ClientTokenT &&value)
void SetClientToken(ClientTokenT &&value)
bool ClientTokenHasBeenSet() const
bool AnalyzerNameHasBeenSet() const
void SetFilter(FilterT &&value)
UpdateArchiveRuleRequest & WithFilter(FilterT &&value)
const Aws::String & GetRuleName() const
UpdateArchiveRuleRequest & WithAnalyzerName(AnalyzerNameT &&value)
void SetAnalyzerName(AnalyzerNameT &&value)
const Aws::String & GetClientToken() const
void SetRuleName(RuleNameT &&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