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

The summary of the lifecycle policy preview request.

See Also:

* AWS * API Reference

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

The number of expiring images.

*/ inline int GetExpiringImageTotalCount() const{ return m_expiringImageTotalCount; } /** *

The number of expiring images.

*/ inline bool ExpiringImageTotalCountHasBeenSet() const { return m_expiringImageTotalCountHasBeenSet; } /** *

The number of expiring images.

*/ inline void SetExpiringImageTotalCount(int value) { m_expiringImageTotalCountHasBeenSet = true; m_expiringImageTotalCount = value; } /** *

The number of expiring images.

*/ inline LifecyclePolicyPreviewSummary& WithExpiringImageTotalCount(int value) { SetExpiringImageTotalCount(value); return *this;} private: int m_expiringImageTotalCount; bool m_expiringImageTotalCountHasBeenSet = false; }; } // namespace Model } // namespace ECR } // namespace Aws