/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the enrollment status of an organization's member accounts in
* Compute Optimizer.See Also:
AWS
* API Reference
The Amazon Web Services account ID.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The Amazon Web Services account ID.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The Amazon Web Services account ID.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The Amazon Web Services account ID.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The Amazon Web Services account ID.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The Amazon Web Services account ID.
*/ inline AccountEnrollmentStatus& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The Amazon Web Services account ID.
*/ inline AccountEnrollmentStatus& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The Amazon Web Services account ID.
*/ inline AccountEnrollmentStatus& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *The account enrollment status.
*/ inline const Status& GetStatus() const{ return m_status; } /** *The account enrollment status.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The account enrollment status.
*/ inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } /** *The account enrollment status.
*/ inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The account enrollment status.
*/ inline AccountEnrollmentStatus& WithStatus(const Status& value) { SetStatus(value); return *this;} /** *The account enrollment status.
*/ inline AccountEnrollmentStatus& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} /** *The reason for the account enrollment status.
For example, an account
* might show a status of Pending
because member accounts of an
* organization require more time to be enrolled in the service.
The reason for the account enrollment status.
For example, an account
* might show a status of Pending
because member accounts of an
* organization require more time to be enrolled in the service.
The reason for the account enrollment status.
For example, an account
* might show a status of Pending
because member accounts of an
* organization require more time to be enrolled in the service.
The reason for the account enrollment status.
For example, an account
* might show a status of Pending
because member accounts of an
* organization require more time to be enrolled in the service.
The reason for the account enrollment status.
For example, an account
* might show a status of Pending
because member accounts of an
* organization require more time to be enrolled in the service.
The reason for the account enrollment status.
For example, an account
* might show a status of Pending
because member accounts of an
* organization require more time to be enrolled in the service.
The reason for the account enrollment status.
For example, an account
* might show a status of Pending
because member accounts of an
* organization require more time to be enrolled in the service.
The reason for the account enrollment status.
For example, an account
* might show a status of Pending
because member accounts of an
* organization require more time to be enrolled in the service.
The Unix epoch timestamp, in seconds, of when the account enrollment status * was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; } /** *The Unix epoch timestamp, in seconds, of when the account enrollment status * was last updated.
*/ inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; } /** *The Unix epoch timestamp, in seconds, of when the account enrollment status * was last updated.
*/ inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; } /** *The Unix epoch timestamp, in seconds, of when the account enrollment status * was last updated.
*/ inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); } /** *The Unix epoch timestamp, in seconds, of when the account enrollment status * was last updated.
*/ inline AccountEnrollmentStatus& WithLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetLastUpdatedTimestamp(value); return *this;} /** *The Unix epoch timestamp, in seconds, of when the account enrollment status * was last updated.
*/ inline AccountEnrollmentStatus& WithLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdatedTimestamp(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Status m_status; bool m_statusHasBeenSet = false; Aws::String m_statusReason; bool m_statusReasonHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTimestamp; bool m_lastUpdatedTimestampHasBeenSet = false; }; } // namespace Model } // namespace ComputeOptimizer } // namespace Aws