/** * 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 FMS { namespace Model { class AWS_FMS_API GetAdminAccountResult { public: GetAdminAccountResult(); GetAdminAccountResult(const Aws::AmazonWebServiceResult& result); GetAdminAccountResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The AWS account that is set as the AWS Firewall Manager administrator.

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

The AWS account that is set as the AWS Firewall Manager administrator.

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

The AWS account that is set as the AWS Firewall Manager administrator.

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

The AWS account that is set as the AWS Firewall Manager administrator.

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

The AWS account that is set as the AWS Firewall Manager administrator.

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

The AWS account that is set as the AWS Firewall Manager administrator.

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

The AWS account that is set as the AWS Firewall Manager administrator.

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

The status of the AWS account that you set as the AWS Firewall Manager * administrator.

*/ inline const AccountRoleStatus& GetRoleStatus() const{ return m_roleStatus; } /** *

The status of the AWS account that you set as the AWS Firewall Manager * administrator.

*/ inline void SetRoleStatus(const AccountRoleStatus& value) { m_roleStatus = value; } /** *

The status of the AWS account that you set as the AWS Firewall Manager * administrator.

*/ inline void SetRoleStatus(AccountRoleStatus&& value) { m_roleStatus = std::move(value); } /** *

The status of the AWS account that you set as the AWS Firewall Manager * administrator.

*/ inline GetAdminAccountResult& WithRoleStatus(const AccountRoleStatus& value) { SetRoleStatus(value); return *this;} /** *

The status of the AWS account that you set as the AWS Firewall Manager * administrator.

*/ inline GetAdminAccountResult& WithRoleStatus(AccountRoleStatus&& value) { SetRoleStatus(std::move(value)); return *this;} private: Aws::String m_adminAccount; AccountRoleStatus m_roleStatus; }; } // namespace Model } // namespace FMS } // namespace Aws