7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/macie2/model/UsageByAccount.h>
53 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
105 bool m_accountIdHasBeenSet =
false;
108 bool m_automatedDiscoveryFreeTrialStartDateHasBeenSet =
false;
111 bool m_freeTrialStartDateHasBeenSet =
false;
114 bool m_usageHasBeenSet =
false;
UsageRecord & WithAccountId(const char *value)
UsageRecord & WithUsage(Aws::Vector< UsageByAccount > &&value)
const Aws::String & GetAccountId() const
UsageRecord & WithFreeTrialStartDate(Aws::Utils::DateTime &&value)
void SetUsage(const Aws::Vector< UsageByAccount > &value)
UsageRecord & WithUsage(const Aws::Vector< UsageByAccount > &value)
void SetAccountId(const Aws::String &value)
bool AccountIdHasBeenSet() const
void SetUsage(Aws::Vector< UsageByAccount > &&value)
AWS_MACIE2_API UsageRecord(Aws::Utils::Json::JsonView jsonValue)
void SetAutomatedDiscoveryFreeTrialStartDate(const Aws::Utils::DateTime &value)
UsageRecord & WithAccountId(const Aws::String &value)
UsageRecord & WithFreeTrialStartDate(const Aws::Utils::DateTime &value)
UsageRecord & AddUsage(UsageByAccount &&value)
AWS_MACIE2_API UsageRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API UsageRecord()
UsageRecord & WithAutomatedDiscoveryFreeTrialStartDate(const Aws::Utils::DateTime &value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetFreeTrialStartDate() const
void SetAccountId(Aws::String &&value)
void SetAccountId(const char *value)
bool UsageHasBeenSet() const
UsageRecord & AddUsage(const UsageByAccount &value)
void SetAutomatedDiscoveryFreeTrialStartDate(Aws::Utils::DateTime &&value)
void SetFreeTrialStartDate(Aws::Utils::DateTime &&value)
UsageRecord & WithAutomatedDiscoveryFreeTrialStartDate(Aws::Utils::DateTime &&value)
bool FreeTrialStartDateHasBeenSet() const
const Aws::Utils::DateTime & GetAutomatedDiscoveryFreeTrialStartDate() const
UsageRecord & WithAccountId(Aws::String &&value)
bool AutomatedDiscoveryFreeTrialStartDateHasBeenSet() const
void SetFreeTrialStartDate(const Aws::Utils::DateTime &value)
const Aws::Vector< UsageByAccount > & GetUsage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue