AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
64 inline ThumbnailConfigurationResolution GetResolution() const { return m_resolution; }
65 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
67 m_resolutionHasBeenSet = true;
68 m_resolution = value;
69 }
71 SetResolution(value);
72 return *this;
73 }
75
77
86 inline const Aws::Vector<ThumbnailConfigurationStorage>& GetStorage() const { return m_storage; }
87 inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; }
88 template <typename StorageT = Aws::Vector<ThumbnailConfigurationStorage>>
89 void SetStorage(StorageT&& value) {
90 m_storageHasBeenSet = true;
91 m_storage = std::forward<StorageT>(value);
92 }
93 template <typename StorageT = Aws::Vector<ThumbnailConfigurationStorage>>
95 SetStorage(std::forward<StorageT>(value));
96 return *this;
97 }
99 m_storageHasBeenSet = true;
100 m_storage.push_back(value);
101 return *this;
102 }
104
106
121 inline long long GetTargetIntervalSeconds() const { return m_targetIntervalSeconds; }
122 inline bool TargetIntervalSecondsHasBeenSet() const { return m_targetIntervalSecondsHasBeenSet; }
123 inline void SetTargetIntervalSeconds(long long value) {
124 m_targetIntervalSecondsHasBeenSet = true;
125 m_targetIntervalSeconds = value;
126 }
129 return *this;
130 }
132 private:
133 RecordingMode m_recordingMode{RecordingMode::NOT_SET};
134
136
138
139 long long m_targetIntervalSeconds{0};
140 bool m_recordingModeHasBeenSet = false;
141 bool m_resolutionHasBeenSet = false;
142 bool m_storageHasBeenSet = false;
143 bool m_targetIntervalSecondsHasBeenSet = 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