text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/codepipeline/CodePipeline_EXPORTS.h>
  
  namespace Aws
  {
  namespace Utils
  {
  namespace Json
  {
    class JsonValue;
    class JsonView;
  } // namespace Json
  } // namespace Utils
  namespace CodePipeline
  {
  namespace Model
  {
  
    /**
     * <p>Information about parameters for artifacts associated with the action type,
     * such as the minimum and maximum artifacts allowed.</p><p><h3>See Also:</h3>   <a
     * href="http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeArtifactDetails">AWS
     * API Reference</a></p>
     */
    class AWS_CODEPIPELINE_API ActionTypeArtifactDetails
    {
    public:
      ActionTypeArtifactDetails();
      ActionTypeArtifactDetails(Aws::Utils::Json::JsonView jsonValue);
      ActionTypeArtifactDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
      Aws::Utils::Json::JsonValue Jsonize() const;
  
  
      /**
       * <p>The minimum number of artifacts that can be used with the action type. For
       * example, you should specify a minimum and maximum of zero input artifacts for an
       * action type with a category of <code>source</code>.</p>
       */
      inline int GetMinimumCount() const{ return m_minimumCount; }
  
      /**
       * <p>The minimum number of artifacts that can be used with the action type. For
       * example, you should specify a minimum and maximum of zero input artifacts for an
       * action type with a category of <code>source</code>.</p>
       */
      inline bool MinimumCountHasBeenSet() const { return m_minimumCountHasBeenSet; }
  
      /**
       * <p>The minimum number of artifacts that can be used with the action type. For
       * example, you should specify a minimum and maximum of zero input artifacts for an
       * action type with a category of <code>source</code>.</p>
       */
      inline void SetMinimumCount(int value) { m_minimumCountHasBeenSet = true; m_minimumCount = value; }
  
      /**
       * <p>The minimum number of artifacts that can be used with the action type. For
       * example, you should specify a minimum and maximum of zero input artifacts for an
       * action type with a category of <code>source</code>.</p>
       */
      inline ActionTypeArtifactDetails& WithMinimumCount(int value) { SetMinimumCount(value); return *this;}
  
  
      /**
       * <p>The maximum number of artifacts that can be used with the actiontype. For
       * example, you should specify a minimum and maximum of zero input artifacts for an
       * action type with a category of <code>source</code>.</p>
       */
      inline int GetMaximumCount() const{ return m_maximumCount; }
  
      /**
       * <p>The maximum number of artifacts that can be used with the actiontype. For
       * example, you should specify a minimum and maximum of zero input artifacts for an
       * action type with a category of <code>source</code>.</p>
       */
      inline bool MaximumCountHasBeenSet() const { return m_maximumCountHasBeenSet; }
  
      /**
       * <p>The maximum number of artifacts that can be used with the actiontype. For
       * example, you should specify a minimum and maximum of zero input artifacts for an
       * action type with a category of <code>source</code>.</p>
       */
      inline void SetMaximumCount(int value) { m_maximumCountHasBeenSet = true; m_maximumCount = value; }
  
      /**
       * <p>The maximum number of artifacts that can be used with the actiontype. For
       * example, you should specify a minimum and maximum of zero input artifacts for an
       * action type with a category of <code>source</code>.</p>
       */
      inline ActionTypeArtifactDetails& WithMaximumCount(int value) { SetMaximumCount(value); return *this;}
  
    private:
  
      int m_minimumCount;
      bool m_minimumCountHasBeenSet;
  
      int m_maximumCount;
      bool m_maximumCountHasBeenSet;
    };
  
  } // namespace Model
  } // namespace CodePipeline
  } // namespace Aws
  