/** * 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 UpdateConfigurationRequest : public Inspector2Request { public: AWS_INSPECTOR2_API UpdateConfigurationRequest(); // 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 "UpdateConfiguration"; } AWS_INSPECTOR2_API Aws::String SerializePayload() const override; /** *

Specifies how the ECR automated re-scan will be updated for your * environment.

*/ inline const EcrConfiguration& GetEcrConfiguration() const{ return m_ecrConfiguration; } /** *

Specifies how the ECR automated re-scan will be updated for your * environment.

*/ inline bool EcrConfigurationHasBeenSet() const { return m_ecrConfigurationHasBeenSet; } /** *

Specifies how the ECR automated re-scan will be updated for your * environment.

*/ inline void SetEcrConfiguration(const EcrConfiguration& value) { m_ecrConfigurationHasBeenSet = true; m_ecrConfiguration = value; } /** *

Specifies how the ECR automated re-scan will be updated for your * environment.

*/ inline void SetEcrConfiguration(EcrConfiguration&& value) { m_ecrConfigurationHasBeenSet = true; m_ecrConfiguration = std::move(value); } /** *

Specifies how the ECR automated re-scan will be updated for your * environment.

*/ inline UpdateConfigurationRequest& WithEcrConfiguration(const EcrConfiguration& value) { SetEcrConfiguration(value); return *this;} /** *

Specifies how the ECR automated re-scan will be updated for your * environment.

*/ inline UpdateConfigurationRequest& WithEcrConfiguration(EcrConfiguration&& value) { SetEcrConfiguration(std::move(value)); return *this;} private: EcrConfiguration m_ecrConfiguration; bool m_ecrConfigurationHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws