7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/inspector2/model/Usage.h>
48 template<
typename AccountIdT = Aws::String>
49 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
50 template<
typename AccountIdT = Aws::String>
60 template<
typename UsageT = Aws::Vector<Usage>>
61 void SetUsage(UsageT&& value) { m_usageHasBeenSet =
true; m_usage = std::forward<UsageT>(value); }
62 template<
typename UsageT = Aws::Vector<Usage>>
64 template<
typename UsageT = Usage>
65 UsageTotal&
AddUsage(UsageT&& value) { m_usageHasBeenSet =
true; m_usage.emplace_back(std::forward<UsageT>(value));
return *
this; }
70 bool m_accountIdHasBeenSet =
false;
73 bool m_usageHasBeenSet =
false;
const Aws::Vector< Usage > & GetUsage() const
bool AccountIdHasBeenSet() const
void SetAccountId(AccountIdT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
UsageTotal & WithAccountId(AccountIdT &&value)
AWS_INSPECTOR2_API UsageTotal(Aws::Utils::Json::JsonView jsonValue)
bool UsageHasBeenSet() const
UsageTotal & WithUsage(UsageT &&value)
AWS_INSPECTOR2_API UsageTotal & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAccountId() const
UsageTotal & AddUsage(UsageT &&value)
AWS_INSPECTOR2_API UsageTotal()=default
void SetUsage(UsageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue