/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FMS { namespace Model { /** *

Contains high level information about the Firewall Manager administrator * account.

See Also:

AWS * API Reference

*/ class AdminAccountSummary { public: AWS_FMS_API AdminAccountSummary(); AWS_FMS_API AdminAccountSummary(Aws::Utils::Json::JsonView jsonValue); AWS_FMS_API AdminAccountSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Web Services account ID of the Firewall Manager administrator's * account.

*/ inline const Aws::String& GetAdminAccount() const{ return m_adminAccount; } /** *

The Amazon Web Services account ID of the Firewall Manager administrator's * account.

*/ inline bool AdminAccountHasBeenSet() const { return m_adminAccountHasBeenSet; } /** *

The Amazon Web Services account ID of the Firewall Manager administrator's * account.

*/ inline void SetAdminAccount(const Aws::String& value) { m_adminAccountHasBeenSet = true; m_adminAccount = value; } /** *

The Amazon Web Services account ID of the Firewall Manager administrator's * account.

*/ inline void SetAdminAccount(Aws::String&& value) { m_adminAccountHasBeenSet = true; m_adminAccount = std::move(value); } /** *

The Amazon Web Services account ID of the Firewall Manager administrator's * account.

*/ inline void SetAdminAccount(const char* value) { m_adminAccountHasBeenSet = true; m_adminAccount.assign(value); } /** *

The Amazon Web Services account ID of the Firewall Manager administrator's * account.

*/ inline AdminAccountSummary& WithAdminAccount(const Aws::String& value) { SetAdminAccount(value); return *this;} /** *

The Amazon Web Services account ID of the Firewall Manager administrator's * account.

*/ inline AdminAccountSummary& WithAdminAccount(Aws::String&& value) { SetAdminAccount(std::move(value)); return *this;} /** *

The Amazon Web Services account ID of the Firewall Manager administrator's * account.

*/ inline AdminAccountSummary& WithAdminAccount(const char* value) { SetAdminAccount(value); return *this;} /** *

A boolean value that indicates if the administrator is the default * administrator. If true, then this is the default administrator account. The * default administrator can manage third-party firewalls and has full * administrative scope. There is only one default administrator account per * organization. For information about Firewall Manager default administrator * accounts, see Managing * Firewall Manager administrators in the Firewall Manager Developer * Guide.

*/ inline bool GetDefaultAdmin() const{ return m_defaultAdmin; } /** *

A boolean value that indicates if the administrator is the default * administrator. If true, then this is the default administrator account. The * default administrator can manage third-party firewalls and has full * administrative scope. There is only one default administrator account per * organization. For information about Firewall Manager default administrator * accounts, see Managing * Firewall Manager administrators in the Firewall Manager Developer * Guide.

*/ inline bool DefaultAdminHasBeenSet() const { return m_defaultAdminHasBeenSet; } /** *

A boolean value that indicates if the administrator is the default * administrator. If true, then this is the default administrator account. The * default administrator can manage third-party firewalls and has full * administrative scope. There is only one default administrator account per * organization. For information about Firewall Manager default administrator * accounts, see Managing * Firewall Manager administrators in the Firewall Manager Developer * Guide.

*/ inline void SetDefaultAdmin(bool value) { m_defaultAdminHasBeenSet = true; m_defaultAdmin = value; } /** *

A boolean value that indicates if the administrator is the default * administrator. If true, then this is the default administrator account. The * default administrator can manage third-party firewalls and has full * administrative scope. There is only one default administrator account per * organization. For information about Firewall Manager default administrator * accounts, see Managing * Firewall Manager administrators in the Firewall Manager Developer * Guide.

*/ inline AdminAccountSummary& WithDefaultAdmin(bool value) { SetDefaultAdmin(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 bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

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_statusHasBeenSet = true; 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_statusHasBeenSet = true; 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 AdminAccountSummary& 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 AdminAccountSummary& WithStatus(OrganizationStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_adminAccount; bool m_adminAccountHasBeenSet = false; bool m_defaultAdmin; bool m_defaultAdminHasBeenSet = false; OrganizationStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws