7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/AnalyzerConfiguration.h>
9#include <aws/accessanalyzer/model/AnalyzerStatus.h>
10#include <aws/accessanalyzer/model/StatusReason.h>
11#include <aws/accessanalyzer/model/Type.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
25namespace AccessAnalyzer {
46 template <
typename ArnT = Aws::String>
48 m_arnHasBeenSet =
true;
49 m_arn = std::forward<ArnT>(value);
51 template <
typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
83 m_typeHasBeenSet =
true;
98 template <
typename CreatedAtT = Aws::Utils::DateTime>
100 m_createdAtHasBeenSet =
true;
101 m_createdAt = std::forward<CreatedAtT>(value);
103 template <
typename CreatedAtT = Aws::Utils::DateTime>
116 template <
typename LastResourceAnalyzedT = Aws::String>
118 m_lastResourceAnalyzedHasBeenSet =
true;
119 m_lastResourceAnalyzed = std::forward<LastResourceAnalyzedT>(value);
121 template <
typename LastResourceAnalyzedT = Aws::String>
134 template <
typename LastResourceAnalyzedAtT = Aws::Utils::DateTime>
136 m_lastResourceAnalyzedAtHasBeenSet =
true;
137 m_lastResourceAnalyzedAt = std::forward<LastResourceAnalyzedAtT>(value);
139 template <
typename LastResourceAnalyzedAtT = Aws::Utils::DateTime>
157 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
159 m_tagsHasBeenSet =
true;
160 m_tags = std::forward<TagsT>(value);
162 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
164 SetTags(std::forward<TagsT>(value));
167 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
169 m_tagsHasBeenSet =
true;
170 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
188 m_statusHasBeenSet =
true;
207 template <
typename StatusReasonT = StatusReason>
209 m_statusReasonHasBeenSet =
true;
210 m_statusReason = std::forward<StatusReasonT>(value);
212 template <
typename StatusReasonT = StatusReason>
231 template <
typename ConfigurationT = AnalyzerConfiguration>
233 m_configurationHasBeenSet =
true;
234 m_configuration = std::forward<ConfigurationT>(value);
236 template <
typename ConfigurationT = AnalyzerConfiguration>
259 StatusReason m_statusReason;
261 AnalyzerConfiguration m_configuration;
262 bool m_arnHasBeenSet =
false;
263 bool m_nameHasBeenSet =
false;
264 bool m_typeHasBeenSet =
false;
265 bool m_createdAtHasBeenSet =
false;
266 bool m_lastResourceAnalyzedHasBeenSet =
false;
267 bool m_lastResourceAnalyzedAtHasBeenSet =
false;
268 bool m_tagsHasBeenSet =
false;
269 bool m_statusHasBeenSet =
false;
270 bool m_statusReasonHasBeenSet =
false;
271 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