text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/workmail/WorkMail_EXPORTS.h>
  #include <aws/workmail/WorkMailRequest.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <utility>
  
  namespace Aws
  {
  namespace WorkMail
  {
  namespace Model
  {
  
    /**
     */
    class AWS_WORKMAIL_API DisassociateMemberFromGroupRequest : public WorkMailRequest
    {
    public:
      DisassociateMemberFromGroupRequest();
  
      // 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 "DisassociateMemberFromGroup"; }
  
      Aws::String SerializePayload() const override;
  
      Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
  
  
      /**
       * <p>The identifier for the organization under which the group exists.</p>
       */
      inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
  
      /**
       * <p>The identifier for the organization under which the group exists.</p>
       */
      inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
  
      /**
       * <p>The identifier for the organization under which the group exists.</p>
       */
      inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
  
      /**
       * <p>The identifier for the organization under which the group exists.</p>
       */
      inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
  
      /**
       * <p>The identifier for the organization under which the group exists.</p>
       */
      inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
  
      /**
       * <p>The identifier for the organization under which the group exists.</p>
       */
      inline DisassociateMemberFromGroupRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
  
      /**
       * <p>The identifier for the organization under which the group exists.</p>
       */
      inline DisassociateMemberFromGroupRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
  
      /**
       * <p>The identifier for the organization under which the group exists.</p>
       */
      inline DisassociateMemberFromGroupRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
  
  
      /**
       * <p>The identifier for the group from which members are removed.</p>
       */
      inline const Aws::String& GetGroupId() const{ return m_groupId; }
  
      /**
       * <p>The identifier for the group from which members are removed.</p>
       */
      inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
  
      /**
       * <p>The identifier for the group from which members are removed.</p>
       */
      inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
  
      /**
       * <p>The identifier for the group from which members are removed.</p>
       */
      inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
  
      /**
       * <p>The identifier for the group from which members are removed.</p>
       */
      inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
  
      /**
       * <p>The identifier for the group from which members are removed.</p>
       */
      inline DisassociateMemberFromGroupRequest& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
  
      /**
       * <p>The identifier for the group from which members are removed.</p>
       */
      inline DisassociateMemberFromGroupRequest& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
  
      /**
       * <p>The identifier for the group from which members are removed.</p>
       */
      inline DisassociateMemberFromGroupRequest& WithGroupId(const char* value) { SetGroupId(value); return *this;}
  
  
      /**
       * <p>The identifier for the member to be removed to the group.</p>
       */
      inline const Aws::String& GetMemberId() const{ return m_memberId; }
  
      /**
       * <p>The identifier for the member to be removed to the group.</p>
       */
      inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; }
  
      /**
       * <p>The identifier for the member to be removed to the group.</p>
       */
      inline void SetMemberId(const Aws::String& value) { m_memberIdHasBeenSet = true; m_memberId = value; }
  
      /**
       * <p>The identifier for the member to be removed to the group.</p>
       */
      inline void SetMemberId(Aws::String&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); }
  
      /**
       * <p>The identifier for the member to be removed to the group.</p>
       */
      inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); }
  
      /**
       * <p>The identifier for the member to be removed to the group.</p>
       */
      inline DisassociateMemberFromGroupRequest& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;}
  
      /**
       * <p>The identifier for the member to be removed to the group.</p>
       */
      inline DisassociateMemberFromGroupRequest& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;}
  
      /**
       * <p>The identifier for the member to be removed to the group.</p>
       */
      inline DisassociateMemberFromGroupRequest& WithMemberId(const char* value) { SetMemberId(value); return *this;}
  
    private:
  
      Aws::String m_organizationId;
      bool m_organizationIdHasBeenSet;
  
      Aws::String m_groupId;
      bool m_groupIdHasBeenSet;
  
      Aws::String m_memberId;
      bool m_memberIdHasBeenSet;
    };
  
  } // namespace Model
  } // namespace WorkMail
  } // namespace Aws
  