7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/FindingStatus.h>
9#include <aws/accessanalyzer/model/FindingType.h>
10#include <aws/accessanalyzer/model/ResourceType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
23namespace AccessAnalyzer {
45 template <
typename AnalyzedAtT = Aws::Utils::DateTime>
47 m_analyzedAtHasBeenSet =
true;
48 m_analyzedAt = std::forward<AnalyzedAtT>(value);
50 template <
typename AnalyzedAtT = Aws::Utils::DateTime>
63 template <
typename CreatedAtT = Aws::Utils::DateTime>
65 m_createdAtHasBeenSet =
true;
66 m_createdAt = std::forward<CreatedAtT>(value);
68 template <
typename CreatedAtT = Aws::Utils::DateTime>
81 template <
typename ErrorT = Aws::String>
83 m_errorHasBeenSet =
true;
84 m_error = std::forward<ErrorT>(value);
86 template <
typename ErrorT = Aws::String>
88 SetError(std::forward<ErrorT>(value));
99 template <
typename IdT = Aws::String>
101 m_idHasBeenSet =
true;
102 m_id = std::forward<IdT>(value);
104 template <
typename IdT = Aws::String>
106 SetId(std::forward<IdT>(value));
117 template <
typename ResourceT = Aws::String>
119 m_resourceHasBeenSet =
true;
120 m_resource = std::forward<ResourceT>(value);
122 template <
typename ResourceT = Aws::String>
136 m_resourceTypeHasBeenSet =
true;
137 m_resourceType = value;
151 template <
typename ResourceOwnerAccountT = Aws::String>
153 m_resourceOwnerAccountHasBeenSet =
true;
154 m_resourceOwnerAccount = std::forward<ResourceOwnerAccountT>(value);
156 template <
typename ResourceOwnerAccountT = Aws::String>
170 m_statusHasBeenSet =
true;
185 template <
typename UpdatedAtT = Aws::Utils::DateTime>
187 m_updatedAtHasBeenSet =
true;
188 m_updatedAt = std::forward<UpdatedAtT>(value);
190 template <
typename UpdatedAtT = Aws::Utils::DateTime>
208 m_findingTypeHasBeenSet =
true;
209 m_findingType = value;
236 bool m_analyzedAtHasBeenSet =
false;
237 bool m_createdAtHasBeenSet =
false;
238 bool m_errorHasBeenSet =
false;
239 bool m_idHasBeenSet =
false;
240 bool m_resourceHasBeenSet =
false;
241 bool m_resourceTypeHasBeenSet =
false;
242 bool m_resourceOwnerAccountHasBeenSet =
false;
243 bool m_statusHasBeenSet =
false;
244 bool m_updatedAtHasBeenSet =
false;
245 bool m_findingTypeHasBeenSet =
false;
AWS_ACCESSANALYZER_API FindingSummaryV2(Aws::Utils::Json::JsonView jsonValue)
FindingSummaryV2 & WithCreatedAt(CreatedAtT &&value)
bool CreatedAtHasBeenSet() const
FindingType GetFindingType() const
FindingSummaryV2 & WithError(ErrorT &&value)
AWS_ACCESSANALYZER_API FindingSummaryV2()=default
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetError() const
FindingSummaryV2 & WithId(IdT &&value)
FindingSummaryV2 & WithAnalyzedAt(AnalyzedAtT &&value)
bool StatusHasBeenSet() const
FindingSummaryV2 & WithResourceOwnerAccount(ResourceOwnerAccountT &&value)
bool ResourceHasBeenSet() const
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetAnalyzedAt() const
const Aws::String & GetResourceOwnerAccount() const
const Aws::String & GetId() const
void SetResourceOwnerAccount(ResourceOwnerAccountT &&value)
FindingSummaryV2 & WithFindingType(FindingType value)
FindingStatus GetStatus() const
const Aws::Utils::DateTime & GetCreatedAt() const
FindingSummaryV2 & WithStatus(FindingStatus value)
bool ResourceOwnerAccountHasBeenSet() const
void SetStatus(FindingStatus value)
void SetError(ErrorT &&value)
AWS_ACCESSANALYZER_API FindingSummaryV2 & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedAt(UpdatedAtT &&value)
FindingSummaryV2 & WithUpdatedAt(UpdatedAtT &&value)
bool ErrorHasBeenSet() const
bool IdHasBeenSet() const
bool ResourceTypeHasBeenSet() const
void SetResourceType(ResourceType value)
ResourceType GetResourceType() const
bool FindingTypeHasBeenSet() const
bool UpdatedAtHasBeenSet() const
bool AnalyzedAtHasBeenSet() const
FindingSummaryV2 & WithResourceType(ResourceType value)
void SetResource(ResourceT &&value)
void SetAnalyzedAt(AnalyzedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetFindingType(FindingType value)
const Aws::String & GetResource() const
FindingSummaryV2 & WithResource(ResourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue