7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/model/OrganizationFeatureStatistics.h>
50 inline void SetTotalAccountsCount(
int value) { m_totalAccountsCountHasBeenSet =
true; m_totalAccountsCount = value; }
61 inline void SetMemberAccountsCount(
int value) { m_memberAccountsCountHasBeenSet =
true; m_memberAccountsCount = value; }
72 inline void SetActiveAccountsCount(
int value) { m_activeAccountsCountHasBeenSet =
true; m_activeAccountsCount = value; }
82 inline void SetEnabledAccountsCount(
int value) { m_enabledAccountsCountHasBeenSet =
true; m_enabledAccountsCount = value; }
92 template<
typename CountByFeatureT = Aws::Vector<OrganizationFeatureStatistics>>
93 void SetCountByFeature(CountByFeatureT&& value) { m_countByFeatureHasBeenSet =
true; m_countByFeature = std::forward<CountByFeatureT>(value); }
94 template<
typename CountByFeatureT = Aws::Vector<OrganizationFeatureStatistics>>
96 template<
typename CountByFeatureT = OrganizationFeatureStatistics>
101 int m_totalAccountsCount{0};
102 bool m_totalAccountsCountHasBeenSet =
false;
104 int m_memberAccountsCount{0};
105 bool m_memberAccountsCountHasBeenSet =
false;
107 int m_activeAccountsCount{0};
108 bool m_activeAccountsCountHasBeenSet =
false;
110 int m_enabledAccountsCount{0};
111 bool m_enabledAccountsCountHasBeenSet =
false;
114 bool m_countByFeatureHasBeenSet =
false;
void SetTotalAccountsCount(int value)
void SetActiveAccountsCount(int value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
int GetActiveAccountsCount() const
OrganizationStatistics & AddCountByFeature(CountByFeatureT &&value)
int GetTotalAccountsCount() const
AWS_GUARDDUTY_API OrganizationStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API OrganizationStatistics()=default
OrganizationStatistics & WithMemberAccountsCount(int value)
void SetMemberAccountsCount(int value)
const Aws::Vector< OrganizationFeatureStatistics > & GetCountByFeature() const
bool TotalAccountsCountHasBeenSet() const
bool CountByFeatureHasBeenSet() const
int GetMemberAccountsCount() const
bool MemberAccountsCountHasBeenSet() const
AWS_GUARDDUTY_API OrganizationStatistics(Aws::Utils::Json::JsonView jsonValue)
void SetEnabledAccountsCount(int value)
OrganizationStatistics & WithActiveAccountsCount(int value)
OrganizationStatistics & WithCountByFeature(CountByFeatureT &&value)
void SetCountByFeature(CountByFeatureT &&value)
bool EnabledAccountsCountHasBeenSet() const
int GetEnabledAccountsCount() const
OrganizationStatistics & WithTotalAccountsCount(int value)
OrganizationStatistics & WithEnabledAccountsCount(int value)
bool ActiveAccountsCountHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue