AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ThumbnailDetails.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
11#include <aws/mediaconnect/model/MessageDetail.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaConnect {
23namespace Model {
24
32 public:
33 AWS_MEDIACONNECT_API ThumbnailDetails() = default;
34 AWS_MEDIACONNECT_API ThumbnailDetails(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIACONNECT_API ThumbnailDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
43 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
44 template <typename FlowArnT = Aws::String>
45 void SetFlowArn(FlowArnT&& value) {
46 m_flowArnHasBeenSet = true;
47 m_flowArn = std::forward<FlowArnT>(value);
48 }
49 template <typename FlowArnT = Aws::String>
50 ThumbnailDetails& WithFlowArn(FlowArnT&& value) {
51 SetFlowArn(std::forward<FlowArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetThumbnail() const { return m_thumbnail; }
61 inline bool ThumbnailHasBeenSet() const { return m_thumbnailHasBeenSet; }
62 template <typename ThumbnailT = Aws::String>
63 void SetThumbnail(ThumbnailT&& value) {
64 m_thumbnailHasBeenSet = true;
65 m_thumbnail = std::forward<ThumbnailT>(value);
66 }
67 template <typename ThumbnailT = Aws::String>
68 ThumbnailDetails& WithThumbnail(ThumbnailT&& value) {
69 SetThumbnail(std::forward<ThumbnailT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Vector<MessageDetail>& GetThumbnailMessages() const { return m_thumbnailMessages; }
79 inline bool ThumbnailMessagesHasBeenSet() const { return m_thumbnailMessagesHasBeenSet; }
80 template <typename ThumbnailMessagesT = Aws::Vector<MessageDetail>>
81 void SetThumbnailMessages(ThumbnailMessagesT&& value) {
82 m_thumbnailMessagesHasBeenSet = true;
83 m_thumbnailMessages = std::forward<ThumbnailMessagesT>(value);
84 }
85 template <typename ThumbnailMessagesT = Aws::Vector<MessageDetail>>
86 ThumbnailDetails& WithThumbnailMessages(ThumbnailMessagesT&& value) {
87 SetThumbnailMessages(std::forward<ThumbnailMessagesT>(value));
88 return *this;
89 }
90 template <typename ThumbnailMessagesT = MessageDetail>
91 ThumbnailDetails& AddThumbnailMessages(ThumbnailMessagesT&& value) {
92 m_thumbnailMessagesHasBeenSet = true;
93 m_thumbnailMessages.emplace_back(std::forward<ThumbnailMessagesT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetTimecode() const { return m_timecode; }
103 inline bool TimecodeHasBeenSet() const { return m_timecodeHasBeenSet; }
104 template <typename TimecodeT = Aws::String>
105 void SetTimecode(TimecodeT&& value) {
106 m_timecodeHasBeenSet = true;
107 m_timecode = std::forward<TimecodeT>(value);
108 }
109 template <typename TimecodeT = Aws::String>
110 ThumbnailDetails& WithTimecode(TimecodeT&& value) {
111 SetTimecode(std::forward<TimecodeT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
121 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
122 template <typename TimestampT = Aws::Utils::DateTime>
123 void SetTimestamp(TimestampT&& value) {
124 m_timestampHasBeenSet = true;
125 m_timestamp = std::forward<TimestampT>(value);
126 }
127 template <typename TimestampT = Aws::Utils::DateTime>
128 ThumbnailDetails& WithTimestamp(TimestampT&& value) {
129 SetTimestamp(std::forward<TimestampT>(value));
130 return *this;
131 }
133 private:
134 Aws::String m_flowArn;
135
136 Aws::String m_thumbnail;
137
138 Aws::Vector<MessageDetail> m_thumbnailMessages;
139
140 Aws::String m_timecode;
141
142 Aws::Utils::DateTime m_timestamp{};
143 bool m_flowArnHasBeenSet = false;
144 bool m_thumbnailHasBeenSet = false;
145 bool m_thumbnailMessagesHasBeenSet = false;
146 bool m_timecodeHasBeenSet = false;
147 bool m_timestampHasBeenSet = false;
148};
149
150} // namespace Model
151} // namespace MediaConnect
152} // namespace Aws
AWS_MEDIACONNECT_API ThumbnailDetails(Aws::Utils::Json::JsonView jsonValue)
ThumbnailDetails & AddThumbnailMessages(ThumbnailMessagesT &&value)
void SetThumbnailMessages(ThumbnailMessagesT &&value)
ThumbnailDetails & WithTimecode(TimecodeT &&value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ThumbnailDetails & WithTimestamp(TimestampT &&value)
AWS_MEDIACONNECT_API ThumbnailDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ThumbnailDetails & WithThumbnailMessages(ThumbnailMessagesT &&value)
ThumbnailDetails & WithFlowArn(FlowArnT &&value)
AWS_MEDIACONNECT_API ThumbnailDetails()=default
const Aws::Utils::DateTime & GetTimestamp() const
const Aws::Vector< MessageDetail > & GetThumbnailMessages() const
ThumbnailDetails & WithThumbnail(ThumbnailT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue