AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
Smpte2110ReceiverGroupSdpSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/medialive/model/InputSdpLocation.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 MediaLive
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MEDIALIVE_API Smpte2110ReceiverGroupSdpSettings() = default;
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline const Aws::Vector<InputSdpLocation>& GetAncillarySdps() const { return m_ancillarySdps; }
51 inline bool AncillarySdpsHasBeenSet() const { return m_ancillarySdpsHasBeenSet; }
52 template<typename AncillarySdpsT = Aws::Vector<InputSdpLocation>>
53 void SetAncillarySdps(AncillarySdpsT&& value) { m_ancillarySdpsHasBeenSet = true; m_ancillarySdps = std::forward<AncillarySdpsT>(value); }
54 template<typename AncillarySdpsT = Aws::Vector<InputSdpLocation>>
55 Smpte2110ReceiverGroupSdpSettings& WithAncillarySdps(AncillarySdpsT&& value) { SetAncillarySdps(std::forward<AncillarySdpsT>(value)); return *this;}
56 template<typename AncillarySdpsT = InputSdpLocation>
57 Smpte2110ReceiverGroupSdpSettings& AddAncillarySdps(AncillarySdpsT&& value) { m_ancillarySdpsHasBeenSet = true; m_ancillarySdps.emplace_back(std::forward<AncillarySdpsT>(value)); return *this; }
59
61
65 inline const Aws::Vector<InputSdpLocation>& GetAudioSdps() const { return m_audioSdps; }
66 inline bool AudioSdpsHasBeenSet() const { return m_audioSdpsHasBeenSet; }
67 template<typename AudioSdpsT = Aws::Vector<InputSdpLocation>>
68 void SetAudioSdps(AudioSdpsT&& value) { m_audioSdpsHasBeenSet = true; m_audioSdps = std::forward<AudioSdpsT>(value); }
69 template<typename AudioSdpsT = Aws::Vector<InputSdpLocation>>
70 Smpte2110ReceiverGroupSdpSettings& WithAudioSdps(AudioSdpsT&& value) { SetAudioSdps(std::forward<AudioSdpsT>(value)); return *this;}
71 template<typename AudioSdpsT = InputSdpLocation>
72 Smpte2110ReceiverGroupSdpSettings& AddAudioSdps(AudioSdpsT&& value) { m_audioSdpsHasBeenSet = true; m_audioSdps.emplace_back(std::forward<AudioSdpsT>(value)); return *this; }
74
76
80 inline const InputSdpLocation& GetVideoSdp() const { return m_videoSdp; }
81 inline bool VideoSdpHasBeenSet() const { return m_videoSdpHasBeenSet; }
82 template<typename VideoSdpT = InputSdpLocation>
83 void SetVideoSdp(VideoSdpT&& value) { m_videoSdpHasBeenSet = true; m_videoSdp = std::forward<VideoSdpT>(value); }
84 template<typename VideoSdpT = InputSdpLocation>
85 Smpte2110ReceiverGroupSdpSettings& WithVideoSdp(VideoSdpT&& value) { SetVideoSdp(std::forward<VideoSdpT>(value)); return *this;}
87 private:
88
89 Aws::Vector<InputSdpLocation> m_ancillarySdps;
90 bool m_ancillarySdpsHasBeenSet = false;
91
93 bool m_audioSdpsHasBeenSet = false;
94
95 InputSdpLocation m_videoSdp;
96 bool m_videoSdpHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace MediaLive
101} // namespace Aws
AWS_MEDIALIVE_API Smpte2110ReceiverGroupSdpSettings()=default
AWS_MEDIALIVE_API Smpte2110ReceiverGroupSdpSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< InputSdpLocation > & GetAncillarySdps() const
AWS_MEDIALIVE_API Smpte2110ReceiverGroupSdpSettings(Aws::Utils::Json::JsonView jsonValue)
Smpte2110ReceiverGroupSdpSettings & WithAudioSdps(AudioSdpsT &&value)
Smpte2110ReceiverGroupSdpSettings & WithAncillarySdps(AncillarySdpsT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
Smpte2110ReceiverGroupSdpSettings & AddAncillarySdps(AncillarySdpsT &&value)
Smpte2110ReceiverGroupSdpSettings & AddAudioSdps(AudioSdpsT &&value)
Smpte2110ReceiverGroupSdpSettings & WithVideoSdp(VideoSdpT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue