/** * 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 CodePipeline { namespace Model { /** *

Returns information about the details of an artifact.

See * Also:

AWS * API Reference

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

The minimum number of artifacts allowed for the action type.

*/ inline int GetMinimumCount() const{ return m_minimumCount; } /** *

The minimum number of artifacts allowed for the action type.

*/ inline bool MinimumCountHasBeenSet() const { return m_minimumCountHasBeenSet; } /** *

The minimum number of artifacts allowed for the action type.

*/ inline void SetMinimumCount(int value) { m_minimumCountHasBeenSet = true; m_minimumCount = value; } /** *

The minimum number of artifacts allowed for the action type.

*/ inline ArtifactDetails& WithMinimumCount(int value) { SetMinimumCount(value); return *this;} /** *

The maximum number of artifacts allowed for the action type.

*/ inline int GetMaximumCount() const{ return m_maximumCount; } /** *

The maximum number of artifacts allowed for the action type.

*/ inline bool MaximumCountHasBeenSet() const { return m_maximumCountHasBeenSet; } /** *

The maximum number of artifacts allowed for the action type.

*/ inline void SetMaximumCount(int value) { m_maximumCountHasBeenSet = true; m_maximumCount = value; } /** *

The maximum number of artifacts allowed for the action type.

*/ inline ArtifactDetails& WithMaximumCount(int value) { SetMaximumCount(value); return *this;} private: int m_minimumCount; bool m_minimumCountHasBeenSet = false; int m_maximumCount; bool m_maximumCountHasBeenSet = false; }; } // namespace Model } // namespace CodePipeline } // namespace Aws