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>
51 template<
typename AccountIdT = Aws::String>
52 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
53 template<
typename AccountIdT = Aws::String>
66 template<
typename AutomatedDiscoveryFreeTrialStartDateT = Aws::Utils::DateTime>
67 void SetAutomatedDiscoveryFreeTrialStartDate(AutomatedDiscoveryFreeTrialStartDateT&& value) { m_automatedDiscoveryFreeTrialStartDateHasBeenSet =
true; m_automatedDiscoveryFreeTrialStartDate = std::forward<AutomatedDiscoveryFreeTrialStartDateT>(value); }
68 template<
typename AutomatedDiscoveryFreeTrialStartDateT = Aws::Utils::DateTime>
79 template<
typename FreeTrialStartDateT = Aws::Utils::DateTime>
80 void SetFreeTrialStartDate(FreeTrialStartDateT&& value) { m_freeTrialStartDateHasBeenSet =
true; m_freeTrialStartDate = std::forward<FreeTrialStartDateT>(value); }
81 template<
typename FreeTrialStartDateT = Aws::Utils::DateTime>
93 template<
typename UsageT = Aws::Vector<UsageByAccount>>
94 void SetUsage(UsageT&& value) { m_usageHasBeenSet =
true; m_usage = std::forward<UsageT>(value); }
95 template<
typename UsageT = Aws::Vector<UsageByAccount>>
97 template<
typename UsageT = UsageByAccount>
98 UsageRecord&
AddUsage(UsageT&& value) { m_usageHasBeenSet =
true; m_usage.emplace_back(std::forward<UsageT>(value));
return *
this; }
103 bool m_accountIdHasBeenSet =
false;
106 bool m_automatedDiscoveryFreeTrialStartDateHasBeenSet =
false;
109 bool m_freeTrialStartDateHasBeenSet =
false;
112 bool m_usageHasBeenSet =
false;
UsageRecord & WithAccountId(AccountIdT &&value)
const Aws::String & GetAccountId() const
AWS_MACIE2_API UsageRecord()=default
bool AccountIdHasBeenSet() const
UsageRecord & WithAutomatedDiscoveryFreeTrialStartDate(AutomatedDiscoveryFreeTrialStartDateT &&value)
UsageRecord & AddUsage(UsageT &&value)
AWS_MACIE2_API UsageRecord(Aws::Utils::Json::JsonView jsonValue)
UsageRecord & WithFreeTrialStartDate(FreeTrialStartDateT &&value)
void SetFreeTrialStartDate(FreeTrialStartDateT &&value)
AWS_MACIE2_API UsageRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(AccountIdT &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
UsageRecord & WithUsage(UsageT &&value)
const Aws::Utils::DateTime & GetFreeTrialStartDate() const
void SetUsage(UsageT &&value)
bool UsageHasBeenSet() const
bool FreeTrialStartDateHasBeenSet() const
const Aws::Utils::DateTime & GetAutomatedDiscoveryFreeTrialStartDate() const
void SetAutomatedDiscoveryFreeTrialStartDate(AutomatedDiscoveryFreeTrialStartDateT &&value)
bool AutomatedDiscoveryFreeTrialStartDateHasBeenSet() const
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