/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Inspector2 { namespace Model { /** */ class UpdateEc2DeepInspectionConfigurationRequest : public Inspector2Request { public: AWS_INSPECTOR2_API UpdateEc2DeepInspectionConfigurationRequest(); // 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 "UpdateEc2DeepInspectionConfiguration"; } AWS_INSPECTOR2_API Aws::String SerializePayload() const override; /** *

Specify TRUE to activate Amazon Inspector deep inspection in * your account, or FALSE to deactivate. Member accounts in an * organization cannot deactivate deep inspection, instead the delegated * administrator for the organization can deactivate a member account using BatchUpdateMemberEc2DeepInspectionStatus.

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

Specify TRUE to activate Amazon Inspector deep inspection in * your account, or FALSE to deactivate. Member accounts in an * organization cannot deactivate deep inspection, instead the delegated * administrator for the organization can deactivate a member account using BatchUpdateMemberEc2DeepInspectionStatus.

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

Specify TRUE to activate Amazon Inspector deep inspection in * your account, or FALSE to deactivate. Member accounts in an * organization cannot deactivate deep inspection, instead the delegated * administrator for the organization can deactivate a member account using BatchUpdateMemberEc2DeepInspectionStatus.

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

Specify TRUE to activate Amazon Inspector deep inspection in * your account, or FALSE to deactivate. Member accounts in an * organization cannot deactivate deep inspection, instead the delegated * administrator for the organization can deactivate a member account using BatchUpdateMemberEc2DeepInspectionStatus.

*/ inline UpdateEc2DeepInspectionConfigurationRequest& WithActivateDeepInspection(bool value) { SetActivateDeepInspection(value); return *this;} /** *

The Amazon Inspector deep inspection custom paths you are adding for your * account.

*/ inline const Aws::Vector& GetPackagePaths() const{ return m_packagePaths; } /** *

The Amazon Inspector deep inspection custom paths you are adding for your * account.

*/ inline bool PackagePathsHasBeenSet() const { return m_packagePathsHasBeenSet; } /** *

The Amazon Inspector deep inspection custom paths you are adding for your * account.

*/ inline void SetPackagePaths(const Aws::Vector& value) { m_packagePathsHasBeenSet = true; m_packagePaths = value; } /** *

The Amazon Inspector deep inspection custom paths you are adding for your * account.

*/ inline void SetPackagePaths(Aws::Vector&& value) { m_packagePathsHasBeenSet = true; m_packagePaths = std::move(value); } /** *

The Amazon Inspector deep inspection custom paths you are adding for your * account.

*/ inline UpdateEc2DeepInspectionConfigurationRequest& WithPackagePaths(const Aws::Vector& value) { SetPackagePaths(value); return *this;} /** *

The Amazon Inspector deep inspection custom paths you are adding for your * account.

*/ inline UpdateEc2DeepInspectionConfigurationRequest& WithPackagePaths(Aws::Vector&& value) { SetPackagePaths(std::move(value)); return *this;} /** *

The Amazon Inspector deep inspection custom paths you are adding for your * account.

*/ inline UpdateEc2DeepInspectionConfigurationRequest& AddPackagePaths(const Aws::String& value) { m_packagePathsHasBeenSet = true; m_packagePaths.push_back(value); return *this; } /** *

The Amazon Inspector deep inspection custom paths you are adding for your * account.

*/ inline UpdateEc2DeepInspectionConfigurationRequest& AddPackagePaths(Aws::String&& value) { m_packagePathsHasBeenSet = true; m_packagePaths.push_back(std::move(value)); return *this; } /** *

The Amazon Inspector deep inspection custom paths you are adding for your * account.

*/ inline UpdateEc2DeepInspectionConfigurationRequest& AddPackagePaths(const char* value) { m_packagePathsHasBeenSet = true; m_packagePaths.push_back(value); return *this; } private: bool m_activateDeepInspection; bool m_activateDeepInspectionHasBeenSet = false; Aws::Vector m_packagePaths; bool m_packagePathsHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws