7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/OrganizationFeatureStatistics.h>
45 m_totalAccountsCountHasBeenSet =
true;
46 m_totalAccountsCount = value;
62 m_memberAccountsCountHasBeenSet =
true;
63 m_memberAccountsCount = value;
79 m_activeAccountsCountHasBeenSet =
true;
80 m_activeAccountsCount = value;
95 m_enabledAccountsCountHasBeenSet =
true;
96 m_enabledAccountsCount = value;
110 template <
typename CountByFeatureT = Aws::Vector<OrganizationFeatureStatistics>>
112 m_countByFeatureHasBeenSet =
true;
113 m_countByFeature = std::forward<CountByFeatureT>(value);
115 template <
typename CountByFeatureT = Aws::Vector<OrganizationFeatureStatistics>>
120 template <
typename CountByFeatureT = OrganizationFeatureStatistics>
122 m_countByFeatureHasBeenSet =
true;
123 m_countByFeature.emplace_back(std::forward<CountByFeatureT>(value));
128 int m_totalAccountsCount{0};
130 int m_memberAccountsCount{0};
132 int m_activeAccountsCount{0};
134 int m_enabledAccountsCount{0};
137 bool m_totalAccountsCountHasBeenSet =
false;
138 bool m_memberAccountsCountHasBeenSet =
false;
139 bool m_activeAccountsCountHasBeenSet =
false;
140 bool m_enabledAccountsCountHasBeenSet =
false;
141 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