7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/accessanalyzer/model/Type.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/accessanalyzer/model/AnalyzerStatus.h>
13#include <aws/accessanalyzer/model/StatusReason.h>
14#include <aws/accessanalyzer/model/AnalyzerConfiguration.h>
27namespace AccessAnalyzer
52 template<
typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
54 template<
typename ArnT = Aws::String>
64 template<
typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
66 template<
typename NameT = Aws::String>
77 inline void SetType(
Type value) { m_typeHasBeenSet =
true; m_type = value; }
87 template<
typename CreatedAtT = Aws::Utils::DateTime>
88 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
89 template<
typename CreatedAtT = Aws::Utils::DateTime>
99 template<
typename LastResourceAnalyzedT = Aws::String>
100 void SetLastResourceAnalyzed(LastResourceAnalyzedT&& value) { m_lastResourceAnalyzedHasBeenSet =
true; m_lastResourceAnalyzed = std::forward<LastResourceAnalyzedT>(value); }
101 template<
typename LastResourceAnalyzedT = Aws::String>
111 template<
typename LastResourceAnalyzedAtT = Aws::Utils::DateTime>
112 void SetLastResourceAnalyzedAt(LastResourceAnalyzedAtT&& value) { m_lastResourceAnalyzedAtHasBeenSet =
true; m_lastResourceAnalyzedAt = std::forward<LastResourceAnalyzedAtT>(value); }
113 template<
typename LastResourceAnalyzedAtT = Aws::Utils::DateTime>
123 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
125 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
127 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
129 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
159 template<
typename StatusReasonT = StatusReason>
160 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
161 template<
typename StatusReasonT = StatusReason>
172 template<
typename ConfigurationT = AnalyzerConfiguration>
173 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
174 template<
typename ConfigurationT = AnalyzerConfiguration>
180 bool m_arnHasBeenSet =
false;
183 bool m_nameHasBeenSet =
false;
186 bool m_typeHasBeenSet =
false;
189 bool m_createdAtHasBeenSet =
false;
192 bool m_lastResourceAnalyzedHasBeenSet =
false;
195 bool m_lastResourceAnalyzedAtHasBeenSet =
false;
198 bool m_tagsHasBeenSet =
false;
201 bool m_statusHasBeenSet =
false;
203 StatusReason m_statusReason;
204 bool m_statusReasonHasBeenSet =
false;
206 AnalyzerConfiguration m_configuration;
207 bool m_configurationHasBeenSet =
false;
bool NameHasBeenSet() const
AnalyzerSummary & WithStatus(AnalyzerStatus value)
void SetLastResourceAnalyzed(LastResourceAnalyzedT &&value)
AWS_ACCESSANALYZER_API AnalyzerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConfiguration(ConfigurationT &&value)
AnalyzerSummary & WithArn(ArnT &&value)
AnalyzerSummary & WithTags(TagsT &&value)
const AnalyzerConfiguration & GetConfiguration() const
AWS_ACCESSANALYZER_API AnalyzerSummary(Aws::Utils::Json::JsonView jsonValue)
bool TagsHasBeenSet() const
void SetArn(ArnT &&value)
bool ArnHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AnalyzerSummary & WithConfiguration(ConfigurationT &&value)
bool CreatedAtHasBeenSet() const
AnalyzerSummary & WithName(NameT &&value)
bool TypeHasBeenSet() const
bool ConfigurationHasBeenSet() const
const Aws::String & GetName() const
AnalyzerStatus GetStatus() const
void SetStatus(AnalyzerStatus value)
AnalyzerSummary & WithLastResourceAnalyzedAt(LastResourceAnalyzedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool LastResourceAnalyzedHasBeenSet() const
AnalyzerSummary & WithCreatedAt(CreatedAtT &&value)
bool StatusReasonHasBeenSet() const
AnalyzerSummary & WithType(Type value)
void SetStatusReason(StatusReasonT &&value)
AWS_ACCESSANALYZER_API AnalyzerSummary()=default
const Aws::String & GetArn() const
AnalyzerSummary & WithLastResourceAnalyzed(LastResourceAnalyzedT &&value)
const Aws::Utils::DateTime & GetLastResourceAnalyzedAt() const
bool StatusHasBeenSet() const
bool LastResourceAnalyzedAtHasBeenSet() const
AnalyzerSummary & WithStatusReason(StatusReasonT &&value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTags(TagsT &&value)
const Aws::String & GetLastResourceAnalyzed() const
AnalyzerSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetCreatedAt(CreatedAtT &&value)
const StatusReason & GetStatusReason() const
void SetName(NameT &&value)
void SetLastResourceAnalyzedAt(LastResourceAnalyzedAtT &&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