AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThumbnailDetails.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/mediaconnect/model/MessageDetail.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaConnect
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_MEDIACONNECT_API ThumbnailDetails();
39 AWS_MEDIACONNECT_API ThumbnailDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIACONNECT_API ThumbnailDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
49 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
50 inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
51 inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
52 inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
53 inline ThumbnailDetails& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
54 inline ThumbnailDetails& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
55 inline ThumbnailDetails& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
57
59
62 inline const Aws::String& GetThumbnail() const{ return m_thumbnail; }
63 inline bool ThumbnailHasBeenSet() const { return m_thumbnailHasBeenSet; }
64 inline void SetThumbnail(const Aws::String& value) { m_thumbnailHasBeenSet = true; m_thumbnail = value; }
65 inline void SetThumbnail(Aws::String&& value) { m_thumbnailHasBeenSet = true; m_thumbnail = std::move(value); }
66 inline void SetThumbnail(const char* value) { m_thumbnailHasBeenSet = true; m_thumbnail.assign(value); }
67 inline ThumbnailDetails& WithThumbnail(const Aws::String& value) { SetThumbnail(value); return *this;}
68 inline ThumbnailDetails& WithThumbnail(Aws::String&& value) { SetThumbnail(std::move(value)); return *this;}
69 inline ThumbnailDetails& WithThumbnail(const char* value) { SetThumbnail(value); return *this;}
71
73
76 inline const Aws::Vector<MessageDetail>& GetThumbnailMessages() const{ return m_thumbnailMessages; }
77 inline bool ThumbnailMessagesHasBeenSet() const { return m_thumbnailMessagesHasBeenSet; }
78 inline void SetThumbnailMessages(const Aws::Vector<MessageDetail>& value) { m_thumbnailMessagesHasBeenSet = true; m_thumbnailMessages = value; }
79 inline void SetThumbnailMessages(Aws::Vector<MessageDetail>&& value) { m_thumbnailMessagesHasBeenSet = true; m_thumbnailMessages = std::move(value); }
82 inline ThumbnailDetails& AddThumbnailMessages(const MessageDetail& value) { m_thumbnailMessagesHasBeenSet = true; m_thumbnailMessages.push_back(value); return *this; }
83 inline ThumbnailDetails& AddThumbnailMessages(MessageDetail&& value) { m_thumbnailMessagesHasBeenSet = true; m_thumbnailMessages.push_back(std::move(value)); return *this; }
85
87
90 inline const Aws::String& GetTimecode() const{ return m_timecode; }
91 inline bool TimecodeHasBeenSet() const { return m_timecodeHasBeenSet; }
92 inline void SetTimecode(const Aws::String& value) { m_timecodeHasBeenSet = true; m_timecode = value; }
93 inline void SetTimecode(Aws::String&& value) { m_timecodeHasBeenSet = true; m_timecode = std::move(value); }
94 inline void SetTimecode(const char* value) { m_timecodeHasBeenSet = true; m_timecode.assign(value); }
95 inline ThumbnailDetails& WithTimecode(const Aws::String& value) { SetTimecode(value); return *this;}
96 inline ThumbnailDetails& WithTimecode(Aws::String&& value) { SetTimecode(std::move(value)); return *this;}
97 inline ThumbnailDetails& WithTimecode(const char* value) { SetTimecode(value); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
105 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
106 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
107 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
108 inline ThumbnailDetails& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
109 inline ThumbnailDetails& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
111 private:
112
113 Aws::String m_flowArn;
114 bool m_flowArnHasBeenSet = false;
115
116 Aws::String m_thumbnail;
117 bool m_thumbnailHasBeenSet = false;
118
119 Aws::Vector<MessageDetail> m_thumbnailMessages;
120 bool m_thumbnailMessagesHasBeenSet = false;
121
122 Aws::String m_timecode;
123 bool m_timecodeHasBeenSet = false;
124
125 Aws::Utils::DateTime m_timestamp;
126 bool m_timestampHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace MediaConnect
131} // namespace Aws
ThumbnailDetails & WithFlowArn(const char *value)
AWS_MEDIACONNECT_API ThumbnailDetails(Aws::Utils::Json::JsonView jsonValue)
void SetThumbnail(const Aws::String &value)
ThumbnailDetails & AddThumbnailMessages(const MessageDetail &value)
void SetThumbnailMessages(Aws::Vector< MessageDetail > &&value)
ThumbnailDetails & WithTimecode(const char *value)
void SetFlowArn(const Aws::String &value)
ThumbnailDetails & WithFlowArn(const Aws::String &value)
ThumbnailDetails & WithThumbnail(const char *value)
ThumbnailDetails & WithThumbnail(const Aws::String &value)
ThumbnailDetails & WithTimestamp(Aws::Utils::DateTime &&value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimestamp(const Aws::Utils::DateTime &value)
AWS_MEDIACONNECT_API ThumbnailDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ThumbnailDetails & WithTimestamp(const Aws::Utils::DateTime &value)
ThumbnailDetails & WithThumbnailMessages(const Aws::Vector< MessageDetail > &value)
void SetTimecode(const Aws::String &value)
ThumbnailDetails & WithThumbnail(Aws::String &&value)
ThumbnailDetails & WithTimecode(Aws::String &&value)
ThumbnailDetails & WithThumbnailMessages(Aws::Vector< MessageDetail > &&value)
const Aws::Utils::DateTime & GetTimestamp() const
const Aws::Vector< MessageDetail > & GetThumbnailMessages() const
void SetThumbnailMessages(const Aws::Vector< MessageDetail > &value)
ThumbnailDetails & AddThumbnailMessages(MessageDetail &&value)
ThumbnailDetails & WithTimecode(const Aws::String &value)
ThumbnailDetails & WithFlowArn(Aws::String &&value)
void SetTimestamp(Aws::Utils::DateTime &&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