/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace MedicalImaging { namespace Model { class GetImageFrameResult { public: AWS_MEDICALIMAGING_API GetImageFrameResult(); //We have to define these because Microsoft doesn't auto generate them AWS_MEDICALIMAGING_API GetImageFrameResult(GetImageFrameResult&&); AWS_MEDICALIMAGING_API GetImageFrameResult& operator=(GetImageFrameResult&&); //we delete these because Microsoft doesn't handle move generation correctly //and we therefore don't trust them to get it right here either. GetImageFrameResult(const GetImageFrameResult&) = delete; GetImageFrameResult& operator=(const GetImageFrameResult&) = delete; AWS_MEDICALIMAGING_API GetImageFrameResult(Aws::AmazonWebServiceResult&& result); AWS_MEDICALIMAGING_API GetImageFrameResult& operator=(Aws::AmazonWebServiceResult&& result); /** *

The blob containing the aggregated image frame information.

*/ inline Aws::IOStream& GetImageFrameBlob() const { return m_imageFrameBlob.GetUnderlyingStream(); } /** *

The blob containing the aggregated image frame information.

*/ inline void ReplaceBody(Aws::IOStream* body) { m_imageFrameBlob = Aws::Utils::Stream::ResponseStream(body); } /** *

The format in which the image frame information is returned to the customer. * Default is application/octet-stream.

*/ inline const Aws::String& GetContentType() const{ return m_contentType; } /** *

The format in which the image frame information is returned to the customer. * Default is application/octet-stream.

*/ inline void SetContentType(const Aws::String& value) { m_contentType = value; } /** *

The format in which the image frame information is returned to the customer. * Default is application/octet-stream.

*/ inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); } /** *

The format in which the image frame information is returned to the customer. * Default is application/octet-stream.

*/ inline void SetContentType(const char* value) { m_contentType.assign(value); } /** *

The format in which the image frame information is returned to the customer. * Default is application/octet-stream.

*/ inline GetImageFrameResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;} /** *

The format in which the image frame information is returned to the customer. * Default is application/octet-stream.

*/ inline GetImageFrameResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;} /** *

The format in which the image frame information is returned to the customer. * Default is application/octet-stream.

*/ inline GetImageFrameResult& WithContentType(const char* value) { SetContentType(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetImageFrameResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetImageFrameResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetImageFrameResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::Stream::ResponseStream m_imageFrameBlob; Aws::String m_contentType; Aws::String m_requestId; }; } // namespace Model } // namespace MedicalImaging } // namespace Aws