text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/connect/Connect_EXPORTS.h>
  #include <aws/connect/ConnectRequest.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <utility>
  #include <aws/core/utils/UUID.h>
  
  namespace Aws
  {
  namespace Http
  {
      class URI;
  } //namespace Http
  namespace Connect
  {
  namespace Model
  {
  
    /**
     */
    class AWS_CONNECT_API ReleasePhoneNumberRequest : public ConnectRequest
    {
    public:
      ReleasePhoneNumberRequest();
  
      // 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 "ReleasePhoneNumber"; }
  
      Aws::String SerializePayload() const override;
  
      void AddQueryStringParameters(Aws::Http::URI& uri) const override;
  
  
      /**
       * <p>A unique identifier for the phone number.</p>
       */
      inline const Aws::String& GetPhoneNumberId() const{ return m_phoneNumberId; }
  
      /**
       * <p>A unique identifier for the phone number.</p>
       */
      inline bool PhoneNumberIdHasBeenSet() const { return m_phoneNumberIdHasBeenSet; }
  
      /**
       * <p>A unique identifier for the phone number.</p>
       */
      inline void SetPhoneNumberId(const Aws::String& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = value; }
  
      /**
       * <p>A unique identifier for the phone number.</p>
       */
      inline void SetPhoneNumberId(Aws::String&& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = std::move(value); }
  
      /**
       * <p>A unique identifier for the phone number.</p>
       */
      inline void SetPhoneNumberId(const char* value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId.assign(value); }
  
      /**
       * <p>A unique identifier for the phone number.</p>
       */
      inline ReleasePhoneNumberRequest& WithPhoneNumberId(const Aws::String& value) { SetPhoneNumberId(value); return *this;}
  
      /**
       * <p>A unique identifier for the phone number.</p>
       */
      inline ReleasePhoneNumberRequest& WithPhoneNumberId(Aws::String&& value) { SetPhoneNumberId(std::move(value)); return *this;}
  
      /**
       * <p>A unique identifier for the phone number.</p>
       */
      inline ReleasePhoneNumberRequest& WithPhoneNumberId(const char* value) { SetPhoneNumberId(value); return *this;}
  
  
      /**
       * <p>A unique, case-sensitive identifier that you provide to ensure the
       * idempotency of the request.</p>
       */
      inline const Aws::String& GetClientToken() const{ return m_clientToken; }
  
      /**
       * <p>A unique, case-sensitive identifier that you provide to ensure the
       * idempotency of the request.</p>
       */
      inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
  
      /**
       * <p>A unique, case-sensitive identifier that you provide to ensure the
       * idempotency of the request.</p>
       */
      inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
  
      /**
       * <p>A unique, case-sensitive identifier that you provide to ensure the
       * idempotency of the request.</p>
       */
      inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
  
      /**
       * <p>A unique, case-sensitive identifier that you provide to ensure the
       * idempotency of the request.</p>
       */
      inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
  
      /**
       * <p>A unique, case-sensitive identifier that you provide to ensure the
       * idempotency of the request.</p>
       */
      inline ReleasePhoneNumberRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
  
      /**
       * <p>A unique, case-sensitive identifier that you provide to ensure the
       * idempotency of the request.</p>
       */
      inline ReleasePhoneNumberRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
  
      /**
       * <p>A unique, case-sensitive identifier that you provide to ensure the
       * idempotency of the request.</p>
       */
      inline ReleasePhoneNumberRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
  
    private:
  
      Aws::String m_phoneNumberId;
      bool m_phoneNumberIdHasBeenSet;
  
      Aws::String m_clientToken;
      bool m_clientTokenHasBeenSet;
    };
  
  } // namespace Model
  } // namespace Connect
  } // namespace Aws
  