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
51 template<
typename AnalyzedAtT = Aws::Utils::DateTime>
52 void SetAnalyzedAt(AnalyzedAtT&& value) { m_analyzedAtHasBeenSet =
true; m_analyzedAt = std::forward<AnalyzedAtT>(value); }
53 template<
typename AnalyzedAtT = Aws::Utils::DateTime>
63 template<
typename CreatedAtT = Aws::Utils::DateTime>
64 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
65 template<
typename CreatedAtT = Aws::Utils::DateTime>
75 template<
typename ErrorT = Aws::String>
76 void SetError(ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
77 template<
typename ErrorT = Aws::String>
87 template<
typename IdT = Aws::String>
88 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
89 template<
typename IdT = Aws::String>
99 template<
typename ResourceT = Aws::String>
100 void SetResource(ResourceT&& value) { m_resourceHasBeenSet =
true; m_resource = std::forward<ResourceT>(value); }
101 template<
typename ResourceT = Aws::String>
121 template<
typename ResourceOwnerAccountT = Aws::String>
122 void SetResourceOwnerAccount(ResourceOwnerAccountT&& value) { m_resourceOwnerAccountHasBeenSet =
true; m_resourceOwnerAccount = std::forward<ResourceOwnerAccountT>(value); }
123 template<
typename ResourceOwnerAccountT = Aws::String>
143 template<
typename UpdatedAtT = Aws::Utils::DateTime>
144 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
145 template<
typename UpdatedAtT = Aws::Utils::DateTime>
165 bool m_analyzedAtHasBeenSet =
false;
168 bool m_createdAtHasBeenSet =
false;
171 bool m_errorHasBeenSet =
false;
174 bool m_idHasBeenSet =
false;
177 bool m_resourceHasBeenSet =
false;
180 bool m_resourceTypeHasBeenSet =
false;
183 bool m_resourceOwnerAccountHasBeenSet =
false;
186 bool m_statusHasBeenSet =
false;
189 bool m_updatedAtHasBeenSet =
false;
192 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