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
51 inline void SetRuleName(
const char* value) { m_ruleNameHasBeenSet =
true; m_ruleName.assign(value); }
77 bool m_ruleNameHasBeenSet =
false;
80 bool m_filterHasBeenSet =
false;
InlineArchiveRule & WithFilter(const Aws::Map< Aws::String, Criterion > &value)
InlineArchiveRule & AddFilter(const Aws::String &key, const Criterion &value)
InlineArchiveRule & AddFilter(const char *key, Criterion &&value)
void SetRuleName(Aws::String &&value)
void SetFilter(Aws::Map< Aws::String, Criterion > &&value)
bool RuleNameHasBeenSet() const
bool FilterHasBeenSet() const
AWS_ACCESSANALYZER_API InlineArchiveRule(Aws::Utils::Json::JsonView jsonValue)
InlineArchiveRule & AddFilter(const char *key, const Criterion &value)
InlineArchiveRule & WithFilter(Aws::Map< Aws::String, Criterion > &&value)
const Aws::Map< Aws::String, Criterion > & GetFilter() const
InlineArchiveRule & AddFilter(Aws::String &&key, Criterion &&value)
InlineArchiveRule & WithRuleName(const Aws::String &value)
AWS_ACCESSANALYZER_API InlineArchiveRule()
AWS_ACCESSANALYZER_API InlineArchiveRule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRuleName(const char *value)
InlineArchiveRule & AddFilter(const Aws::String &key, Criterion &&value)
const Aws::String & GetRuleName() const
void SetFilter(const Aws::Map< Aws::String, Criterion > &value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
InlineArchiveRule & AddFilter(Aws::String &&key, const Criterion &value)
void SetRuleName(const Aws::String &value)
InlineArchiveRule & WithRuleName(const char *value)
InlineArchiveRule & WithRuleName(Aws::String &&value)
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