7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/UsageFeature.h>
10#include <aws/guardduty/model/UsageTopAccountResult.h>
46 m_featureHasBeenSet =
true;
61 template <
typename AccountsT = Aws::Vector<UsageTopAccountResult>>
63 m_accountsHasBeenSet =
true;
64 m_accounts = std::forward<AccountsT>(value);
66 template <
typename AccountsT = Aws::Vector<UsageTopAccountResult>>
71 template <
typename AccountsT = UsageTopAccountResult>
73 m_accountsHasBeenSet =
true;
74 m_accounts.emplace_back(std::forward<AccountsT>(value));
82 bool m_featureHasBeenSet =
false;
83 bool m_accountsHasBeenSet =
false;
AWS_GUARDDUTY_API UsageTopAccountsResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccounts(AccountsT &&value)
const Aws::Vector< UsageTopAccountResult > & GetAccounts() const
UsageTopAccountsResult & AddAccounts(AccountsT &&value)
AWS_GUARDDUTY_API UsageTopAccountsResult(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API UsageTopAccountsResult()=default
UsageFeature GetFeature() const
bool FeatureHasBeenSet() const
UsageTopAccountsResult & WithAccounts(AccountsT &&value)
UsageTopAccountsResult & WithFeature(UsageFeature value)
void SetFeature(UsageFeature value)
bool AccountsHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue