7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/model/UsageAccountResult.h>
10#include <aws/guardduty/model/UsageTopAccountsResult.h>
11#include <aws/guardduty/model/UsageDataSourceResult.h>
12#include <aws/guardduty/model/UsageResourceResult.h>
13#include <aws/guardduty/model/UsageFeatureResult.h>
135 bool m_sumByAccountHasBeenSet =
false;
138 bool m_topAccountsByFeatureHasBeenSet =
false;
141 bool m_sumByDataSourceHasBeenSet =
false;
144 bool m_sumByResourceHasBeenSet =
false;
147 bool m_topResourcesHasBeenSet =
false;
150 bool m_sumByFeatureHasBeenSet =
false;
UsageStatistics & AddSumByFeature(UsageFeatureResult &&value)
const Aws::Vector< UsageResourceResult > & GetTopResources() const
UsageStatistics & AddTopResources(UsageResourceResult &&value)
void SetSumByResource(Aws::Vector< UsageResourceResult > &&value)
UsageStatistics & WithSumByDataSource(const Aws::Vector< UsageDataSourceResult > &value)
UsageStatistics & WithSumByAccount(const Aws::Vector< UsageAccountResult > &value)
UsageStatistics & WithTopAccountsByFeature(Aws::Vector< UsageTopAccountsResult > &&value)
bool TopAccountsByFeatureHasBeenSet() const
UsageStatistics & WithSumByResource(Aws::Vector< UsageResourceResult > &&value)
void SetSumByFeature(const Aws::Vector< UsageFeatureResult > &value)
const Aws::Vector< UsageAccountResult > & GetSumByAccount() const
void SetTopAccountsByFeature(Aws::Vector< UsageTopAccountsResult > &&value)
UsageStatistics & WithSumByResource(const Aws::Vector< UsageResourceResult > &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSumByFeature(Aws::Vector< UsageFeatureResult > &&value)
void SetTopResources(Aws::Vector< UsageResourceResult > &&value)
bool SumByResourceHasBeenSet() const
UsageStatistics & AddSumByFeature(const UsageFeatureResult &value)
const Aws::Vector< UsageDataSourceResult > & GetSumByDataSource() const
AWS_GUARDDUTY_API UsageStatistics()
bool SumByAccountHasBeenSet() const
UsageStatistics & AddSumByDataSource(UsageDataSourceResult &&value)
UsageStatistics & AddSumByAccount(UsageAccountResult &&value)
UsageStatistics & AddSumByResource(UsageResourceResult &&value)
UsageStatistics & WithSumByFeature(const Aws::Vector< UsageFeatureResult > &value)
bool SumByDataSourceHasBeenSet() const
UsageStatistics & WithSumByFeature(Aws::Vector< UsageFeatureResult > &&value)
void SetSumByAccount(Aws::Vector< UsageAccountResult > &&value)
UsageStatistics & AddTopResources(const UsageResourceResult &value)
const Aws::Vector< UsageTopAccountsResult > & GetTopAccountsByFeature() const
void SetSumByDataSource(Aws::Vector< UsageDataSourceResult > &&value)
UsageStatistics & AddSumByAccount(const UsageAccountResult &value)
const Aws::Vector< UsageResourceResult > & GetSumByResource() const
UsageStatistics & AddTopAccountsByFeature(UsageTopAccountsResult &&value)
void SetSumByDataSource(const Aws::Vector< UsageDataSourceResult > &value)
UsageStatistics & WithTopResources(const Aws::Vector< UsageResourceResult > &value)
UsageStatistics & AddSumByResource(const UsageResourceResult &value)
bool SumByFeatureHasBeenSet() const
UsageStatistics & WithSumByAccount(Aws::Vector< UsageAccountResult > &&value)
void SetTopAccountsByFeature(const Aws::Vector< UsageTopAccountsResult > &value)
UsageStatistics & WithTopResources(Aws::Vector< UsageResourceResult > &&value)
AWS_GUARDDUTY_API UsageStatistics(Aws::Utils::Json::JsonView jsonValue)
UsageStatistics & AddSumByDataSource(const UsageDataSourceResult &value)
UsageStatistics & AddTopAccountsByFeature(const UsageTopAccountsResult &value)
void SetSumByAccount(const Aws::Vector< UsageAccountResult > &value)
bool TopResourcesHasBeenSet() const
void SetTopResources(const Aws::Vector< UsageResourceResult > &value)
AWS_GUARDDUTY_API UsageStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSumByResource(const Aws::Vector< UsageResourceResult > &value)
UsageStatistics & WithSumByDataSource(Aws::Vector< UsageDataSourceResult > &&value)
const Aws::Vector< UsageFeatureResult > & GetSumByFeature() const
UsageStatistics & WithTopAccountsByFeature(const Aws::Vector< UsageTopAccountsResult > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue