AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
SrtSettings.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/SrtCallerSource.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
33 {
34 public:
35 AWS_MEDIALIVE_API SrtSettings() = default;
36 AWS_MEDIALIVE_API SrtSettings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIALIVE_API SrtSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::Vector<SrtCallerSource>& GetSrtCallerSources() const { return m_srtCallerSources; }
44 inline bool SrtCallerSourcesHasBeenSet() const { return m_srtCallerSourcesHasBeenSet; }
45 template<typename SrtCallerSourcesT = Aws::Vector<SrtCallerSource>>
46 void SetSrtCallerSources(SrtCallerSourcesT&& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources = std::forward<SrtCallerSourcesT>(value); }
47 template<typename SrtCallerSourcesT = Aws::Vector<SrtCallerSource>>
48 SrtSettings& WithSrtCallerSources(SrtCallerSourcesT&& value) { SetSrtCallerSources(std::forward<SrtCallerSourcesT>(value)); return *this;}
49 template<typename SrtCallerSourcesT = SrtCallerSource>
50 SrtSettings& AddSrtCallerSources(SrtCallerSourcesT&& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources.emplace_back(std::forward<SrtCallerSourcesT>(value)); return *this; }
52 private:
53
54 Aws::Vector<SrtCallerSource> m_srtCallerSources;
55 bool m_srtCallerSourcesHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace MediaLive
60} // namespace Aws
const Aws::Vector< SrtCallerSource > & GetSrtCallerSources() const
Definition SrtSettings.h:43
void SetSrtCallerSources(SrtCallerSourcesT &&value)
Definition SrtSettings.h:46
SrtSettings & WithSrtCallerSources(SrtCallerSourcesT &&value)
Definition SrtSettings.h:48
AWS_MEDIALIVE_API SrtSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
SrtSettings & AddSrtCallerSources(SrtCallerSourcesT &&value)
Definition SrtSettings.h:50
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API SrtSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API SrtSettings()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue