text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/chime/Chime_EXPORTS.h>
  #include <aws/chime/ChimeRequest.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <utility>
  
  namespace Aws
  {
  namespace Http
  {
      class URI;
  } //namespace Http
  namespace Chime
  {
  namespace Model
  {
  
    /**
     */
    class AWS_CHIME_API DescribeChannelMembershipForAppInstanceUserRequest : public ChimeRequest
    {
    public:
      DescribeChannelMembershipForAppInstanceUserRequest();
  
      // 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 "DescribeChannelMembershipForAppInstanceUser"; }
  
      Aws::String SerializePayload() const override;
  
      void AddQueryStringParameters(Aws::Http::URI& uri) const override;
  
      Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
  
  
      /**
       * <p>The ARN of the channel to which the user belongs.</p>
       */
      inline const Aws::String& GetChannelArn() const{ return m_channelArn; }
  
      /**
       * <p>The ARN of the channel to which the user belongs.</p>
       */
      inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; }
  
      /**
       * <p>The ARN of the channel to which the user belongs.</p>
       */
      inline void SetChannelArn(const Aws::String& value) { m_channelArnHasBeenSet = true; m_channelArn = value; }
  
      /**
       * <p>The ARN of the channel to which the user belongs.</p>
       */
      inline void SetChannelArn(Aws::String&& value) { m_channelArnHasBeenSet = true; m_channelArn = std::move(value); }
  
      /**
       * <p>The ARN of the channel to which the user belongs.</p>
       */
      inline void SetChannelArn(const char* value) { m_channelArnHasBeenSet = true; m_channelArn.assign(value); }
  
      /**
       * <p>The ARN of the channel to which the user belongs.</p>
       */
      inline DescribeChannelMembershipForAppInstanceUserRequest& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;}
  
      /**
       * <p>The ARN of the channel to which the user belongs.</p>
       */
      inline DescribeChannelMembershipForAppInstanceUserRequest& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;}
  
      /**
       * <p>The ARN of the channel to which the user belongs.</p>
       */
      inline DescribeChannelMembershipForAppInstanceUserRequest& WithChannelArn(const char* value) { SetChannelArn(value); return *this;}
  
  
      /**
       * <p>The ARN of the user in a channel.</p>
       */
      inline const Aws::String& GetAppInstanceUserArn() const{ return m_appInstanceUserArn; }
  
      /**
       * <p>The ARN of the user in a channel.</p>
       */
      inline bool AppInstanceUserArnHasBeenSet() const { return m_appInstanceUserArnHasBeenSet; }
  
      /**
       * <p>The ARN of the user in a channel.</p>
       */
      inline void SetAppInstanceUserArn(const Aws::String& value) { m_appInstanceUserArnHasBeenSet = true; m_appInstanceUserArn = value; }
  
      /**
       * <p>The ARN of the user in a channel.</p>
       */
      inline void SetAppInstanceUserArn(Aws::String&& value) { m_appInstanceUserArnHasBeenSet = true; m_appInstanceUserArn = std::move(value); }
  
      /**
       * <p>The ARN of the user in a channel.</p>
       */
      inline void SetAppInstanceUserArn(const char* value) { m_appInstanceUserArnHasBeenSet = true; m_appInstanceUserArn.assign(value); }
  
      /**
       * <p>The ARN of the user in a channel.</p>
       */
      inline DescribeChannelMembershipForAppInstanceUserRequest& WithAppInstanceUserArn(const Aws::String& value) { SetAppInstanceUserArn(value); return *this;}
  
      /**
       * <p>The ARN of the user in a channel.</p>
       */
      inline DescribeChannelMembershipForAppInstanceUserRequest& WithAppInstanceUserArn(Aws::String&& value) { SetAppInstanceUserArn(std::move(value)); return *this;}
  
      /**
       * <p>The ARN of the user in a channel.</p>
       */
      inline DescribeChannelMembershipForAppInstanceUserRequest& WithAppInstanceUserArn(const char* value) { SetAppInstanceUserArn(value); return *this;}
  
  
      /**
       * <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
       */
      inline const Aws::String& GetChimeBearer() const{ return m_chimeBearer; }
  
      /**
       * <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
       */
      inline bool ChimeBearerHasBeenSet() const { return m_chimeBearerHasBeenSet; }
  
      /**
       * <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
       */
      inline void SetChimeBearer(const Aws::String& value) { m_chimeBearerHasBeenSet = true; m_chimeBearer = value; }
  
      /**
       * <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
       */
      inline void SetChimeBearer(Aws::String&& value) { m_chimeBearerHasBeenSet = true; m_chimeBearer = std::move(value); }
  
      /**
       * <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
       */
      inline void SetChimeBearer(const char* value) { m_chimeBearerHasBeenSet = true; m_chimeBearer.assign(value); }
  
      /**
       * <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
       */
      inline DescribeChannelMembershipForAppInstanceUserRequest& WithChimeBearer(const Aws::String& value) { SetChimeBearer(value); return *this;}
  
      /**
       * <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
       */
      inline DescribeChannelMembershipForAppInstanceUserRequest& WithChimeBearer(Aws::String&& value) { SetChimeBearer(std::move(value)); return *this;}
  
      /**
       * <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
       */
      inline DescribeChannelMembershipForAppInstanceUserRequest& WithChimeBearer(const char* value) { SetChimeBearer(value); return *this;}
  
    private:
  
      Aws::String m_channelArn;
      bool m_channelArnHasBeenSet;
  
      Aws::String m_appInstanceUserArn;
      bool m_appInstanceUserArnHasBeenSet;
  
      Aws::String m_chimeBearer;
      bool m_chimeBearerHasBeenSet;
    };
  
  } // namespace Model
  } // namespace Chime
  } // namespace Aws
  