AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IVS
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IVS_API IngestConfiguration();
40
41
43
46 inline const AudioConfiguration& GetAudio() const{ return m_audio; }
47 inline bool AudioHasBeenSet() const { return m_audioHasBeenSet; }
48 inline void SetAudio(const AudioConfiguration& value) { m_audioHasBeenSet = true; m_audio = value; }
49 inline void SetAudio(AudioConfiguration&& value) { m_audioHasBeenSet = true; m_audio = std::move(value); }
50 inline IngestConfiguration& WithAudio(const AudioConfiguration& value) { SetAudio(value); return *this;}
51 inline IngestConfiguration& WithAudio(AudioConfiguration&& value) { SetAudio(std::move(value)); return *this;}
53
55
58 inline const VideoConfiguration& GetVideo() const{ return m_video; }
59 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
60 inline void SetVideo(const VideoConfiguration& value) { m_videoHasBeenSet = true; m_video = value; }
61 inline void SetVideo(VideoConfiguration&& value) { m_videoHasBeenSet = true; m_video = std::move(value); }
62 inline IngestConfiguration& WithVideo(const VideoConfiguration& value) { SetVideo(value); return *this;}
63 inline IngestConfiguration& WithVideo(VideoConfiguration&& value) { SetVideo(std::move(value)); return *this;}
65 private:
66
67 AudioConfiguration m_audio;
68 bool m_audioHasBeenSet = false;
69
70 VideoConfiguration m_video;
71 bool m_videoHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace IVS
76} // namespace Aws
void SetVideo(VideoConfiguration &&value)
IngestConfiguration & WithAudio(AudioConfiguration &&value)
void SetAudio(AudioConfiguration &&value)
const AudioConfiguration & GetAudio() const
AWS_IVS_API IngestConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetVideo(const VideoConfiguration &value)
IngestConfiguration & WithAudio(const AudioConfiguration &value)
AWS_IVS_API IngestConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAudio(const AudioConfiguration &value)
const VideoConfiguration & GetVideo() const
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
IngestConfiguration & WithVideo(const VideoConfiguration &value)
IngestConfiguration & WithVideo(VideoConfiguration &&value)
Aws::Utils::Json::JsonValue JsonValue