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

Contains details about the administrative scope of the requested account.

*/ inline const AdminScope& GetAdminScope() const{ return m_adminScope; } /** *

Contains details about the administrative scope of the requested account.

*/ inline void SetAdminScope(const AdminScope& value) { m_adminScope = value; } /** *

Contains details about the administrative scope of the requested account.

*/ inline void SetAdminScope(AdminScope&& value) { m_adminScope = std::move(value); } /** *

Contains details about the administrative scope of the requested account.

*/ inline GetAdminScopeResult& WithAdminScope(const AdminScope& value) { SetAdminScope(value); return *this;} /** *

Contains details about the administrative scope of the requested account.

*/ inline GetAdminScopeResult& WithAdminScope(AdminScope&& value) { SetAdminScope(std::move(value)); return *this;} /** *

The current status of the request to onboard a member account as an Firewall * Manager administator.

  • ONBOARDING - The account is * onboarding to Firewall Manager as an administrator.

  • * ONBOARDING_COMPLETE - Firewall Manager The account is onboarded to * Firewall Manager as an administrator, and can perform actions on the resources * defined in their AdminScope.

  • OFFBOARDING * - The account is being removed as an Firewall Manager administrator.

  • *
  • OFFBOARDING_COMPLETE - The account has been removed as an * Firewall Manager administrator.

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

The current status of the request to onboard a member account as an Firewall * Manager administator.

  • ONBOARDING - The account is * onboarding to Firewall Manager as an administrator.

  • * ONBOARDING_COMPLETE - Firewall Manager The account is onboarded to * Firewall Manager as an administrator, and can perform actions on the resources * defined in their AdminScope.

  • OFFBOARDING * - The account is being removed as an Firewall Manager administrator.

  • *
  • OFFBOARDING_COMPLETE - The account has been removed as an * Firewall Manager administrator.

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

The current status of the request to onboard a member account as an Firewall * Manager administator.

  • ONBOARDING - The account is * onboarding to Firewall Manager as an administrator.

  • * ONBOARDING_COMPLETE - Firewall Manager The account is onboarded to * Firewall Manager as an administrator, and can perform actions on the resources * defined in their AdminScope.

  • OFFBOARDING * - The account is being removed as an Firewall Manager administrator.

  • *
  • OFFBOARDING_COMPLETE - The account has been removed as an * Firewall Manager administrator.

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

The current status of the request to onboard a member account as an Firewall * Manager administator.

  • ONBOARDING - The account is * onboarding to Firewall Manager as an administrator.

  • * ONBOARDING_COMPLETE - Firewall Manager The account is onboarded to * Firewall Manager as an administrator, and can perform actions on the resources * defined in their AdminScope.

  • OFFBOARDING * - The account is being removed as an Firewall Manager administrator.

  • *
  • OFFBOARDING_COMPLETE - The account has been removed as an * Firewall Manager administrator.

*/ inline GetAdminScopeResult& WithStatus(const OrganizationStatus& value) { SetStatus(value); return *this;} /** *

The current status of the request to onboard a member account as an Firewall * Manager administator.

  • ONBOARDING - The account is * onboarding to Firewall Manager as an administrator.

  • * ONBOARDING_COMPLETE - Firewall Manager The account is onboarded to * Firewall Manager as an administrator, and can perform actions on the resources * defined in their AdminScope.

  • OFFBOARDING * - The account is being removed as an Firewall Manager administrator.

  • *
  • OFFBOARDING_COMPLETE - The account has been removed as an * Firewall Manager administrator.

*/ inline GetAdminScopeResult& WithStatus(OrganizationStatus&& 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 GetAdminScopeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAdminScopeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAdminScopeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AdminScope m_adminScope; OrganizationStatus m_status; Aws::String m_requestId; }; } // namespace Model } // namespace FMS } // namespace Aws