AWS SDK for C++

AWS SDK for C++ Version 1.11.773

Loading...
Searching...
No Matches
Smpte2110ReceiverGroupSdpSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9#include <aws/medialive/model/InputSdpLocation.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaLive {
21namespace Model {
22
30 public:
31 AWS_MEDIALIVE_API Smpte2110ReceiverGroupSdpSettings() = default;
34 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
44 inline const Aws::Vector<InputSdpLocation>& GetAncillarySdps() const { return m_ancillarySdps; }
45 inline bool AncillarySdpsHasBeenSet() const { return m_ancillarySdpsHasBeenSet; }
46 template <typename AncillarySdpsT = Aws::Vector<InputSdpLocation>>
47 void SetAncillarySdps(AncillarySdpsT&& value) {
48 m_ancillarySdpsHasBeenSet = true;
49 m_ancillarySdps = std::forward<AncillarySdpsT>(value);
50 }
51 template <typename AncillarySdpsT = Aws::Vector<InputSdpLocation>>
53 SetAncillarySdps(std::forward<AncillarySdpsT>(value));
54 return *this;
55 }
56 template <typename AncillarySdpsT = InputSdpLocation>
58 m_ancillarySdpsHasBeenSet = true;
59 m_ancillarySdps.emplace_back(std::forward<AncillarySdpsT>(value));
60 return *this;
61 }
63
65
69 inline const Aws::Vector<InputSdpLocation>& GetAudioSdps() const { return m_audioSdps; }
70 inline bool AudioSdpsHasBeenSet() const { return m_audioSdpsHasBeenSet; }
71 template <typename AudioSdpsT = Aws::Vector<InputSdpLocation>>
72 void SetAudioSdps(AudioSdpsT&& value) {
73 m_audioSdpsHasBeenSet = true;
74 m_audioSdps = std::forward<AudioSdpsT>(value);
75 }
76 template <typename AudioSdpsT = Aws::Vector<InputSdpLocation>>
78 SetAudioSdps(std::forward<AudioSdpsT>(value));
79 return *this;
80 }
81 template <typename AudioSdpsT = InputSdpLocation>
83 m_audioSdpsHasBeenSet = true;
84 m_audioSdps.emplace_back(std::forward<AudioSdpsT>(value));
85 return *this;
86 }
88
90
94 inline const InputSdpLocation& GetVideoSdp() const { return m_videoSdp; }
95 inline bool VideoSdpHasBeenSet() const { return m_videoSdpHasBeenSet; }
96 template <typename VideoSdpT = InputSdpLocation>
97 void SetVideoSdp(VideoSdpT&& value) {
98 m_videoSdpHasBeenSet = true;
99 m_videoSdp = std::forward<VideoSdpT>(value);
100 }
101 template <typename VideoSdpT = InputSdpLocation>
103 SetVideoSdp(std::forward<VideoSdpT>(value));
104 return *this;
105 }
107 private:
108 Aws::Vector<InputSdpLocation> m_ancillarySdps;
109
111
112 InputSdpLocation m_videoSdp;
113 bool m_ancillarySdpsHasBeenSet = false;
114 bool m_audioSdpsHasBeenSet = false;
115 bool m_videoSdpHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace MediaLive
120} // 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