7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/compute-optimizer/model/Status.h>
10#include <aws/core/utils/DateTime.h>
23namespace ComputeOptimizer
51 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
63 inline void SetStatus(
const Status& value) { m_statusHasBeenSet =
true; m_status = value; }
64 inline void SetStatus(
Status&& value) { m_statusHasBeenSet =
true; m_status = std::move(value); }
79 inline void SetStatusReason(
const char* value) { m_statusReasonHasBeenSet =
true; m_statusReason.assign(value); }
100 bool m_accountIdHasBeenSet =
false;
103 bool m_statusHasBeenSet =
false;
106 bool m_statusReasonHasBeenSet =
false;
109 bool m_lastUpdatedTimestampHasBeenSet =
false;
AccountEnrollmentStatus & WithStatusReason(Aws::String &&value)
void SetAccountId(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
AccountEnrollmentStatus & WithAccountId(Aws::String &&value)
AccountEnrollmentStatus & WithStatusReason(const Aws::String &value)
void SetStatusReason(const Aws::String &value)
AccountEnrollmentStatus & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
AccountEnrollmentStatus & WithStatus(const Status &value)
void SetAccountId(const char *value)
bool LastUpdatedTimestampHasBeenSet() const
void SetStatus(Status &&value)
void SetStatus(const Status &value)
AWS_COMPUTEOPTIMIZER_API AccountEnrollmentStatus(Aws::Utils::Json::JsonView jsonValue)
void SetStatusReason(const char *value)
const Aws::String & GetAccountId() const
const Aws::String & GetStatusReason() const
AccountEnrollmentStatus & WithStatusReason(const char *value)
void SetAccountId(Aws::String &&value)
bool StatusHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API AccountEnrollmentStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AccountEnrollmentStatus & WithAccountId(const char *value)
AccountEnrollmentStatus & WithStatus(Status &&value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
AccountEnrollmentStatus & WithAccountId(const Aws::String &value)
AccountEnrollmentStatus & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
AWS_COMPUTEOPTIMIZER_API AccountEnrollmentStatus()
bool AccountIdHasBeenSet() const
const Status & GetStatus() const
bool StatusReasonHasBeenSet() const
void SetStatusReason(Aws::String &&value)
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue