7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/FindingDetails.h>
9#include <aws/accessanalyzer/model/FindingStatus.h>
10#include <aws/accessanalyzer/model/FindingType.h>
11#include <aws/accessanalyzer/model/ResourceType.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace AccessAnalyzer {
41 template <
typename AnalyzedAtT = Aws::Utils::DateTime>
43 m_analyzedAtHasBeenSet =
true;
44 m_analyzedAt = std::forward<AnalyzedAtT>(value);
46 template <
typename AnalyzedAtT = Aws::Utils::DateTime>
58 template <
typename CreatedAtT = Aws::Utils::DateTime>
60 m_createdAtHasBeenSet =
true;
61 m_createdAt = std::forward<CreatedAtT>(value);
63 template <
typename CreatedAtT = Aws::Utils::DateTime>
75 template <
typename ErrorT = Aws::String>
77 m_errorHasBeenSet =
true;
78 m_error = std::forward<ErrorT>(value);
80 template <
typename ErrorT = Aws::String>
82 SetError(std::forward<ErrorT>(value));
92 template <
typename IdT = Aws::String>
94 m_idHasBeenSet =
true;
95 m_id = std::forward<IdT>(value);
97 template <
typename IdT = Aws::String>
99 SetId(std::forward<IdT>(value));
109 template <
typename NextTokenT = Aws::String>
111 m_nextTokenHasBeenSet =
true;
112 m_nextToken = std::forward<NextTokenT>(value);
114 template <
typename NextTokenT = Aws::String>
126 template <
typename ResourceT = Aws::String>
128 m_resourceHasBeenSet =
true;
129 m_resource = std::forward<ResourceT>(value);
131 template <
typename ResourceT = Aws::String>
144 m_resourceTypeHasBeenSet =
true;
145 m_resourceType = value;
158 template <
typename ResourceOwnerAccountT = Aws::String>
160 m_resourceOwnerAccountHasBeenSet =
true;
161 m_resourceOwnerAccount = std::forward<ResourceOwnerAccountT>(value);
163 template <
typename ResourceOwnerAccountT = Aws::String>
176 m_statusHasBeenSet =
true;
190 template <
typename UpdatedAtT = Aws::Utils::DateTime>
192 m_updatedAtHasBeenSet =
true;
193 m_updatedAt = std::forward<UpdatedAtT>(value);
195 template <
typename UpdatedAtT = Aws::Utils::DateTime>
208 template <
typename FindingDetailsT = Aws::Vector<FindingDetails>>
210 m_findingDetailsHasBeenSet =
true;
211 m_findingDetails = std::forward<FindingDetailsT>(value);
213 template <
typename FindingDetailsT = Aws::Vector<FindingDetails>>
218 template <
typename FindingDetailsT = FindingDetails>
220 m_findingDetailsHasBeenSet =
true;
221 m_findingDetails.emplace_back(std::forward<FindingDetailsT>(value));
236 m_findingTypeHasBeenSet =
true;
237 m_findingType = value;
248 template <
typename RequestIdT = Aws::String>
250 m_requestIdHasBeenSet =
true;
251 m_requestId = std::forward<RequestIdT>(value);
253 template <
typename RequestIdT = Aws::String>
285 bool m_analyzedAtHasBeenSet =
false;
286 bool m_createdAtHasBeenSet =
false;
287 bool m_errorHasBeenSet =
false;
288 bool m_idHasBeenSet =
false;
289 bool m_nextTokenHasBeenSet =
false;
290 bool m_resourceHasBeenSet =
false;
291 bool m_resourceTypeHasBeenSet =
false;
292 bool m_resourceOwnerAccountHasBeenSet =
false;
293 bool m_statusHasBeenSet =
false;
294 bool m_updatedAtHasBeenSet =
false;
295 bool m_findingDetailsHasBeenSet =
false;
296 bool m_findingTypeHasBeenSet =
false;
297 bool m_requestIdHasBeenSet =
false;
void SetStatus(FindingStatus value)
GetFindingV2Result & WithFindingType(FindingType value)
GetFindingV2Result & WithCreatedAt(CreatedAtT &&value)
GetFindingV2Result & WithFindingDetails(FindingDetailsT &&value)
GetFindingV2Result & AddFindingDetails(FindingDetailsT &&value)
GetFindingV2Result & WithStatus(FindingStatus value)
AWS_ACCESSANALYZER_API GetFindingV2Result(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetError() const
const Aws::String & GetNextToken() const
void SetError(ErrorT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetResourceOwnerAccount(ResourceOwnerAccountT &&value)
ResourceType GetResourceType() const
void SetResource(ResourceT &&value)
GetFindingV2Result & WithRequestId(RequestIdT &&value)
void SetAnalyzedAt(AnalyzedAtT &&value)
const Aws::String & GetResourceOwnerAccount() const
const Aws::Utils::DateTime & GetAnalyzedAt() const
const Aws::String & GetRequestId() const
void SetResourceType(ResourceType value)
GetFindingV2Result & WithResource(ResourceT &&value)
const Aws::String & GetResource() const
GetFindingV2Result & WithUpdatedAt(UpdatedAtT &&value)
void SetFindingType(FindingType value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetUpdatedAt(UpdatedAtT &&value)
GetFindingV2Result & WithResourceOwnerAccount(ResourceOwnerAccountT &&value)
GetFindingV2Result & WithNextToken(NextTokenT &&value)
FindingStatus GetStatus() const
void SetFindingDetails(FindingDetailsT &&value)
FindingType GetFindingType() const
void SetRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
GetFindingV2Result & WithResourceType(ResourceType value)
GetFindingV2Result & WithId(IdT &&value)
GetFindingV2Result & WithError(ErrorT &&value)
AWS_ACCESSANALYZER_API GetFindingV2Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ACCESSANALYZER_API GetFindingV2Result()=default
GetFindingV2Result & WithAnalyzedAt(AnalyzedAtT &&value)
const Aws::Vector< FindingDetails > & GetFindingDetails() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue