AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
42
43
45
48 inline const RecordingMode& GetRecordingMode() const{ return m_recordingMode; }
49 inline bool RecordingModeHasBeenSet() const { return m_recordingModeHasBeenSet; }
50 inline void SetRecordingMode(const RecordingMode& value) { m_recordingModeHasBeenSet = true; m_recordingMode = value; }
51 inline void SetRecordingMode(RecordingMode&& value) { m_recordingModeHasBeenSet = true; m_recordingMode = std::move(value); }
52 inline ThumbnailConfiguration& WithRecordingMode(const RecordingMode& value) { SetRecordingMode(value); return *this;}
53 inline ThumbnailConfiguration& WithRecordingMode(RecordingMode&& value) { SetRecordingMode(std::move(value)); return *this;}
55
57
66 inline const ThumbnailConfigurationResolution& GetResolution() const{ return m_resolution; }
67 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
68 inline void SetResolution(const ThumbnailConfigurationResolution& value) { m_resolutionHasBeenSet = true; m_resolution = value; }
69 inline void SetResolution(ThumbnailConfigurationResolution&& value) { m_resolutionHasBeenSet = true; m_resolution = std::move(value); }
71 inline ThumbnailConfiguration& WithResolution(ThumbnailConfigurationResolution&& value) { SetResolution(std::move(value)); return *this;}
73
75
84 inline const Aws::Vector<ThumbnailConfigurationStorage>& GetStorage() const{ return m_storage; }
85 inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; }
86 inline void SetStorage(const Aws::Vector<ThumbnailConfigurationStorage>& value) { m_storageHasBeenSet = true; m_storage = value; }
87 inline void SetStorage(Aws::Vector<ThumbnailConfigurationStorage>&& value) { m_storageHasBeenSet = true; m_storage = std::move(value); }
90 inline ThumbnailConfiguration& AddStorage(const ThumbnailConfigurationStorage& value) { m_storageHasBeenSet = true; m_storage.push_back(value); return *this; }
91 inline ThumbnailConfiguration& AddStorage(ThumbnailConfigurationStorage&& value) { m_storageHasBeenSet = true; m_storage.push_back(std::move(value)); return *this; }
93
95
109 inline long long GetTargetIntervalSeconds() const{ return m_targetIntervalSeconds; }
110 inline bool TargetIntervalSecondsHasBeenSet() const { return m_targetIntervalSecondsHasBeenSet; }
111 inline void SetTargetIntervalSeconds(long long value) { m_targetIntervalSecondsHasBeenSet = true; m_targetIntervalSeconds = value; }
112 inline ThumbnailConfiguration& WithTargetIntervalSeconds(long long value) { SetTargetIntervalSeconds(value); return *this;}
114 private:
115
116 RecordingMode m_recordingMode;
117 bool m_recordingModeHasBeenSet = false;
118
120 bool m_resolutionHasBeenSet = false;
121
123 bool m_storageHasBeenSet = false;
124
125 long long m_targetIntervalSeconds;
126 bool m_targetIntervalSecondsHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace IVS
131} // namespace Aws
AWS_IVS_API ThumbnailConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ThumbnailConfiguration & WithResolution(ThumbnailConfigurationResolution &&value)
void SetResolution(ThumbnailConfigurationResolution &&value)
const RecordingMode & GetRecordingMode() const
ThumbnailConfiguration & WithResolution(const ThumbnailConfigurationResolution &value)
ThumbnailConfiguration & WithTargetIntervalSeconds(long long value)
const Aws::Vector< ThumbnailConfigurationStorage > & GetStorage() const
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
ThumbnailConfiguration & WithRecordingMode(const RecordingMode &value)
void SetResolution(const ThumbnailConfigurationResolution &value)
void SetStorage(const Aws::Vector< ThumbnailConfigurationStorage > &value)
ThumbnailConfiguration & AddStorage(ThumbnailConfigurationStorage &&value)
AWS_IVS_API ThumbnailConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetRecordingMode(const RecordingMode &value)
ThumbnailConfiguration & WithStorage(Aws::Vector< ThumbnailConfigurationStorage > &&value)
const ThumbnailConfigurationResolution & GetResolution() const
ThumbnailConfiguration & WithStorage(const Aws::Vector< ThumbnailConfigurationStorage > &value)
ThumbnailConfiguration & WithRecordingMode(RecordingMode &&value)
void SetStorage(Aws::Vector< ThumbnailConfigurationStorage > &&value)
ThumbnailConfiguration & AddStorage(const ThumbnailConfigurationStorage &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue