7#include <aws/accessanalyzer/AccessAnalyzerRequest.h>
8#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
9#include <aws/accessanalyzer/model/Criterion.h>
10#include <aws/core/utils/UUID.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17namespace AccessAnalyzer {
43 template <
typename AnalyzerNameT = Aws::String>
45 m_analyzerNameHasBeenSet =
true;
46 m_analyzerName = std::forward<AnalyzerNameT>(value);
48 template <
typename AnalyzerNameT = Aws::String>
61 template <
typename RuleNameT = Aws::String>
63 m_ruleNameHasBeenSet =
true;
64 m_ruleName = std::forward<RuleNameT>(value);
66 template <
typename RuleNameT = Aws::String>
79 template <
typename FilterT = Aws::Map<Aws::String, Criterion>>
81 m_filterHasBeenSet =
true;
82 m_filter = std::forward<FilterT>(value);
84 template <
typename FilterT = Aws::Map<Aws::String, Criterion>>
89 template <
typename FilterKeyT = Aws::String,
typename FilterValueT = Criterion>
91 m_filterHasBeenSet =
true;
92 m_filter.emplace(std::forward<FilterKeyT>(key), std::forward<FilterValueT>(value));
103 template <
typename ClientTokenT = Aws::String>
105 m_clientTokenHasBeenSet =
true;
106 m_clientToken = std::forward<ClientTokenT>(value);
108 template <
typename ClientTokenT = Aws::String>
116 bool m_analyzerNameHasBeenSet =
false;
119 bool m_ruleNameHasBeenSet =
false;
122 bool m_filterHasBeenSet =
false;
125 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