7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/Criterion.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace AccessAnalyzer {
45 template <
typename RuleNameT = Aws::String>
47 m_ruleNameHasBeenSet =
true;
48 m_ruleName = std::forward<RuleNameT>(value);
50 template <
typename RuleNameT = Aws::String>
63 template <
typename FilterT = Aws::Map<Aws::String, Criterion>>
65 m_filterHasBeenSet =
true;
66 m_filter = std::forward<FilterT>(value);
68 template <
typename FilterT = Aws::Map<Aws::String, Criterion>>
73 template <
typename FilterKeyT = Aws::String,
typename FilterValueT = Criterion>
75 m_filterHasBeenSet =
true;
76 m_filter.emplace(std::forward<FilterKeyT>(key), std::forward<FilterValueT>(value));
87 template <
typename CreatedAtT = Aws::Utils::DateTime>
89 m_createdAtHasBeenSet =
true;
90 m_createdAt = std::forward<CreatedAtT>(value);
92 template <
typename CreatedAtT = Aws::Utils::DateTime>
105 template <
typename UpdatedAtT = Aws::Utils::DateTime>
107 m_updatedAtHasBeenSet =
true;
108 m_updatedAt = std::forward<UpdatedAtT>(value);
110 template <
typename UpdatedAtT = Aws::Utils::DateTime>
124 bool m_ruleNameHasBeenSet =
false;
125 bool m_filterHasBeenSet =
false;
126 bool m_createdAtHasBeenSet =
false;
127 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