/** * 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 Inspector2 { namespace Model { /** */ class UpdateOrganizationConfigurationRequest : public Inspector2Request { public: AWS_INSPECTOR2_API UpdateOrganizationConfigurationRequest(); // 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 "UpdateOrganizationConfiguration"; } AWS_INSPECTOR2_API Aws::String SerializePayload() const override; /** *

Defines which scan types are enabled automatically for new members of your * Amazon Inspector organization.

*/ inline const AutoEnable& GetAutoEnable() const{ return m_autoEnable; } /** *

Defines which scan types are enabled automatically for new members of your * Amazon Inspector organization.

*/ inline bool AutoEnableHasBeenSet() const { return m_autoEnableHasBeenSet; } /** *

Defines which scan types are enabled automatically for new members of your * Amazon Inspector organization.

*/ inline void SetAutoEnable(const AutoEnable& value) { m_autoEnableHasBeenSet = true; m_autoEnable = value; } /** *

Defines which scan types are enabled automatically for new members of your * Amazon Inspector organization.

*/ inline void SetAutoEnable(AutoEnable&& value) { m_autoEnableHasBeenSet = true; m_autoEnable = std::move(value); } /** *

Defines which scan types are enabled automatically for new members of your * Amazon Inspector organization.

*/ inline UpdateOrganizationConfigurationRequest& WithAutoEnable(const AutoEnable& value) { SetAutoEnable(value); return *this;} /** *

Defines which scan types are enabled automatically for new members of your * Amazon Inspector organization.

*/ inline UpdateOrganizationConfigurationRequest& WithAutoEnable(AutoEnable&& value) { SetAutoEnable(std::move(value)); return *this;} private: AutoEnable m_autoEnable; bool m_autoEnableHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws