AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetImageFrameResult.h
1
6#pragma once
7#include <aws/medical-imaging/MedicalImaging_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace MedicalImaging
19{
20namespace Model
21{
23 {
24 public:
25 AWS_MEDICALIMAGING_API GetImageFrameResult();
26 //We have to define these because Microsoft doesn't auto generate them
27 AWS_MEDICALIMAGING_API GetImageFrameResult(GetImageFrameResult&&);
29 //we delete these because Microsoft doesn't handle move generation correctly
30 //and we therefore don't trust them to get it right here either.
33
34
37
38
39
41
44 inline Aws::IOStream& GetImageFrameBlob() const { return m_imageFrameBlob.GetUnderlyingStream(); }
45 inline void ReplaceBody(Aws::IOStream* body) { m_imageFrameBlob = Aws::Utils::Stream::ResponseStream(body); }
46
48
50
54 inline const Aws::String& GetContentType() const{ return m_contentType; }
55 inline void SetContentType(const Aws::String& value) { m_contentType = value; }
56 inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); }
57 inline void SetContentType(const char* value) { m_contentType.assign(value); }
58 inline GetImageFrameResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
59 inline GetImageFrameResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
60 inline GetImageFrameResult& WithContentType(const char* value) { SetContentType(value); return *this;}
62
64
65 inline const Aws::String& GetRequestId() const{ return m_requestId; }
66 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
67 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
68 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
69 inline GetImageFrameResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
70 inline GetImageFrameResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
71 inline GetImageFrameResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
73 private:
74
76
77 Aws::String m_contentType;
78
79 Aws::String m_requestId;
80 };
81
82} // namespace Model
83} // namespace MedicalImaging
84} // namespace Aws
GetImageFrameResult & WithRequestId(const char *value)
GetImageFrameResult & WithRequestId(Aws::String &&value)
GetImageFrameResult & operator=(const GetImageFrameResult &)=delete
AWS_MEDICALIMAGING_API GetImageFrameResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
AWS_MEDICALIMAGING_API GetImageFrameResult(GetImageFrameResult &&)
GetImageFrameResult & WithContentType(Aws::String &&value)
GetImageFrameResult & WithContentType(const char *value)
GetImageFrameResult & WithContentType(const Aws::String &value)
AWS_MEDICALIMAGING_API GetImageFrameResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetImageFrameResult(const GetImageFrameResult &)=delete
GetImageFrameResult & WithRequestId(const Aws::String &value)
AWS_MEDICALIMAGING_API GetImageFrameResult & operator=(GetImageFrameResult &&)
Aws::IOStream & GetUnderlyingStream() const
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String