AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ParticipantThumbnailConfiguration.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ivs-realtime/model/ThumbnailRecordingMode.h>
10#include <aws/ivs-realtime/model/ThumbnailStorageType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ivsrealtime
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IVSREALTIME_API ParticipantThumbnailConfiguration() = default;
40 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline int GetTargetIntervalSeconds() const { return m_targetIntervalSeconds; }
49 inline bool TargetIntervalSecondsHasBeenSet() const { return m_targetIntervalSecondsHasBeenSet; }
50 inline void SetTargetIntervalSeconds(int value) { m_targetIntervalSecondsHasBeenSet = true; m_targetIntervalSeconds = value; }
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) { m_storageHasBeenSet = true; m_storage = std::forward<StorageT>(value); }
68 template<typename StorageT = Aws::Vector<ThumbnailStorageType>>
69 ParticipantThumbnailConfiguration& WithStorage(StorageT&& value) { SetStorage(std::forward<StorageT>(value)); return *this;}
70 inline ParticipantThumbnailConfiguration& AddStorage(ThumbnailStorageType value) { m_storageHasBeenSet = true; m_storage.push_back(value); return *this; }
72
74
77 inline ThumbnailRecordingMode GetRecordingMode() const { return m_recordingMode; }
78 inline bool RecordingModeHasBeenSet() const { return m_recordingModeHasBeenSet; }
79 inline void SetRecordingMode(ThumbnailRecordingMode value) { m_recordingModeHasBeenSet = true; m_recordingMode = value; }
82 private:
83
84 int m_targetIntervalSeconds{0};
85 bool m_targetIntervalSecondsHasBeenSet = false;
86
88 bool m_storageHasBeenSet = false;
89
91 bool m_recordingModeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ivsrealtime
96} // 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