7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/Criterion.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace AccessAnalyzer {
43 template <
typename RuleNameT = Aws::String>
45 m_ruleNameHasBeenSet =
true;
46 m_ruleName = std::forward<RuleNameT>(value);
48 template <
typename RuleNameT = Aws::String>
61 template <
typename FilterT = Aws::Map<Aws::String, Criterion>>
63 m_filterHasBeenSet =
true;
64 m_filter = std::forward<FilterT>(value);
66 template <
typename FilterT = Aws::Map<Aws::String, Criterion>>
71 template <
typename FilterKeyT = Aws::String,
typename FilterValueT = Criterion>
73 m_filterHasBeenSet =
true;
74 m_filter.emplace(std::forward<FilterKeyT>(key), std::forward<FilterValueT>(value));
82 bool m_ruleNameHasBeenSet =
false;
83 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