7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/accessanalyzer/model/ResourceType.h>
11#include <aws/accessanalyzer/model/FindingStatus.h>
12#include <aws/accessanalyzer/model/FindingType.h>
25namespace AccessAnalyzer
77 inline void SetError(
const char* value) { m_errorHasBeenSet =
true; m_error.assign(value); }
90 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
91 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
105 inline void SetResource(
const char* value) { m_resourceHasBeenSet =
true; m_resource.assign(value); }
131 inline void SetResourceOwnerAccount(
const char* value) { m_resourceOwnerAccountHasBeenSet =
true; m_resourceOwnerAccount.assign(value); }
175 bool m_analyzedAtHasBeenSet =
false;
178 bool m_createdAtHasBeenSet =
false;
181 bool m_errorHasBeenSet =
false;
184 bool m_idHasBeenSet =
false;
187 bool m_resourceHasBeenSet =
false;
190 bool m_resourceTypeHasBeenSet =
false;
193 bool m_resourceOwnerAccountHasBeenSet =
false;
196 bool m_statusHasBeenSet =
false;
199 bool m_updatedAtHasBeenSet =
false;
202 bool m_findingTypeHasBeenSet =
false;
AWS_ACCESSANALYZER_API FindingSummaryV2(Aws::Utils::Json::JsonView jsonValue)
void SetResource(const Aws::String &value)
void SetResourceType(ResourceType &&value)
bool CreatedAtHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetResourceType(const ResourceType &value)
void SetId(const Aws::String &value)
void SetStatus(const FindingStatus &value)
FindingSummaryV2 & WithResourceType(ResourceType &&value)
void SetFindingType(FindingType &&value)
void SetResource(const char *value)
void SetError(Aws::String &&value)
FindingSummaryV2 & WithError(const char *value)
void SetResource(Aws::String &&value)
void SetId(const char *value)
void SetAnalyzedAt(const Aws::Utils::DateTime &value)
FindingSummaryV2 & WithResource(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
FindingSummaryV2 & WithFindingType(const FindingType &value)
const Aws::String & GetError() const
FindingSummaryV2 & WithResource(const char *value)
const FindingStatus & GetStatus() const
void SetFindingType(const FindingType &value)
bool StatusHasBeenSet() const
FindingSummaryV2 & WithId(Aws::String &&value)
bool ResourceHasBeenSet() const
FindingSummaryV2 & WithResource(Aws::String &&value)
void SetResourceOwnerAccount(const Aws::String &value)
void SetId(Aws::String &&value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
FindingSummaryV2 & WithAnalyzedAt(const Aws::Utils::DateTime &value)
FindingSummaryV2 & WithError(const Aws::String &value)
const Aws::Utils::DateTime & GetAnalyzedAt() const
const Aws::String & GetResourceOwnerAccount() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetId() const
FindingSummaryV2 & WithUpdatedAt(const Aws::Utils::DateTime &value)
FindingSummaryV2 & WithResourceOwnerAccount(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
FindingSummaryV2 & WithAnalyzedAt(Aws::Utils::DateTime &&value)
bool ResourceOwnerAccountHasBeenSet() const
FindingSummaryV2 & WithId(const Aws::String &value)
void SetError(const char *value)
void SetResourceOwnerAccount(const char *value)
void SetResourceOwnerAccount(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetAnalyzedAt(Aws::Utils::DateTime &&value)
AWS_ACCESSANALYZER_API FindingSummaryV2 & operator=(Aws::Utils::Json::JsonView jsonValue)
FindingSummaryV2 & WithStatus(const FindingStatus &value)
FindingSummaryV2 & WithResourceOwnerAccount(const Aws::String &value)
bool ErrorHasBeenSet() const
bool IdHasBeenSet() const
FindingSummaryV2 & WithResourceType(const ResourceType &value)
const FindingType & GetFindingType() const
bool ResourceTypeHasBeenSet() const
void SetError(const Aws::String &value)
FindingSummaryV2 & WithError(Aws::String &&value)
AWS_ACCESSANALYZER_API FindingSummaryV2()
FindingSummaryV2 & WithResourceOwnerAccount(Aws::String &&value)
bool FindingTypeHasBeenSet() const
bool UpdatedAtHasBeenSet() const
bool AnalyzedAtHasBeenSet() const
FindingSummaryV2 & WithCreatedAt(Aws::Utils::DateTime &&value)
FindingSummaryV2 & WithFindingType(FindingType &&value)
FindingSummaryV2 & WithId(const char *value)
FindingSummaryV2 & WithStatus(FindingStatus &&value)
void SetStatus(FindingStatus &&value)
const ResourceType & GetResourceType() const
const Aws::String & GetResource() const
FindingSummaryV2 & WithCreatedAt(const Aws::Utils::DateTime &value)
FindingSummaryV2 & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue