AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeInputDeviceThumbnailResult.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/core/utils/Array.h>
10#include <aws/medialive/model/ContentType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace MediaLive
21{
22namespace Model
23{
31 {
32 public:
34 //We have to define these because Microsoft doesn't auto generate them
37 //we delete these because Microsoft doesn't handle move generation correctly
38 //and we therefore don't trust them to get it right here either.
41
42
45
46
47
49
53 inline Aws::IOStream& GetBody() const { return m_body.GetUnderlyingStream(); }
54 inline void ReplaceBody(Aws::IOStream* body) { m_body = Aws::Utils::Stream::ResponseStream(body); }
55
57
59
62 inline const ContentType& GetContentType() const{ return m_contentType; }
63 inline void SetContentType(const ContentType& value) { m_contentType = value; }
64 inline void SetContentType(ContentType&& value) { m_contentType = std::move(value); }
66 inline DescribeInputDeviceThumbnailResult& WithContentType(ContentType&& value) { SetContentType(std::move(value)); return *this;}
68
70
73 inline long long GetContentLength() const{ return m_contentLength; }
74 inline void SetContentLength(long long value) { m_contentLength = value; }
75 inline DescribeInputDeviceThumbnailResult& WithContentLength(long long value) { SetContentLength(value); return *this;}
77
79
82 inline const Aws::String& GetETag() const{ return m_eTag; }
83 inline void SetETag(const Aws::String& value) { m_eTag = value; }
84 inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
85 inline void SetETag(const char* value) { m_eTag.assign(value); }
86 inline DescribeInputDeviceThumbnailResult& WithETag(const Aws::String& value) { SetETag(value); return *this;}
87 inline DescribeInputDeviceThumbnailResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
88 inline DescribeInputDeviceThumbnailResult& WithETag(const char* value) { SetETag(value); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
96 inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModified = value; }
97 inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModified = std::move(value); }
101
103
104 inline const Aws::String& GetRequestId() const{ return m_requestId; }
105 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
106 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
107 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
108 inline DescribeInputDeviceThumbnailResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
109 inline DescribeInputDeviceThumbnailResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
110 inline DescribeInputDeviceThumbnailResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
112 private:
113
115
116 ContentType m_contentType;
117
118 long long m_contentLength;
119
120 Aws::String m_eTag;
121
122 Aws::Utils::DateTime m_lastModified;
123
124 Aws::String m_requestId;
125 };
126
127} // namespace Model
128} // namespace MediaLive
129} // namespace Aws
DescribeInputDeviceThumbnailResult & WithRequestId(Aws::String &&value)
DescribeInputDeviceThumbnailResult & WithETag(const char *value)
AWS_MEDIALIVE_API DescribeInputDeviceThumbnailResult(DescribeInputDeviceThumbnailResult &&)
DescribeInputDeviceThumbnailResult(const DescribeInputDeviceThumbnailResult &)=delete
AWS_MEDIALIVE_API DescribeInputDeviceThumbnailResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
DescribeInputDeviceThumbnailResult & WithRequestId(const Aws::String &value)
DescribeInputDeviceThumbnailResult & WithContentLength(long long value)
DescribeInputDeviceThumbnailResult & WithLastModified(Aws::Utils::DateTime &&value)
DescribeInputDeviceThumbnailResult & operator=(const DescribeInputDeviceThumbnailResult &)=delete
DescribeInputDeviceThumbnailResult & WithRequestId(const char *value)
DescribeInputDeviceThumbnailResult & WithContentType(ContentType &&value)
AWS_MEDIALIVE_API DescribeInputDeviceThumbnailResult & operator=(DescribeInputDeviceThumbnailResult &&)
DescribeInputDeviceThumbnailResult & WithLastModified(const Aws::Utils::DateTime &value)
DescribeInputDeviceThumbnailResult & WithETag(Aws::String &&value)
AWS_MEDIALIVE_API DescribeInputDeviceThumbnailResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
DescribeInputDeviceThumbnailResult & WithETag(const Aws::String &value)
DescribeInputDeviceThumbnailResult & WithContentType(const ContentType &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