7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
10#include <aws/cost-optimization-hub/model/EnrollmentStatus.h>
21namespace CostOptimizationHub {
43 template <
typename AccountIdT = Aws::String>
45 m_accountIdHasBeenSet =
true;
46 m_accountId = std::forward<AccountIdT>(value);
48 template <
typename AccountIdT = Aws::String>
62 m_statusHasBeenSet =
true;
77 template <
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
79 m_lastUpdatedTimestampHasBeenSet =
true;
80 m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value);
82 template <
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
95 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
97 m_createdTimestampHasBeenSet =
true;
98 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
100 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
114 bool m_accountIdHasBeenSet =
false;
115 bool m_statusHasBeenSet =
false;
116 bool m_lastUpdatedTimestampHasBeenSet =
false;
117 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