/** * 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 { /** *

Details about the state of the ECR scans for your environment.

See * Also:

AWS * API Reference

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

An object that contains details about the state of the ECR automated re-scan * setting.

*/ inline const EcrRescanDurationState& GetRescanDurationState() const{ return m_rescanDurationState; } /** *

An object that contains details about the state of the ECR automated re-scan * setting.

*/ inline bool RescanDurationStateHasBeenSet() const { return m_rescanDurationStateHasBeenSet; } /** *

An object that contains details about the state of the ECR automated re-scan * setting.

*/ inline void SetRescanDurationState(const EcrRescanDurationState& value) { m_rescanDurationStateHasBeenSet = true; m_rescanDurationState = value; } /** *

An object that contains details about the state of the ECR automated re-scan * setting.

*/ inline void SetRescanDurationState(EcrRescanDurationState&& value) { m_rescanDurationStateHasBeenSet = true; m_rescanDurationState = std::move(value); } /** *

An object that contains details about the state of the ECR automated re-scan * setting.

*/ inline EcrConfigurationState& WithRescanDurationState(const EcrRescanDurationState& value) { SetRescanDurationState(value); return *this;} /** *

An object that contains details about the state of the ECR automated re-scan * setting.

*/ inline EcrConfigurationState& WithRescanDurationState(EcrRescanDurationState&& value) { SetRescanDurationState(std::move(value)); return *this;} private: EcrRescanDurationState m_rescanDurationState; bool m_rescanDurationStateHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws