AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSrtCallerSources(const Aws::Vector<SrtCallerSource>& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources = value; }
46 inline void SetSrtCallerSources(Aws::Vector<SrtCallerSource>&& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources = std::move(value); }
48 inline SrtSettings& WithSrtCallerSources(Aws::Vector<SrtCallerSource>&& value) { SetSrtCallerSources(std::move(value)); return *this;}
49 inline SrtSettings& AddSrtCallerSources(const SrtCallerSource& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources.push_back(value); return *this; }
50 inline SrtSettings& AddSrtCallerSources(SrtCallerSource&& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources.push_back(std::move(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
void SetSrtCallerSources(const Aws::Vector< SrtCallerSource > &value)
Definition SrtSettings.h:45
const Aws::Vector< SrtCallerSource > & GetSrtCallerSources() const
Definition SrtSettings.h:43
void SetSrtCallerSources(Aws::Vector< SrtCallerSource > &&value)
Definition SrtSettings.h:46
SrtSettings & WithSrtCallerSources(Aws::Vector< SrtCallerSource > &&value)
Definition SrtSettings.h:48
SrtSettings & WithSrtCallerSources(const Aws::Vector< SrtCallerSource > &value)
Definition SrtSettings.h:47
SrtSettings & AddSrtCallerSources(SrtCallerSource &&value)
Definition SrtSettings.h:50
AWS_MEDIALIVE_API SrtSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API SrtSettings(Aws::Utils::Json::JsonView jsonValue)
SrtSettings & AddSrtCallerSources(const SrtCallerSource &value)
Definition SrtSettings.h:49
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue