AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
RecordingConfiguration.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/ivs-realtime/model/CompositionRecordingHlsConfiguration.h>
9#include <aws/ivs-realtime/model/RecordingConfigurationFormat.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ivsrealtime {
21namespace Model {
22
30 public:
31 AWS_IVSREALTIME_API RecordingConfiguration() = default;
32 AWS_IVSREALTIME_API RecordingConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const CompositionRecordingHlsConfiguration& GetHlsConfiguration() const { return m_hlsConfiguration; }
42 inline bool HlsConfigurationHasBeenSet() const { return m_hlsConfigurationHasBeenSet; }
43 template <typename HlsConfigurationT = CompositionRecordingHlsConfiguration>
44 void SetHlsConfiguration(HlsConfigurationT&& value) {
45 m_hlsConfigurationHasBeenSet = true;
46 m_hlsConfiguration = std::forward<HlsConfigurationT>(value);
47 }
48 template <typename HlsConfigurationT = CompositionRecordingHlsConfiguration>
49 RecordingConfiguration& WithHlsConfiguration(HlsConfigurationT&& value) {
50 SetHlsConfiguration(std::forward<HlsConfigurationT>(value));
51 return *this;
52 }
54
56
59 inline RecordingConfigurationFormat GetFormat() const { return m_format; }
60 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
62 m_formatHasBeenSet = true;
63 m_format = value;
64 }
66 SetFormat(value);
67 return *this;
68 }
70 private:
71 CompositionRecordingHlsConfiguration m_hlsConfiguration;
72
74 bool m_hlsConfigurationHasBeenSet = false;
75 bool m_formatHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace ivsrealtime
80} // namespace Aws
const CompositionRecordingHlsConfiguration & GetHlsConfiguration() const
RecordingConfiguration & WithHlsConfiguration(HlsConfigurationT &&value)
void SetFormat(RecordingConfigurationFormat value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IVSREALTIME_API RecordingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IVSREALTIME_API RecordingConfiguration()=default
AWS_IVSREALTIME_API RecordingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RecordingConfigurationFormat GetFormat() const
RecordingConfiguration & WithFormat(RecordingConfigurationFormat value)
Aws::Utils::Json::JsonValue JsonValue