7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/accessanalyzer/model/UnusedAccessTypeStatistics.h>
10#include <aws/accessanalyzer/model/FindingAggregationAccountDetails.h>
23namespace AccessAnalyzer
50 template<
typename UnusedAccessTypeStatisticsT = Aws::Vector<UnusedAccessTypeStatistics>>
51 void SetUnusedAccessTypeStatistics(UnusedAccessTypeStatisticsT&& value) { m_unusedAccessTypeStatisticsHasBeenSet =
true; m_unusedAccessTypeStatistics = std::forward<UnusedAccessTypeStatisticsT>(value); }
52 template<
typename UnusedAccessTypeStatisticsT = Aws::Vector<UnusedAccessTypeStatistics>>
54 template<
typename UnusedAccessTypeStatisticsT = UnusedAccessTypeStatistics>
65 template<
typename TopAccountsT = Aws::Vector<FindingAggregationAccountDetails>>
66 void SetTopAccounts(TopAccountsT&& value) { m_topAccountsHasBeenSet =
true; m_topAccounts = std::forward<TopAccountsT>(value); }
67 template<
typename TopAccountsT = Aws::Vector<FindingAggregationAccountDetails>>
69 template<
typename TopAccountsT = FindingAggregationAccountDetails>
79 inline void SetTotalActiveFindings(
int value) { m_totalActiveFindingsHasBeenSet =
true; m_totalActiveFindings = value; }
105 bool m_unusedAccessTypeStatisticsHasBeenSet =
false;
108 bool m_topAccountsHasBeenSet =
false;
110 int m_totalActiveFindings{0};
111 bool m_totalActiveFindingsHasBeenSet =
false;
113 int m_totalArchivedFindings{0};
114 bool m_totalArchivedFindingsHasBeenSet =
false;
116 int m_totalResolvedFindings{0};
117 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