/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Inspector2 { namespace Model { /** *

An object that contains details about the status of Amazon Inspector deep * inspection for a member account in your organization.

See Also:

* AWS * API Reference

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

The unique identifier for the Amazon Web Services account of the organization * member.

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

The unique identifier for the Amazon Web Services account of the organization * member.

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

The unique identifier for the Amazon Web Services account of the organization * member.

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

The unique identifier for the Amazon Web Services account of the organization * member.

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

The unique identifier for the Amazon Web Services account of the organization * member.

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

The unique identifier for the Amazon Web Services account of the organization * member.

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

The unique identifier for the Amazon Web Services account of the organization * member.

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

The unique identifier for the Amazon Web Services account of the organization * member.

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

Whether Amazon Inspector deep inspection is active in the account. If * TRUE Amazon Inspector deep inspection is active, if * FALSE it is not active.

*/ inline bool GetActivateDeepInspection() const{ return m_activateDeepInspection; } /** *

Whether Amazon Inspector deep inspection is active in the account. If * TRUE Amazon Inspector deep inspection is active, if * FALSE it is not active.

*/ inline bool ActivateDeepInspectionHasBeenSet() const { return m_activateDeepInspectionHasBeenSet; } /** *

Whether Amazon Inspector deep inspection is active in the account. If * TRUE Amazon Inspector deep inspection is active, if * FALSE it is not active.

*/ inline void SetActivateDeepInspection(bool value) { m_activateDeepInspectionHasBeenSet = true; m_activateDeepInspection = value; } /** *

Whether Amazon Inspector deep inspection is active in the account. If * TRUE Amazon Inspector deep inspection is active, if * FALSE it is not active.

*/ inline MemberAccountEc2DeepInspectionStatus& WithActivateDeepInspection(bool value) { SetActivateDeepInspection(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; bool m_activateDeepInspection; bool m_activateDeepInspectionHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws