/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the result of GuardDuty usage. If a UsageStatisticType is provided
* the result for other types will be null. See Also:
AWS
* API Reference
The usage statistic sum organized by account ID.
*/ inline const Aws::VectorThe usage statistic sum organized by account ID.
*/ inline bool SumByAccountHasBeenSet() const { return m_sumByAccountHasBeenSet; } /** *The usage statistic sum organized by account ID.
*/ inline void SetSumByAccount(const Aws::VectorThe usage statistic sum organized by account ID.
*/ inline void SetSumByAccount(Aws::VectorThe usage statistic sum organized by account ID.
*/ inline UsageStatistics& WithSumByAccount(const Aws::VectorThe usage statistic sum organized by account ID.
*/ inline UsageStatistics& WithSumByAccount(Aws::VectorThe usage statistic sum organized by account ID.
*/ inline UsageStatistics& AddSumByAccount(const UsageAccountResult& value) { m_sumByAccountHasBeenSet = true; m_sumByAccount.push_back(value); return *this; } /** *The usage statistic sum organized by account ID.
*/ inline UsageStatistics& AddSumByAccount(UsageAccountResult&& value) { m_sumByAccountHasBeenSet = true; m_sumByAccount.push_back(std::move(value)); return *this; } /** *The usage statistic sum organized by on data source.
*/ inline const Aws::VectorThe usage statistic sum organized by on data source.
*/ inline bool SumByDataSourceHasBeenSet() const { return m_sumByDataSourceHasBeenSet; } /** *The usage statistic sum organized by on data source.
*/ inline void SetSumByDataSource(const Aws::VectorThe usage statistic sum organized by on data source.
*/ inline void SetSumByDataSource(Aws::VectorThe usage statistic sum organized by on data source.
*/ inline UsageStatistics& WithSumByDataSource(const Aws::VectorThe usage statistic sum organized by on data source.
*/ inline UsageStatistics& WithSumByDataSource(Aws::VectorThe usage statistic sum organized by on data source.
*/ inline UsageStatistics& AddSumByDataSource(const UsageDataSourceResult& value) { m_sumByDataSourceHasBeenSet = true; m_sumByDataSource.push_back(value); return *this; } /** *The usage statistic sum organized by on data source.
*/ inline UsageStatistics& AddSumByDataSource(UsageDataSourceResult&& value) { m_sumByDataSourceHasBeenSet = true; m_sumByDataSource.push_back(std::move(value)); return *this; } /** *The usage statistic sum organized by resource.
*/ inline const Aws::VectorThe usage statistic sum organized by resource.
*/ inline bool SumByResourceHasBeenSet() const { return m_sumByResourceHasBeenSet; } /** *The usage statistic sum organized by resource.
*/ inline void SetSumByResource(const Aws::VectorThe usage statistic sum organized by resource.
*/ inline void SetSumByResource(Aws::VectorThe usage statistic sum organized by resource.
*/ inline UsageStatistics& WithSumByResource(const Aws::VectorThe usage statistic sum organized by resource.
*/ inline UsageStatistics& WithSumByResource(Aws::VectorThe usage statistic sum organized by resource.
*/ inline UsageStatistics& AddSumByResource(const UsageResourceResult& value) { m_sumByResourceHasBeenSet = true; m_sumByResource.push_back(value); return *this; } /** *The usage statistic sum organized by resource.
*/ inline UsageStatistics& AddSumByResource(UsageResourceResult&& value) { m_sumByResourceHasBeenSet = true; m_sumByResource.push_back(std::move(value)); return *this; } /** *Lists the top 50 resources that have generated the most GuardDuty usage, in * order from most to least expensive.
*/ inline const Aws::VectorLists the top 50 resources that have generated the most GuardDuty usage, in * order from most to least expensive.
*/ inline bool TopResourcesHasBeenSet() const { return m_topResourcesHasBeenSet; } /** *Lists the top 50 resources that have generated the most GuardDuty usage, in * order from most to least expensive.
*/ inline void SetTopResources(const Aws::VectorLists the top 50 resources that have generated the most GuardDuty usage, in * order from most to least expensive.
*/ inline void SetTopResources(Aws::VectorLists the top 50 resources that have generated the most GuardDuty usage, in * order from most to least expensive.
*/ inline UsageStatistics& WithTopResources(const Aws::VectorLists the top 50 resources that have generated the most GuardDuty usage, in * order from most to least expensive.
*/ inline UsageStatistics& WithTopResources(Aws::VectorLists the top 50 resources that have generated the most GuardDuty usage, in * order from most to least expensive.
*/ inline UsageStatistics& AddTopResources(const UsageResourceResult& value) { m_topResourcesHasBeenSet = true; m_topResources.push_back(value); return *this; } /** *Lists the top 50 resources that have generated the most GuardDuty usage, in * order from most to least expensive.
*/ inline UsageStatistics& AddTopResources(UsageResourceResult&& value) { m_topResourcesHasBeenSet = true; m_topResources.push_back(std::move(value)); return *this; } /** *The usage statistic sum organized by feature.
*/ inline const Aws::VectorThe usage statistic sum organized by feature.
*/ inline bool SumByFeatureHasBeenSet() const { return m_sumByFeatureHasBeenSet; } /** *The usage statistic sum organized by feature.
*/ inline void SetSumByFeature(const Aws::VectorThe usage statistic sum organized by feature.
*/ inline void SetSumByFeature(Aws::VectorThe usage statistic sum organized by feature.
*/ inline UsageStatistics& WithSumByFeature(const Aws::VectorThe usage statistic sum organized by feature.
*/ inline UsageStatistics& WithSumByFeature(Aws::VectorThe usage statistic sum organized by feature.
*/ inline UsageStatistics& AddSumByFeature(const UsageFeatureResult& value) { m_sumByFeatureHasBeenSet = true; m_sumByFeature.push_back(value); return *this; } /** *The usage statistic sum organized by feature.
*/ inline UsageStatistics& AddSumByFeature(UsageFeatureResult&& value) { m_sumByFeatureHasBeenSet = true; m_sumByFeature.push_back(std::move(value)); return *this; } private: Aws::Vector