text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/workdocs/WorkDocs_EXPORTS.h>
  #include <aws/workdocs/WorkDocsRequest.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <utility>
  
  namespace Aws
  {
  namespace WorkDocs
  {
  namespace Model
  {
  
    /**
     */
    class AWS_WORKDOCS_API CreateFolderRequest : public WorkDocsRequest
    {
    public:
      CreateFolderRequest();
  
      // 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 "CreateFolder"; }
  
      Aws::String SerializePayload() const override;
  
      Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
  
  
      /**
       * <p>Amazon WorkDocs authentication token. Not required when using AWS
       * administrator credentials to access the API.</p>
       */
      inline const Aws::String& GetAuthenticationToken() const{ return m_authenticationToken; }
  
      /**
       * <p>Amazon WorkDocs authentication token. Not required when using AWS
       * administrator credentials to access the API.</p>
       */
      inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
  
      /**
       * <p>Amazon WorkDocs authentication token. Not required when using AWS
       * administrator credentials to access the API.</p>
       */
      inline void SetAuthenticationToken(const Aws::String& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = value; }
  
      /**
       * <p>Amazon WorkDocs authentication token. Not required when using AWS
       * administrator credentials to access the API.</p>
       */
      inline void SetAuthenticationToken(Aws::String&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::move(value); }
  
      /**
       * <p>Amazon WorkDocs authentication token. Not required when using AWS
       * administrator credentials to access the API.</p>
       */
      inline void SetAuthenticationToken(const char* value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken.assign(value); }
  
      /**
       * <p>Amazon WorkDocs authentication token. Not required when using AWS
       * administrator credentials to access the API.</p>
       */
      inline CreateFolderRequest& WithAuthenticationToken(const Aws::String& value) { SetAuthenticationToken(value); return *this;}
  
      /**
       * <p>Amazon WorkDocs authentication token. Not required when using AWS
       * administrator credentials to access the API.</p>
       */
      inline CreateFolderRequest& WithAuthenticationToken(Aws::String&& value) { SetAuthenticationToken(std::move(value)); return *this;}
  
      /**
       * <p>Amazon WorkDocs authentication token. Not required when using AWS
       * administrator credentials to access the API.</p>
       */
      inline CreateFolderRequest& WithAuthenticationToken(const char* value) { SetAuthenticationToken(value); return *this;}
  
  
      /**
       * <p>The name of the new folder.</p>
       */
      inline const Aws::String& GetName() const{ return m_name; }
  
      /**
       * <p>The name of the new folder.</p>
       */
      inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
  
      /**
       * <p>The name of the new folder.</p>
       */
      inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
  
      /**
       * <p>The name of the new folder.</p>
       */
      inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
  
      /**
       * <p>The name of the new folder.</p>
       */
      inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
  
      /**
       * <p>The name of the new folder.</p>
       */
      inline CreateFolderRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
  
      /**
       * <p>The name of the new folder.</p>
       */
      inline CreateFolderRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
  
      /**
       * <p>The name of the new folder.</p>
       */
      inline CreateFolderRequest& WithName(const char* value) { SetName(value); return *this;}
  
  
      /**
       * <p>The ID of the parent folder.</p>
       */
      inline const Aws::String& GetParentFolderId() const{ return m_parentFolderId; }
  
      /**
       * <p>The ID of the parent folder.</p>
       */
      inline bool ParentFolderIdHasBeenSet() const { return m_parentFolderIdHasBeenSet; }
  
      /**
       * <p>The ID of the parent folder.</p>
       */
      inline void SetParentFolderId(const Aws::String& value) { m_parentFolderIdHasBeenSet = true; m_parentFolderId = value; }
  
      /**
       * <p>The ID of the parent folder.</p>
       */
      inline void SetParentFolderId(Aws::String&& value) { m_parentFolderIdHasBeenSet = true; m_parentFolderId = std::move(value); }
  
      /**
       * <p>The ID of the parent folder.</p>
       */
      inline void SetParentFolderId(const char* value) { m_parentFolderIdHasBeenSet = true; m_parentFolderId.assign(value); }
  
      /**
       * <p>The ID of the parent folder.</p>
       */
      inline CreateFolderRequest& WithParentFolderId(const Aws::String& value) { SetParentFolderId(value); return *this;}
  
      /**
       * <p>The ID of the parent folder.</p>
       */
      inline CreateFolderRequest& WithParentFolderId(Aws::String&& value) { SetParentFolderId(std::move(value)); return *this;}
  
      /**
       * <p>The ID of the parent folder.</p>
       */
      inline CreateFolderRequest& WithParentFolderId(const char* value) { SetParentFolderId(value); return *this;}
  
    private:
  
      Aws::String m_authenticationToken;
      bool m_authenticationTokenHasBeenSet;
  
      Aws::String m_name;
      bool m_nameHasBeenSet;
  
      Aws::String m_parentFolderId;
      bool m_parentFolderIdHasBeenSet;
    };
  
  } // namespace Model
  } // namespace WorkDocs
  } // namespace Aws
  