7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/macie2/Macie2_EXPORTS.h>
11#include <aws/macie2/model/UsageByAccount.h>
45 template <
typename AccountIdT = Aws::String>
47 m_accountIdHasBeenSet =
true;
48 m_accountId = std::forward<AccountIdT>(value);
50 template <
typename AccountIdT = Aws::String>
66 template <
typename AutomatedDiscoveryFreeTrialStartDateT = Aws::Utils::DateTime>
68 m_automatedDiscoveryFreeTrialStartDateHasBeenSet =
true;
69 m_automatedDiscoveryFreeTrialStartDate = std::forward<AutomatedDiscoveryFreeTrialStartDateT>(value);
71 template <
typename AutomatedDiscoveryFreeTrialStartDateT = Aws::Utils::DateTime>
85 template <
typename FreeTrialStartDateT = Aws::Utils::DateTime>
87 m_freeTrialStartDateHasBeenSet =
true;
88 m_freeTrialStartDate = std::forward<FreeTrialStartDateT>(value);
90 template <
typename FreeTrialStartDateT = Aws::Utils::DateTime>
105 template <
typename UsageT = Aws::Vector<UsageByAccount>>
107 m_usageHasBeenSet =
true;
108 m_usage = std::forward<UsageT>(value);
110 template <
typename UsageT = Aws::Vector<UsageByAccount>>
112 SetUsage(std::forward<UsageT>(value));
115 template <
typename UsageT = UsageByAccount>
117 m_usageHasBeenSet =
true;
118 m_usage.emplace_back(std::forward<UsageT>(value));
130 bool m_accountIdHasBeenSet =
false;
131 bool m_automatedDiscoveryFreeTrialStartDateHasBeenSet =
false;
132 bool m_freeTrialStartDateHasBeenSet =
false;
133 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