7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/inspector2/Inspector2_EXPORTS.h>
10#include <aws/inspector2/model/Usage.h>
42 template <
typename AccountIdT = Aws::String>
44 m_accountIdHasBeenSet =
true;
45 m_accountId = std::forward<AccountIdT>(value);
47 template <
typename AccountIdT = Aws::String>
60 template <
typename UsageT = Aws::Vector<Usage>>
62 m_usageHasBeenSet =
true;
63 m_usage = std::forward<UsageT>(value);
65 template <
typename UsageT = Aws::Vector<Usage>>
67 SetUsage(std::forward<UsageT>(value));
70 template <
typename UsageT = Usage>
72 m_usageHasBeenSet =
true;
73 m_usage.emplace_back(std::forward<UsageT>(value));
81 bool m_accountIdHasBeenSet =
false;
82 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