text: ﻿/** --------------------------------------------------------------------------------------------------------------------
  * <copyright company="Aspose" file="split_document_online_request.h">
  *   Copyright (c) 2021 Aspose.Words for Cloud
  * </copyright>
  * <summary>
  *   Permission is hereby granted, free of charge, to any person obtaining a copy
  *  of this software and associated documentation files (the "Software"), to deal
  *  in the Software without restriction, including without limitation the rights
  *  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  *  copies of the Software, and to permit persons to whom the Software is
  *  furnished to do so, subject to the following conditions:
  * 
  *  The above copyright notice and this permission notice shall be included in all
  *  copies or substantial portions of the Software.
  * 
  *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  *  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  *  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  *  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  *  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  *  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  *  SOFTWARE.
  * </summary> 
  -------------------------------------------------------------------------------------------------------------------- **/
  
  #pragma once
  #include "./request_model_base.h"
  
  namespace aspose::words::cloud::requests {
      class SplitDocumentOnlineRequest : public RequestModelBase {
      public:
          ASPOSE_WORDS_CLOUD_EXPORT SplitDocumentOnlineRequest(
              const std::shared_ptr< std::istream > document,
              const std::shared_ptr< std::wstring > format,
              const std::shared_ptr< std::wstring > loadEncoding = nullptr,
              const std::shared_ptr< std::wstring > password = nullptr,
              const std::shared_ptr< std::wstring > destFileName = nullptr,
              const std::shared_ptr< int32_t > from = nullptr,
              const std::shared_ptr< int32_t > to = nullptr,
              const std::shared_ptr< bool > zipOutput = nullptr,
              const std::shared_ptr< std::wstring > fontsLocation = nullptr
          );
  
          ASPOSE_WORDS_CLOUD_EXPORT const std::shared_ptr< std::istream > getDocument() const;
          ASPOSE_WORDS_CLOUD_EXPORT const std::shared_ptr< std::wstring > getFormat() const;
          ASPOSE_WORDS_CLOUD_EXPORT const std::shared_ptr< std::wstring > getLoadEncoding() const;
          ASPOSE_WORDS_CLOUD_EXPORT const std::shared_ptr< std::wstring > getPassword() const;
          ASPOSE_WORDS_CLOUD_EXPORT const std::shared_ptr< std::wstring > getDestFileName() const;
          ASPOSE_WORDS_CLOUD_EXPORT const std::shared_ptr< int32_t > getFrom() const;
          ASPOSE_WORDS_CLOUD_EXPORT const std::shared_ptr< int32_t > getTo() const;
          ASPOSE_WORDS_CLOUD_EXPORT const std::shared_ptr< bool > getZipOutput() const;
          ASPOSE_WORDS_CLOUD_EXPORT const std::shared_ptr< std::wstring > getFontsLocation() const;
  
          ASPOSE_WORDS_CLOUD_EXPORT virtual std::shared_ptr< aspose::words::cloud::HttpRequestData > createHttpRequest() const override;
          ASPOSE_WORDS_CLOUD_EXPORT virtual std::shared_ptr< aspose::words::cloud::responses::ResponseModelBase > createResponse() const override;
  
      private:
          const std::shared_ptr< std::istream > m_Document;
          const std::shared_ptr< std::wstring > m_Format;
          const std::shared_ptr< std::wstring > m_LoadEncoding;
          const std::shared_ptr< std::wstring > m_Password;
          const std::shared_ptr< std::wstring > m_DestFileName;
          const std::shared_ptr< int32_t > m_From;
          const std::shared_ptr< int32_t > m_To;
          const std::shared_ptr< bool > m_ZipOutput;
          const std::shared_ptr< std::wstring > m_FontsLocation;
      };
  }
  