AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetImageSetMetadataResult.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 GetImageSetMetadataResult() = default;
26 AWS_MEDICALIMAGING_API GetImageSetMetadataResult(GetImageSetMetadataResult&&) = default;
28 //we delete these because Microsoft doesn't handle move generation correctly
29 //and we therefore don't trust them to get it right here either.
32
33
36
37
38
40
44 inline Aws::IOStream& GetImageSetMetadataBlob() const { return m_imageSetMetadataBlob.GetUnderlyingStream(); }
45 inline void ReplaceBody(Aws::IOStream* body) { m_imageSetMetadataBlob = Aws::Utils::Stream::ResponseStream(body); }
46
48
50
54 inline const Aws::String& GetContentType() const { return m_contentType; }
55 template<typename ContentTypeT = Aws::String>
56 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
57 template<typename ContentTypeT = Aws::String>
58 GetImageSetMetadataResult& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
60
62
66 inline const Aws::String& GetContentEncoding() const { return m_contentEncoding; }
67 template<typename ContentEncodingT = Aws::String>
68 void SetContentEncoding(ContentEncodingT&& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = std::forward<ContentEncodingT>(value); }
69 template<typename ContentEncodingT = Aws::String>
70 GetImageSetMetadataResult& WithContentEncoding(ContentEncodingT&& value) { SetContentEncoding(std::forward<ContentEncodingT>(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template<typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
78 template<typename RequestIdT = Aws::String>
79 GetImageSetMetadataResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
81 private:
82
83 Aws::Utils::Stream::ResponseStream m_imageSetMetadataBlob{};
84 bool m_imageSetMetadataBlobHasBeenSet = false;
85
86 Aws::String m_contentType;
87 bool m_contentTypeHasBeenSet = false;
88
89 Aws::String m_contentEncoding;
90 bool m_contentEncodingHasBeenSet = false;
91
92 Aws::String m_requestId;
93 bool m_requestIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace MedicalImaging
98} // namespace Aws
GetImageSetMetadataResult & WithContentType(ContentTypeT &&value)
GetImageSetMetadataResult(const GetImageSetMetadataResult &)=delete
AWS_MEDICALIMAGING_API GetImageSetMetadataResult()=default
GetImageSetMetadataResult & operator=(const GetImageSetMetadataResult &)=delete
AWS_MEDICALIMAGING_API GetImageSetMetadataResult(GetImageSetMetadataResult &&)=default
AWS_MEDICALIMAGING_API GetImageSetMetadataResult & operator=(GetImageSetMetadataResult &&)=default
AWS_MEDICALIMAGING_API GetImageSetMetadataResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetImageSetMetadataResult & WithRequestId(RequestIdT &&value)
AWS_MEDICALIMAGING_API GetImageSetMetadataResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetImageSetMetadataResult & WithContentEncoding(ContentEncodingT &&value)
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