/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The account within the organization specified as the GuardDuty delegated
* administrator.See Also:
AWS
* API Reference
The Amazon Web Services account ID for the account.
*/ inline const Aws::String& GetAdminAccountId() const{ return m_adminAccountId; } /** *The Amazon Web Services account ID for the account.
*/ inline bool AdminAccountIdHasBeenSet() const { return m_adminAccountIdHasBeenSet; } /** *The Amazon Web Services account ID for the account.
*/ inline void SetAdminAccountId(const Aws::String& value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId = value; } /** *The Amazon Web Services account ID for the account.
*/ inline void SetAdminAccountId(Aws::String&& value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId = std::move(value); } /** *The Amazon Web Services account ID for the account.
*/ inline void SetAdminAccountId(const char* value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId.assign(value); } /** *The Amazon Web Services account ID for the account.
*/ inline AdminAccount& WithAdminAccountId(const Aws::String& value) { SetAdminAccountId(value); return *this;} /** *The Amazon Web Services account ID for the account.
*/ inline AdminAccount& WithAdminAccountId(Aws::String&& value) { SetAdminAccountId(std::move(value)); return *this;} /** *The Amazon Web Services account ID for the account.
*/ inline AdminAccount& WithAdminAccountId(const char* value) { SetAdminAccountId(value); return *this;} /** *Indicates whether the account is enabled as the delegated administrator.
*/ inline const AdminStatus& GetAdminStatus() const{ return m_adminStatus; } /** *Indicates whether the account is enabled as the delegated administrator.
*/ inline bool AdminStatusHasBeenSet() const { return m_adminStatusHasBeenSet; } /** *Indicates whether the account is enabled as the delegated administrator.
*/ inline void SetAdminStatus(const AdminStatus& value) { m_adminStatusHasBeenSet = true; m_adminStatus = value; } /** *Indicates whether the account is enabled as the delegated administrator.
*/ inline void SetAdminStatus(AdminStatus&& value) { m_adminStatusHasBeenSet = true; m_adminStatus = std::move(value); } /** *Indicates whether the account is enabled as the delegated administrator.
*/ inline AdminAccount& WithAdminStatus(const AdminStatus& value) { SetAdminStatus(value); return *this;} /** *Indicates whether the account is enabled as the delegated administrator.
*/ inline AdminAccount& WithAdminStatus(AdminStatus&& value) { SetAdminStatus(std::move(value)); return *this;} private: Aws::String m_adminAccountId; bool m_adminAccountIdHasBeenSet = false; AdminStatus m_adminStatus; bool m_adminStatusHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws