text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/ecs/ECS_EXPORTS.h>
  #include <aws/ecs/ECSRequest.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <utility>
  
  namespace Aws
  {
  namespace ECS
  {
  namespace Model
  {
  
    /**
     */
    class AWS_ECS_API DeregisterTaskDefinitionRequest : public ECSRequest
    {
    public:
      DeregisterTaskDefinitionRequest();
  
      // 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 "DeregisterTaskDefinition"; }
  
      Aws::String SerializePayload() const override;
  
      Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
  
  
      /**
       * <p>The <code>family</code> and <code>revision</code>
       * (<code>family:revision</code>) or full Amazon Resource Name (ARN) of the task
       * definition to deregister. You must specify a <code>revision</code>.</p>
       */
      inline const Aws::String& GetTaskDefinition() const{ return m_taskDefinition; }
  
      /**
       * <p>The <code>family</code> and <code>revision</code>
       * (<code>family:revision</code>) or full Amazon Resource Name (ARN) of the task
       * definition to deregister. You must specify a <code>revision</code>.</p>
       */
      inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; }
  
      /**
       * <p>The <code>family</code> and <code>revision</code>
       * (<code>family:revision</code>) or full Amazon Resource Name (ARN) of the task
       * definition to deregister. You must specify a <code>revision</code>.</p>
       */
      inline void SetTaskDefinition(const Aws::String& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = value; }
  
      /**
       * <p>The <code>family</code> and <code>revision</code>
       * (<code>family:revision</code>) or full Amazon Resource Name (ARN) of the task
       * definition to deregister. You must specify a <code>revision</code>.</p>
       */
      inline void SetTaskDefinition(Aws::String&& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = std::move(value); }
  
      /**
       * <p>The <code>family</code> and <code>revision</code>
       * (<code>family:revision</code>) or full Amazon Resource Name (ARN) of the task
       * definition to deregister. You must specify a <code>revision</code>.</p>
       */
      inline void SetTaskDefinition(const char* value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition.assign(value); }
  
      /**
       * <p>The <code>family</code> and <code>revision</code>
       * (<code>family:revision</code>) or full Amazon Resource Name (ARN) of the task
       * definition to deregister. You must specify a <code>revision</code>.</p>
       */
      inline DeregisterTaskDefinitionRequest& WithTaskDefinition(const Aws::String& value) { SetTaskDefinition(value); return *this;}
  
      /**
       * <p>The <code>family</code> and <code>revision</code>
       * (<code>family:revision</code>) or full Amazon Resource Name (ARN) of the task
       * definition to deregister. You must specify a <code>revision</code>.</p>
       */
      inline DeregisterTaskDefinitionRequest& WithTaskDefinition(Aws::String&& value) { SetTaskDefinition(std::move(value)); return *this;}
  
      /**
       * <p>The <code>family</code> and <code>revision</code>
       * (<code>family:revision</code>) or full Amazon Resource Name (ARN) of the task
       * definition to deregister. You must specify a <code>revision</code>.</p>
       */
      inline DeregisterTaskDefinitionRequest& WithTaskDefinition(const char* value) { SetTaskDefinition(value); return *this;}
  
    private:
  
      Aws::String m_taskDefinition;
      bool m_taskDefinitionHasBeenSet;
    };
  
  } // namespace Model
  } // namespace ECS
  } // namespace Aws
  