9#ifndef _0523d1f2_656d_47a9_b5e9_867dad172f31
10#define _0523d1f2_656d_47a9_b5e9_867dad172f31
85 std::shared_ptr<DataSet> _store_instance_responses;
89 unsigned int _failure_code;
90 std::string _media_type;
HTTP Response.
Definition HTTPResponse.h:25
STOW-RS request generator and parser.
Definition STOWRSResponse.h:28
void set_failure_code(unsigned int failure_code)
Set the failure code.
STOWRSResponse(STOWRSResponse &&)=default
void set_representation(Representation const &representation)
Set the representation.
std::string const & get_media_type() const
Get the media type.
void set_reason(std::string reason)
Set the reason.
STOWRSResponse()
Constructor.
std::string const & get_reason() const
Get the reason.
STOWRSResponse & operator=(STOWRSResponse const &)=default
void set_warning(bool warn)
Set whether there is a warning in the response or not.
bool operator==(STOWRSResponse const &other) const
Equality operator.
STOWRSResponse(HTTPResponse const &response)
Parse an HTTPResponse as a STOWRSResponse.
HTTPResponse get_http_response() const
Generate the associated HTTP Response.
bool operator!=(STOWRSResponse const &other) const
Difference operator.
std::shared_ptr< DataSet const > get_store_instance_responses() const
Get store instance responses.
Representation const & get_representation() const
Get the representation.
bool is_status_warning() const
Return whether there is a warning in the response or not.
STOWRSResponse & operator=(STOWRSResponse &&)=default
void set_store_instance_responses(std::shared_ptr< DataSet > responses)
Set store instance responses.
STOWRSResponse(STOWRSResponse const &)=default
~STOWRSResponse()=default
unsigned int get_failure_code() const
Return the failure code.
Representation
Data representation for DICOM requests and responses.
Definition Utils.h:36
Definition Association.h:25
#define ODIL_API
Definition odil.h:28