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/http/HttpResponse.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace AccessAnalyzer {
42 template <
typename AnalyzedAtT = Aws::Utils::DateTime>
44 m_analyzedAtHasBeenSet =
true;
45 m_analyzedAt = std::forward<AnalyzedAtT>(value);
47 template <
typename AnalyzedAtT = Aws::Utils::DateTime>
59 template <
typename CreatedAtT = Aws::Utils::DateTime>
61 m_createdAtHasBeenSet =
true;
62 m_createdAt = std::forward<CreatedAtT>(value);
64 template <
typename CreatedAtT = Aws::Utils::DateTime>
76 template <
typename ErrorT = Aws::String>
78 m_errorHasBeenSet =
true;
79 m_error = std::forward<ErrorT>(value);
81 template <
typename ErrorT = Aws::String>
83 SetError(std::forward<ErrorT>(value));
93 template <
typename IdT = Aws::String>
95 m_idHasBeenSet =
true;
96 m_id = std::forward<IdT>(value);
98 template <
typename IdT = Aws::String>
100 SetId(std::forward<IdT>(value));
110 template <
typename NextTokenT = Aws::String>
112 m_nextTokenHasBeenSet =
true;
113 m_nextToken = std::forward<NextTokenT>(value);
115 template <
typename NextTokenT = Aws::String>
127 template <
typename ResourceT = Aws::String>
129 m_resourceHasBeenSet =
true;
130 m_resource = std::forward<ResourceT>(value);
132 template <
typename ResourceT = Aws::String>
145 m_resourceTypeHasBeenSet =
true;
146 m_resourceType = value;
159 template <
typename ResourceOwnerAccountT = Aws::String>
161 m_resourceOwnerAccountHasBeenSet =
true;
162 m_resourceOwnerAccount = std::forward<ResourceOwnerAccountT>(value);
164 template <
typename ResourceOwnerAccountT = Aws::String>
177 m_statusHasBeenSet =
true;
191 template <
typename UpdatedAtT = Aws::Utils::DateTime>
193 m_updatedAtHasBeenSet =
true;
194 m_updatedAt = std::forward<UpdatedAtT>(value);
196 template <
typename UpdatedAtT = Aws::Utils::DateTime>
209 template <
typename FindingDetailsT = Aws::Vector<FindingDetails>>
211 m_findingDetailsHasBeenSet =
true;
212 m_findingDetails = std::forward<FindingDetailsT>(value);
214 template <
typename FindingDetailsT = Aws::Vector<FindingDetails>>
219 template <
typename FindingDetailsT = FindingDetails>
221 m_findingDetailsHasBeenSet =
true;
222 m_findingDetails.emplace_back(std::forward<FindingDetailsT>(value));
237 m_findingTypeHasBeenSet =
true;
238 m_findingType = value;
249 template <
typename RequestIdT = Aws::String>
251 m_requestIdHasBeenSet =
true;
252 m_requestId = std::forward<RequestIdT>(value);
254 template <
typename RequestIdT = Aws::String>
289 bool m_analyzedAtHasBeenSet =
false;
290 bool m_createdAtHasBeenSet =
false;
291 bool m_errorHasBeenSet =
false;
292 bool m_idHasBeenSet =
false;
293 bool m_nextTokenHasBeenSet =
false;
294 bool m_resourceHasBeenSet =
false;
295 bool m_resourceTypeHasBeenSet =
false;
296 bool m_resourceOwnerAccountHasBeenSet =
false;
297 bool m_statusHasBeenSet =
false;
298 bool m_updatedAtHasBeenSet =
false;
299 bool m_findingDetailsHasBeenSet =
false;
300 bool m_findingTypeHasBeenSet =
false;
301 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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