/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a Security Hub administrator account designated by an organization
* management account.See Also:
AWS
* API Reference
The Amazon Web Services account identifier of the Security Hub administrator * account.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The Amazon Web Services account identifier of the Security Hub administrator * account.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The Amazon Web Services account identifier of the Security Hub administrator * account.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The Amazon Web Services account identifier of the Security Hub administrator * account.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The Amazon Web Services account identifier of the Security Hub administrator * account.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The Amazon Web Services account identifier of the Security Hub administrator * account.
*/ inline AdminAccount& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The Amazon Web Services account identifier of the Security Hub administrator * account.
*/ inline AdminAccount& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The Amazon Web Services account identifier of the Security Hub administrator * account.
*/ inline AdminAccount& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *The current status of the Security Hub administrator account. Indicates * whether the account is currently enabled as a Security Hub administrator.
*/ inline const AdminStatus& GetStatus() const{ return m_status; } /** *The current status of the Security Hub administrator account. Indicates * whether the account is currently enabled as a Security Hub administrator.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current status of the Security Hub administrator account. Indicates * whether the account is currently enabled as a Security Hub administrator.
*/ inline void SetStatus(const AdminStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current status of the Security Hub administrator account. Indicates * whether the account is currently enabled as a Security Hub administrator.
*/ inline void SetStatus(AdminStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current status of the Security Hub administrator account. Indicates * whether the account is currently enabled as a Security Hub administrator.
*/ inline AdminAccount& WithStatus(const AdminStatus& value) { SetStatus(value); return *this;} /** *The current status of the Security Hub administrator account. Indicates * whether the account is currently enabled as a Security Hub administrator.
*/ inline AdminAccount& WithStatus(AdminStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; AdminStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws