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>
50 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
67 inline UsageTotal&
AddUsage(
Usage&& value) { m_usageHasBeenSet =
true; m_usage.push_back(std::move(value));
return *
this; }
72 bool m_accountIdHasBeenSet =
false;
75 bool m_usageHasBeenSet =
false;
UsageTotal & WithUsage(const Aws::Vector< Usage > &value)
UsageTotal & WithUsage(Aws::Vector< Usage > &&value)
const Aws::Vector< Usage > & GetUsage() const
UsageTotal & AddUsage(Usage &&value)
void SetAccountId(Aws::String &&value)
void SetUsage(const Aws::Vector< Usage > &value)
bool AccountIdHasBeenSet() const
void SetUsage(Aws::Vector< Usage > &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
UsageTotal & AddUsage(const Usage &value)
UsageTotal & WithAccountId(Aws::String &&value)
UsageTotal & WithAccountId(const Aws::String &value)
AWS_INSPECTOR2_API UsageTotal(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(const Aws::String &value)
AWS_INSPECTOR2_API UsageTotal()
bool UsageHasBeenSet() const
void SetAccountId(const char *value)
AWS_INSPECTOR2_API UsageTotal & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAccountId() const
UsageTotal & WithAccountId(const char *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