7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/accessanalyzer/model/Criterion.h>
23namespace AccessAnalyzer
49 template<
typename RuleNameT = Aws::String>
50 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet =
true; m_ruleName = std::forward<RuleNameT>(value); }
51 template<
typename RuleNameT = Aws::String>
61 template<
typename FilterT = Aws::Map<Aws::String, Criterion>>
62 void SetFilter(FilterT&& value) { m_filterHasBeenSet =
true; m_filter = std::forward<FilterT>(value); }
63 template<
typename FilterT = Aws::Map<Aws::String, Criterion>>
65 template<
typename FilterKeyT = Aws::String,
typename FilterValueT = Criterion>
67 m_filterHasBeenSet =
true; m_filter.emplace(std::forward<FilterKeyT>(key), std::forward<FilterValueT>(value));
return *
this;
73 bool m_ruleNameHasBeenSet =
false;
76 bool m_filterHasBeenSet =
false;
InlineArchiveRule & WithFilter(FilterT &&value)
void SetRuleName(RuleNameT &&value)
bool RuleNameHasBeenSet() const
bool FilterHasBeenSet() const
InlineArchiveRule & WithRuleName(RuleNameT &&value)
AWS_ACCESSANALYZER_API InlineArchiveRule(Aws::Utils::Json::JsonView jsonValue)
void SetFilter(FilterT &&value)
InlineArchiveRule & AddFilter(FilterKeyT &&key, FilterValueT &&value)
const Aws::Map< Aws::String, Criterion > & GetFilter() const
AWS_ACCESSANALYZER_API InlineArchiveRule()=default
AWS_ACCESSANALYZER_API InlineArchiveRule & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRuleName() const
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
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
Aws::Utils::Json::JsonValue JsonValue