AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ThumbnailConfiguration.h
1
6#pragma once
7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/ivs/model/RecordingMode.h>
9#include <aws/ivs/model/ThumbnailConfigurationResolution.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ivs/model/ThumbnailConfigurationStorage.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 IVS
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_IVS_API ThumbnailConfiguration() = default;
42
43
45
48 inline RecordingMode GetRecordingMode() const { return m_recordingMode; }
49 inline bool RecordingModeHasBeenSet() const { return m_recordingModeHasBeenSet; }
50 inline void SetRecordingMode(RecordingMode value) { m_recordingModeHasBeenSet = true; m_recordingMode = value; }
53
55
64 inline ThumbnailConfigurationResolution GetResolution() const { return m_resolution; }
65 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
66 inline void SetResolution(ThumbnailConfigurationResolution value) { m_resolutionHasBeenSet = true; m_resolution = value; }
69
71
80 inline const Aws::Vector<ThumbnailConfigurationStorage>& GetStorage() const { return m_storage; }
81 inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; }
82 template<typename StorageT = Aws::Vector<ThumbnailConfigurationStorage>>
83 void SetStorage(StorageT&& value) { m_storageHasBeenSet = true; m_storage = std::forward<StorageT>(value); }
84 template<typename StorageT = Aws::Vector<ThumbnailConfigurationStorage>>
85 ThumbnailConfiguration& WithStorage(StorageT&& value) { SetStorage(std::forward<StorageT>(value)); return *this;}
86 inline ThumbnailConfiguration& AddStorage(ThumbnailConfigurationStorage value) { m_storageHasBeenSet = true; m_storage.push_back(value); return *this; }
88
90
105 inline long long GetTargetIntervalSeconds() const { return m_targetIntervalSeconds; }
106 inline bool TargetIntervalSecondsHasBeenSet() const { return m_targetIntervalSecondsHasBeenSet; }
107 inline void SetTargetIntervalSeconds(long long value) { m_targetIntervalSecondsHasBeenSet = true; m_targetIntervalSeconds = value; }
108 inline ThumbnailConfiguration& WithTargetIntervalSeconds(long long value) { SetTargetIntervalSeconds(value); return *this;}
110 private:
111
112 RecordingMode m_recordingMode{RecordingMode::NOT_SET};
113 bool m_recordingModeHasBeenSet = false;
114
116 bool m_resolutionHasBeenSet = false;
117
119 bool m_storageHasBeenSet = false;
120
121 long long m_targetIntervalSeconds{0};
122 bool m_targetIntervalSecondsHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace IVS
127} // namespace Aws
AWS_IVS_API ThumbnailConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ThumbnailConfigurationResolution GetResolution() const
void SetResolution(ThumbnailConfigurationResolution value)
ThumbnailConfiguration & WithTargetIntervalSeconds(long long value)
const Aws::Vector< ThumbnailConfigurationStorage > & GetStorage() const
ThumbnailConfiguration & WithRecordingMode(RecordingMode value)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
ThumbnailConfiguration & AddStorage(ThumbnailConfigurationStorage value)
ThumbnailConfiguration & WithResolution(ThumbnailConfigurationResolution value)
AWS_IVS_API ThumbnailConfiguration()=default
ThumbnailConfiguration & WithStorage(StorageT &&value)
AWS_IVS_API ThumbnailConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue