AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ParticipantThumbnailConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
9#include <aws/ivs-realtime/model/ThumbnailRecordingMode.h>
10#include <aws/ivs-realtime/model/ThumbnailStorageType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ivsrealtime {
22namespace Model {
23
31 public:
32 AWS_IVSREALTIME_API ParticipantThumbnailConfiguration() = default;
35 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline int GetTargetIntervalSeconds() const { return m_targetIntervalSeconds; }
43 inline bool TargetIntervalSecondsHasBeenSet() const { return m_targetIntervalSecondsHasBeenSet; }
44 inline void SetTargetIntervalSeconds(int value) {
45 m_targetIntervalSecondsHasBeenSet = true;
46 m_targetIntervalSeconds = value;
47 }
50 return *this;
51 }
53
55
64 inline const Aws::Vector<ThumbnailStorageType>& GetStorage() const { return m_storage; }
65 inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; }
66 template <typename StorageT = Aws::Vector<ThumbnailStorageType>>
67 void SetStorage(StorageT&& value) {
68 m_storageHasBeenSet = true;
69 m_storage = std::forward<StorageT>(value);
70 }
71 template <typename StorageT = Aws::Vector<ThumbnailStorageType>>
73 SetStorage(std::forward<StorageT>(value));
74 return *this;
75 }
77 m_storageHasBeenSet = true;
78 m_storage.push_back(value);
79 return *this;
80 }
82
84
87 inline ThumbnailRecordingMode GetRecordingMode() const { return m_recordingMode; }
88 inline bool RecordingModeHasBeenSet() const { return m_recordingModeHasBeenSet; }
90 m_recordingModeHasBeenSet = true;
91 m_recordingMode = value;
92 }
94 SetRecordingMode(value);
95 return *this;
96 }
98 private:
99 int m_targetIntervalSeconds{0};
100
102
104 bool m_targetIntervalSecondsHasBeenSet = false;
105 bool m_storageHasBeenSet = false;
106 bool m_recordingModeHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace ivsrealtime
111} // namespace Aws
ParticipantThumbnailConfiguration & WithRecordingMode(ThumbnailRecordingMode value)
ParticipantThumbnailConfiguration & WithStorage(StorageT &&value)
AWS_IVSREALTIME_API ParticipantThumbnailConfiguration()=default
ParticipantThumbnailConfiguration & WithTargetIntervalSeconds(int value)
const Aws::Vector< ThumbnailStorageType > & GetStorage() const
ParticipantThumbnailConfiguration & AddStorage(ThumbnailStorageType value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IVSREALTIME_API ParticipantThumbnailConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IVSREALTIME_API ParticipantThumbnailConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue