/** * 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 FMS { namespace Model { /** */ class AssociateAdminAccountRequest : public FMSRequest { public: AWS_FMS_API AssociateAdminAccountRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "AssociateAdminAccount"; } AWS_FMS_API Aws::String SerializePayload() const override; AWS_FMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Web Services account ID to associate with Firewall Manager as the * Firewall Manager default administrator account. This account must be a member * account of the organization in Organizations whose resources you want to * protect. For more information about Organizations, see Managing * the Amazon Web Services Accounts in Your Organization.

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

The Amazon Web Services account ID to associate with Firewall Manager as the * Firewall Manager default administrator account. This account must be a member * account of the organization in Organizations whose resources you want to * protect. For more information about Organizations, see Managing * the Amazon Web Services Accounts in Your Organization.

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

The Amazon Web Services account ID to associate with Firewall Manager as the * Firewall Manager default administrator account. This account must be a member * account of the organization in Organizations whose resources you want to * protect. For more information about Organizations, see Managing * the Amazon Web Services Accounts in Your Organization.

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

The Amazon Web Services account ID to associate with Firewall Manager as the * Firewall Manager default administrator account. This account must be a member * account of the organization in Organizations whose resources you want to * protect. For more information about Organizations, see Managing * the Amazon Web Services Accounts in Your Organization.

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

The Amazon Web Services account ID to associate with Firewall Manager as the * Firewall Manager default administrator account. This account must be a member * account of the organization in Organizations whose resources you want to * protect. For more information about Organizations, see Managing * the Amazon Web Services Accounts in Your Organization.

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

The Amazon Web Services account ID to associate with Firewall Manager as the * Firewall Manager default administrator account. This account must be a member * account of the organization in Organizations whose resources you want to * protect. For more information about Organizations, see Managing * the Amazon Web Services Accounts in Your Organization.

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

The Amazon Web Services account ID to associate with Firewall Manager as the * Firewall Manager default administrator account. This account must be a member * account of the organization in Organizations whose resources you want to * protect. For more information about Organizations, see Managing * the Amazon Web Services Accounts in Your Organization.

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

The Amazon Web Services account ID to associate with Firewall Manager as the * Firewall Manager default administrator account. This account must be a member * account of the organization in Organizations whose resources you want to * protect. For more information about Organizations, see Managing * the Amazon Web Services Accounts in Your Organization.

*/ inline AssociateAdminAccountRequest& WithAdminAccount(const char* value) { SetAdminAccount(value); return *this;} private: Aws::String m_adminAccount; bool m_adminAccountHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws