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

The identifier for the administrator account.

*/ inline const Aws::String& GetAdminAccountId() const{ return m_adminAccountId; } /** *

The identifier for the administrator account.

*/ inline void SetAdminAccountId(const Aws::String& value) { m_adminAccountId = value; } /** *

The identifier for the administrator account.

*/ inline void SetAdminAccountId(Aws::String&& value) { m_adminAccountId = std::move(value); } /** *

The identifier for the administrator account.

*/ inline void SetAdminAccountId(const char* value) { m_adminAccountId.assign(value); } /** *

The identifier for the administrator account.

*/ inline GetOrganizationAdminAccountResult& WithAdminAccountId(const Aws::String& value) { SetAdminAccountId(value); return *this;} /** *

The identifier for the administrator account.

*/ inline GetOrganizationAdminAccountResult& WithAdminAccountId(Aws::String&& value) { SetAdminAccountId(std::move(value)); return *this;} /** *

The identifier for the administrator account.

*/ inline GetOrganizationAdminAccountResult& WithAdminAccountId(const char* value) { SetAdminAccountId(value); return *this;} /** *

The identifier for the organization.

*/ inline const Aws::String& GetOrganizationId() const{ return m_organizationId; } /** *

The identifier for the organization.

*/ inline void SetOrganizationId(const Aws::String& value) { m_organizationId = value; } /** *

The identifier for the organization.

*/ inline void SetOrganizationId(Aws::String&& value) { m_organizationId = std::move(value); } /** *

The identifier for the organization.

*/ inline void SetOrganizationId(const char* value) { m_organizationId.assign(value); } /** *

The identifier for the organization.

*/ inline GetOrganizationAdminAccountResult& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;} /** *

The identifier for the organization.

*/ inline GetOrganizationAdminAccountResult& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;} /** *

The identifier for the organization.

*/ inline GetOrganizationAdminAccountResult& WithOrganizationId(const char* value) { SetOrganizationId(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 GetOrganizationAdminAccountResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetOrganizationAdminAccountResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetOrganizationAdminAccountResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_adminAccountId; Aws::String m_organizationId; Aws::String m_requestId; }; } // namespace Model } // namespace AuditManager } // namespace Aws