AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
IngestConfiguration.h
1
6#pragma once
7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/ivs/model/AudioConfiguration.h>
9#include <aws/ivs/model/VideoConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IVS {
21namespace Model {
22
36 public:
37 AWS_IVS_API IngestConfiguration() = default;
41
43
46 inline const AudioConfiguration& GetAudio() const { return m_audio; }
47 inline bool AudioHasBeenSet() const { return m_audioHasBeenSet; }
48 template <typename AudioT = AudioConfiguration>
49 void SetAudio(AudioT&& value) {
50 m_audioHasBeenSet = true;
51 m_audio = std::forward<AudioT>(value);
52 }
53 template <typename AudioT = AudioConfiguration>
54 IngestConfiguration& WithAudio(AudioT&& value) {
55 SetAudio(std::forward<AudioT>(value));
56 return *this;
57 }
59
61
64 inline const VideoConfiguration& GetVideo() const { return m_video; }
65 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
66 template <typename VideoT = VideoConfiguration>
67 void SetVideo(VideoT&& value) {
68 m_videoHasBeenSet = true;
69 m_video = std::forward<VideoT>(value);
70 }
71 template <typename VideoT = VideoConfiguration>
72 IngestConfiguration& WithVideo(VideoT&& value) {
73 SetVideo(std::forward<VideoT>(value));
74 return *this;
75 }
77 private:
78 AudioConfiguration m_audio;
79
80 VideoConfiguration m_video;
81 bool m_audioHasBeenSet = false;
82 bool m_videoHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace IVS
87} // namespace Aws
IngestConfiguration & WithVideo(VideoT &&value)
const AudioConfiguration & GetAudio() const
AWS_IVS_API IngestConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IVS_API IngestConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const VideoConfiguration & GetVideo() const
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IVS_API IngestConfiguration()=default
IngestConfiguration & WithAudio(AudioT &&value)
Aws::Utils::Json::JsonValue JsonValue