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/core/utils/memory/stl/AWSVector.h>
13#include <aws/accessanalyzer/model/FindingType.h>
14#include <aws/accessanalyzer/model/FindingDetails.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
29namespace AccessAnalyzer
47 template<
typename AnalyzedAtT = Aws::Utils::DateTime>
48 void SetAnalyzedAt(AnalyzedAtT&& value) { m_analyzedAtHasBeenSet =
true; m_analyzedAt = std::forward<AnalyzedAtT>(value); }
49 template<
typename AnalyzedAtT = Aws::Utils::DateTime>
58 template<
typename CreatedAtT = Aws::Utils::DateTime>
59 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
60 template<
typename CreatedAtT = Aws::Utils::DateTime>
69 template<
typename ErrorT = Aws::String>
70 void SetError(ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
71 template<
typename ErrorT = Aws::String>
80 template<
typename IdT = Aws::String>
81 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
82 template<
typename IdT = Aws::String>
91 template<
typename NextTokenT = Aws::String>
92 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
93 template<
typename NextTokenT = Aws::String>
102 template<
typename ResourceT = Aws::String>
103 void SetResource(ResourceT&& value) { m_resourceHasBeenSet =
true; m_resource = std::forward<ResourceT>(value); }
104 template<
typename ResourceT = Aws::String>
122 template<
typename ResourceOwnerAccountT = Aws::String>
123 void SetResourceOwnerAccount(ResourceOwnerAccountT&& value) { m_resourceOwnerAccountHasBeenSet =
true; m_resourceOwnerAccount = std::forward<ResourceOwnerAccountT>(value); }
124 template<
typename ResourceOwnerAccountT = Aws::String>
142 template<
typename UpdatedAtT = Aws::Utils::DateTime>
143 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
144 template<
typename UpdatedAtT = Aws::Utils::DateTime>
154 template<
typename FindingDetailsT = Aws::Vector<FindingDetails>>
155 void SetFindingDetails(FindingDetailsT&& value) { m_findingDetailsHasBeenSet =
true; m_findingDetails = std::forward<FindingDetailsT>(value); }
156 template<
typename FindingDetailsT = Aws::Vector<FindingDetails>>
158 template<
typename FindingDetailsT = FindingDetails>
178 template<
typename RequestIdT = Aws::String>
179 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
180 template<
typename RequestIdT = Aws::String>
186 bool m_analyzedAtHasBeenSet =
false;
189 bool m_createdAtHasBeenSet =
false;
192 bool m_errorHasBeenSet =
false;
195 bool m_idHasBeenSet =
false;
198 bool m_nextTokenHasBeenSet =
false;
201 bool m_resourceHasBeenSet =
false;
204 bool m_resourceTypeHasBeenSet =
false;
207 bool m_resourceOwnerAccountHasBeenSet =
false;
210 bool m_statusHasBeenSet =
false;
213 bool m_updatedAtHasBeenSet =
false;
216 bool m_findingDetailsHasBeenSet =
false;
219 bool m_findingTypeHasBeenSet =
false;
222 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