7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/FindingAggregationAccountDetails.h>
9#include <aws/accessanalyzer/model/UnusedAccessTypeStatistics.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace AccessAnalyzer {
44 template <
typename UnusedAccessTypeStatisticsT = Aws::Vector<UnusedAccessTypeStatistics>>
46 m_unusedAccessTypeStatisticsHasBeenSet =
true;
47 m_unusedAccessTypeStatistics = std::forward<UnusedAccessTypeStatisticsT>(value);
49 template <
typename UnusedAccessTypeStatisticsT = Aws::Vector<UnusedAccessTypeStatistics>>
54 template <
typename UnusedAccessTypeStatisticsT = UnusedAccessTypeStatistics>
56 m_unusedAccessTypeStatisticsHasBeenSet =
true;
57 m_unusedAccessTypeStatistics.emplace_back(std::forward<UnusedAccessTypeStatisticsT>(value));
69 template <
typename TopAccountsT = Aws::Vector<FindingAggregationAccountDetails>>
71 m_topAccountsHasBeenSet =
true;
72 m_topAccounts = std::forward<TopAccountsT>(value);
74 template <
typename TopAccountsT = Aws::Vector<FindingAggregationAccountDetails>>
79 template <
typename TopAccountsT = FindingAggregationAccountDetails>
81 m_topAccountsHasBeenSet =
true;
82 m_topAccounts.emplace_back(std::forward<TopAccountsT>(value));
94 m_totalActiveFindingsHasBeenSet =
true;
95 m_totalActiveFindings = value;
110 m_totalArchivedFindingsHasBeenSet =
true;
111 m_totalArchivedFindings = value;
126 m_totalResolvedFindingsHasBeenSet =
true;
127 m_totalResolvedFindings = value;
139 int m_totalActiveFindings{0};
141 int m_totalArchivedFindings{0};
143 int m_totalResolvedFindings{0};
144 bool m_unusedAccessTypeStatisticsHasBeenSet =
false;
145 bool m_topAccountsHasBeenSet =
false;
146 bool m_totalActiveFindingsHasBeenSet =
false;
147 bool m_totalArchivedFindingsHasBeenSet =
false;
148 bool m_totalResolvedFindingsHasBeenSet =
false;
void SetTotalResolvedFindings(int value)
UnusedAccessFindingsStatistics & WithTotalActiveFindings(int value)
const Aws::Vector< UnusedAccessTypeStatistics > & GetUnusedAccessTypeStatistics() const
bool TotalResolvedFindingsHasBeenSet() const
UnusedAccessFindingsStatistics & WithTotalResolvedFindings(int value)
int GetTotalActiveFindings() const
UnusedAccessFindingsStatistics & WithUnusedAccessTypeStatistics(UnusedAccessTypeStatisticsT &&value)
AWS_ACCESSANALYZER_API UnusedAccessFindingsStatistics()=default
bool UnusedAccessTypeStatisticsHasBeenSet() const
bool TopAccountsHasBeenSet() const
bool TotalActiveFindingsHasBeenSet() const
UnusedAccessFindingsStatistics & AddTopAccounts(TopAccountsT &&value)
void SetTotalActiveFindings(int value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
int GetTotalResolvedFindings() const
void SetUnusedAccessTypeStatistics(UnusedAccessTypeStatisticsT &&value)
UnusedAccessFindingsStatistics & WithTotalArchivedFindings(int value)
int GetTotalArchivedFindings() const
AWS_ACCESSANALYZER_API UnusedAccessFindingsStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
UnusedAccessFindingsStatistics & AddUnusedAccessTypeStatistics(UnusedAccessTypeStatisticsT &&value)
void SetTopAccounts(TopAccountsT &&value)
bool TotalArchivedFindingsHasBeenSet() const
UnusedAccessFindingsStatistics & WithTopAccounts(TopAccountsT &&value)
AWS_ACCESSANALYZER_API UnusedAccessFindingsStatistics(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< FindingAggregationAccountDetails > & GetTopAccounts() const
void SetTotalArchivedFindings(int value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue