/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace AuditManager { namespace Model { class GetAccountStatusResult { public: AWS_AUDITMANAGER_API GetAccountStatusResult(); AWS_AUDITMANAGER_API GetAccountStatusResult(const Aws::AmazonWebServiceResult& result); AWS_AUDITMANAGER_API GetAccountStatusResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The status of the Amazon Web Services account.

*/ inline const AccountStatus& GetStatus() const{ return m_status; } /** *

The status of the Amazon Web Services account.

*/ inline void SetStatus(const AccountStatus& value) { m_status = value; } /** *

The status of the Amazon Web Services account.

*/ inline void SetStatus(AccountStatus&& value) { m_status = std::move(value); } /** *

The status of the Amazon Web Services account.

*/ inline GetAccountStatusResult& WithStatus(const AccountStatus& value) { SetStatus(value); return *this;} /** *

The status of the Amazon Web Services account.

*/ inline GetAccountStatusResult& WithStatus(AccountStatus&& value) { SetStatus(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetAccountStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAccountStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAccountStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AccountStatus m_status; Aws::String m_requestId; }; } // namespace Model } // namespace AuditManager } // namespace Aws