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/core/utils/DateTime.h>
11#include <aws/accessanalyzer/model/Criterion.h>
24namespace AccessAnalyzer
51 template<
typename RuleNameT = Aws::String>
52 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet =
true; m_ruleName = std::forward<RuleNameT>(value); }
53 template<
typename RuleNameT = Aws::String>
63 template<
typename FilterT = Aws::Map<Aws::String, Criterion>>
64 void SetFilter(FilterT&& value) { m_filterHasBeenSet =
true; m_filter = std::forward<FilterT>(value); }
65 template<
typename FilterT = Aws::Map<Aws::String, Criterion>>
67 template<
typename FilterKeyT = Aws::String,
typename FilterValueT = Criterion>
69 m_filterHasBeenSet =
true; m_filter.emplace(std::forward<FilterKeyT>(key), std::forward<FilterValueT>(value));
return *
this;
79 template<
typename CreatedAtT = Aws::Utils::DateTime>
80 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
81 template<
typename CreatedAtT = Aws::Utils::DateTime>
91 template<
typename UpdatedAtT = Aws::Utils::DateTime>
92 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
93 template<
typename UpdatedAtT = Aws::Utils::DateTime>
99 bool m_ruleNameHasBeenSet =
false;
102 bool m_filterHasBeenSet =
false;
105 bool m_createdAtHasBeenSet =
false;
108 bool m_updatedAtHasBeenSet =
false;
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreatedAtHasBeenSet() const
ArchiveRuleSummary & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetRuleName(RuleNameT &&value)
ArchiveRuleSummary & WithCreatedAt(CreatedAtT &&value)
ArchiveRuleSummary & AddFilter(FilterKeyT &&key, FilterValueT &&value)
AWS_ACCESSANALYZER_API ArchiveRuleSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API ArchiveRuleSummary()=default
bool UpdatedAtHasBeenSet() const
ArchiveRuleSummary & WithRuleName(RuleNameT &&value)
void SetFilter(FilterT &&value)
ArchiveRuleSummary & WithFilter(FilterT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_ACCESSANALYZER_API ArchiveRuleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FilterHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::Map< Aws::String, Criterion > & GetFilter() const
bool RuleNameHasBeenSet() const
const Aws::String & GetRuleName() const
void SetUpdatedAt(UpdatedAtT &&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