/** * 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 Inspector2 { namespace Model { /** *

Details of the Amazon Inspector delegated administrator for your * organization.

See Also:

AWS * API Reference

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

The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for your organization.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for your organization.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for your organization.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for your organization.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for your organization.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for your organization.

*/ inline DelegatedAdminAccount& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for your organization.

*/ inline DelegatedAdminAccount& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for your organization.

*/ inline DelegatedAdminAccount& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

The status of the Amazon Inspector delegated administrator.

*/ inline const DelegatedAdminStatus& GetStatus() const{ return m_status; } /** *

The status of the Amazon Inspector delegated administrator.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the Amazon Inspector delegated administrator.

*/ inline void SetStatus(const DelegatedAdminStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the Amazon Inspector delegated administrator.

*/ inline void SetStatus(DelegatedAdminStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the Amazon Inspector delegated administrator.

*/ inline DelegatedAdminAccount& WithStatus(const DelegatedAdminStatus& value) { SetStatus(value); return *this;} /** *

The status of the Amazon Inspector delegated administrator.

*/ inline DelegatedAdminAccount& WithStatus(DelegatedAdminStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; DelegatedAdminStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws