AWS SDK for C++

AWS SDK for C++ Version 1.11.797

Loading...
Searching...
No Matches
ThumbnailConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/ivs/IVS_EXPORTS.h>
9#include <aws/ivs/model/RecordingMode.h>
10#include <aws/ivs/model/ThumbnailConfigurationResolution.h>
11#include <aws/ivs/model/ThumbnailConfigurationStorage.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IVS {
23namespace Model {
24
32 public:
33 AWS_IVS_API ThumbnailConfiguration() = default;
37
39
42 inline RecordingMode GetRecordingMode() const { return m_recordingMode; }
43 inline bool RecordingModeHasBeenSet() const { return m_recordingModeHasBeenSet; }
44 inline void SetRecordingMode(RecordingMode value) {
45 m_recordingModeHasBeenSet = true;
46 m_recordingMode = value;
47 }
49 SetRecordingMode(value);
50 return *this;
51 }
53
55
70 inline long long GetTargetIntervalSeconds() const { return m_targetIntervalSeconds; }
71 inline bool TargetIntervalSecondsHasBeenSet() const { return m_targetIntervalSecondsHasBeenSet; }
72 inline void SetTargetIntervalSeconds(long long value) {
73 m_targetIntervalSecondsHasBeenSet = true;
74 m_targetIntervalSeconds = value;
75 }
78 return *this;
79 }
81
83
92 inline ThumbnailConfigurationResolution GetResolution() const { return m_resolution; }
93 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
95 m_resolutionHasBeenSet = true;
96 m_resolution = value;
97 }
99 SetResolution(value);
100 return *this;
101 }
103
105
114 inline const Aws::Vector<ThumbnailConfigurationStorage>& GetStorage() const { return m_storage; }
115 inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; }
116 template <typename StorageT = Aws::Vector<ThumbnailConfigurationStorage>>
117 void SetStorage(StorageT&& value) {
118 m_storageHasBeenSet = true;
119 m_storage = std::forward<StorageT>(value);
120 }
121 template <typename StorageT = Aws::Vector<ThumbnailConfigurationStorage>>
123 SetStorage(std::forward<StorageT>(value));
124 return *this;
125 }
127 m_storageHasBeenSet = true;
128 m_storage.push_back(value);
129 return *this;
130 }
132 private:
133 RecordingMode m_recordingMode{RecordingMode::NOT_SET};
134
135 long long m_targetIntervalSeconds{0};
136
138
140 bool m_recordingModeHasBeenSet = false;
141 bool m_targetIntervalSecondsHasBeenSet = false;
142 bool m_resolutionHasBeenSet = false;
143 bool m_storageHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace IVS
148} // 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