7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cost-optimization-hub/model/EnrollmentStatus.h>
10#include <aws/core/utils/DateTime.h>
23namespace CostOptimizationHub
49 template<
typename AccountIdT = Aws::String>
50 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
51 template<
typename AccountIdT = Aws::String>
71 template<
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
72 void SetLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { m_lastUpdatedTimestampHasBeenSet =
true; m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value); }
73 template<
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
83 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
84 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet =
true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
85 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
91 bool m_accountIdHasBeenSet =
false;
94 bool m_statusHasBeenSet =
false;
97 bool m_lastUpdatedTimestampHasBeenSet =
false;
100 bool m_createdTimestampHasBeenSet =
false;
AccountEnrollmentStatus & WithStatus(EnrollmentStatus value)
EnrollmentStatus GetStatus() const
bool LastUpdatedTimestampHasBeenSet() const
bool StatusHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTOPTIMIZATIONHUB_API AccountEnrollmentStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
bool CreatedTimestampHasBeenSet() const
AccountEnrollmentStatus & WithAccountId(AccountIdT &&value)
AccountEnrollmentStatus & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
AccountEnrollmentStatus & WithCreatedTimestamp(CreatedTimestampT &&value)
void SetCreatedTimestamp(CreatedTimestampT &&value)
const Aws::String & GetAccountId() const
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
bool AccountIdHasBeenSet() const
void SetAccountId(AccountIdT &&value)
AWS_COSTOPTIMIZATIONHUB_API AccountEnrollmentStatus()=default
AWS_COSTOPTIMIZATIONHUB_API AccountEnrollmentStatus(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(EnrollmentStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue