text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/ssm/SSM_EXPORTS.h>
  #include <aws/ssm/SSMRequest.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <utility>
  
  namespace Aws
  {
  namespace SSM
  {
  namespace Model
  {
  
    /**
     */
    class AWS_SSM_API GetConnectionStatusRequest : public SSMRequest
    {
    public:
      GetConnectionStatusRequest();
  
      // 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 "GetConnectionStatus"; }
  
      Aws::String SerializePayload() const override;
  
      Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
  
  
      /**
       * <p>The ID of the instance.</p>
       */
      inline const Aws::String& GetTarget() const{ return m_target; }
  
      /**
       * <p>The ID of the instance.</p>
       */
      inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
  
      /**
       * <p>The ID of the instance.</p>
       */
      inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
  
      /**
       * <p>The ID of the instance.</p>
       */
      inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
  
      /**
       * <p>The ID of the instance.</p>
       */
      inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
  
      /**
       * <p>The ID of the instance.</p>
       */
      inline GetConnectionStatusRequest& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
  
      /**
       * <p>The ID of the instance.</p>
       */
      inline GetConnectionStatusRequest& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
  
      /**
       * <p>The ID of the instance.</p>
       */
      inline GetConnectionStatusRequest& WithTarget(const char* value) { SetTarget(value); return *this;}
  
    private:
  
      Aws::String m_target;
      bool m_targetHasBeenSet;
    };
  
  } // namespace Model
  } // namespace SSM
  } // namespace Aws
  