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
53 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
54 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
68 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
81 inline void SetType(
const Type& value) { m_typeHasBeenSet =
true; m_type = value; }
82 inline void SetType(
Type&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
107 inline void SetLastResourceAnalyzed(
const char* value) { m_lastResourceAnalyzedHasBeenSet =
true; m_lastResourceAnalyzed.assign(value); }
141 inline AnalyzerSummary&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
193 bool m_arnHasBeenSet =
false;
196 bool m_nameHasBeenSet =
false;
199 bool m_typeHasBeenSet =
false;
202 bool m_createdAtHasBeenSet =
false;
205 bool m_lastResourceAnalyzedHasBeenSet =
false;
208 bool m_lastResourceAnalyzedAtHasBeenSet =
false;
211 bool m_tagsHasBeenSet =
false;
214 bool m_statusHasBeenSet =
false;
217 bool m_statusReasonHasBeenSet =
false;
220 bool m_configurationHasBeenSet =
false;
const AnalyzerStatus & GetStatus() const
void SetStatus(AnalyzerStatus &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
AnalyzerSummary & AddTags(const char *key, const char *value)
AnalyzerSummary & AddTags(Aws::String &&key, const char *value)
bool NameHasBeenSet() const
AnalyzerSummary & AddTags(Aws::String &&key, const Aws::String &value)
void SetStatusReason(StatusReason &&value)
AnalyzerSummary & WithType(Type &&value)
AWS_ACCESSANALYZER_API AnalyzerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AnalyzerSummary & WithName(const char *value)
const AnalyzerConfiguration & GetConfiguration() const
AnalyzerSummary & WithName(Aws::String &&value)
AWS_ACCESSANALYZER_API AnalyzerSummary(Aws::Utils::Json::JsonView jsonValue)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool TagsHasBeenSet() const
const Type & GetType() const
AnalyzerSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetName(Aws::String &&value)
AnalyzerSummary & WithLastResourceAnalyzedAt(Aws::Utils::DateTime &&value)
bool ArnHasBeenSet() const
AnalyzerSummary & WithStatusReason(const StatusReason &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool CreatedAtHasBeenSet() const
AnalyzerSummary & WithConfiguration(AnalyzerConfiguration &&value)
bool TypeHasBeenSet() const
AnalyzerSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
bool ConfigurationHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AnalyzerSummary & WithArn(const char *value)
AnalyzerSummary & WithArn(Aws::String &&value)
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetConfiguration(AnalyzerConfiguration &&value)
AnalyzerSummary & AddTags(const Aws::String &key, const Aws::String &value)
void SetName(const Aws::String &value)
AnalyzerSummary & WithStatus(const AnalyzerStatus &value)
AnalyzerSummary & WithLastResourceAnalyzedAt(const Aws::Utils::DateTime &value)
bool LastResourceAnalyzedHasBeenSet() const
AnalyzerSummary & AddTags(Aws::String &&key, Aws::String &&value)
bool StatusReasonHasBeenSet() const
void SetType(const Type &value)
void SetLastResourceAnalyzed(Aws::String &&value)
void SetType(Type &&value)
AnalyzerSummary & WithLastResourceAnalyzed(const Aws::String &value)
AnalyzerSummary & WithType(const Type &value)
void SetArn(const char *value)
AnalyzerSummary & AddTags(const char *key, Aws::String &&value)
const Aws::String & GetArn() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
AnalyzerSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetLastResourceAnalyzedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastResourceAnalyzedAt() const
bool StatusHasBeenSet() const
void SetArn(Aws::String &&value)
AnalyzerSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetStatusReason(const StatusReason &value)
void SetName(const char *value)
bool LastResourceAnalyzedAtHasBeenSet() const
AnalyzerSummary & WithStatus(AnalyzerStatus &&value)
AnalyzerSummary & AddTags(const Aws::String &key, Aws::String &&value)
void SetLastResourceAnalyzed(const Aws::String &value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLastResourceAnalyzed() const
AnalyzerSummary & WithStatusReason(StatusReason &&value)
AWS_ACCESSANALYZER_API AnalyzerSummary()
AnalyzerSummary & WithLastResourceAnalyzed(Aws::String &&value)
void SetLastResourceAnalyzed(const char *value)
void SetConfiguration(const AnalyzerConfiguration &value)
const StatusReason & GetStatusReason() const
void SetStatus(const AnalyzerStatus &value)
void SetLastResourceAnalyzedAt(const Aws::Utils::DateTime &value)
AnalyzerSummary & WithArn(const Aws::String &value)
AnalyzerSummary & WithName(const Aws::String &value)
AnalyzerSummary & WithLastResourceAnalyzed(const char *value)
void SetArn(const Aws::String &value)
AnalyzerSummary & WithConfiguration(const AnalyzerConfiguration &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