/** * Seaweedfs Master Server API * The Seaweedfs Master Server API allows you to store blobs * * The version of the OpenAPI document: 3.43.0 * * NOTE: This class is auto generated by OpenAPI-Generator 6.4.0. * https://openapi-generator.tech * Do not edit the class manually. */ /* * MultipartFormData.h * * This class represents a container for building application/x-multipart-formdata requests. */ #ifndef ORG_OPENAPITOOLS_CLIENT_MODEL_MultipartFormData_H_ #define ORG_OPENAPITOOLS_CLIENT_MODEL_MultipartFormData_H_ #include "CppRestOpenAPIClient/IHttpBody.h" #include "CppRestOpenAPIClient/HttpContent.h" #include #include #include #include namespace org { namespace openapitools { namespace client { namespace model { class MultipartFormData : public IHttpBody { public: MultipartFormData(); MultipartFormData(const utility::string_t& boundary); virtual ~MultipartFormData(); virtual void add( std::shared_ptr content ); virtual utility::string_t getBoundary(); virtual std::shared_ptr getContent(const utility::string_t& name) const; virtual bool hasContent(const utility::string_t& name) const; virtual void writeTo( std::ostream& target ); protected: std::vector> m_Contents; utility::string_t m_Boundary; std::map> m_ContentLookup; }; } } } } #endif /* ORG_OPENAPITOOLS_CLIENT_MODEL_MultipartFormData_H_ */