AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SrtSettingsRequest.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/SrtCallerSourceRequest.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
35 {
36 public:
37 AWS_MEDIALIVE_API SrtSettingsRequest();
38 AWS_MEDIALIVE_API SrtSettingsRequest(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const Aws::Vector<SrtCallerSourceRequest>& GetSrtCallerSources() const{ return m_srtCallerSources; }
46 inline bool SrtCallerSourcesHasBeenSet() const { return m_srtCallerSourcesHasBeenSet; }
47 inline void SetSrtCallerSources(const Aws::Vector<SrtCallerSourceRequest>& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources = value; }
48 inline void SetSrtCallerSources(Aws::Vector<SrtCallerSourceRequest>&& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources = std::move(value); }
51 inline SrtSettingsRequest& AddSrtCallerSources(const SrtCallerSourceRequest& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources.push_back(value); return *this; }
52 inline SrtSettingsRequest& AddSrtCallerSources(SrtCallerSourceRequest&& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources.push_back(std::move(value)); return *this; }
54 private:
55
56 Aws::Vector<SrtCallerSourceRequest> m_srtCallerSources;
57 bool m_srtCallerSourcesHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace MediaLive
62} // namespace Aws
const Aws::Vector< SrtCallerSourceRequest > & GetSrtCallerSources() const
void SetSrtCallerSources(Aws::Vector< SrtCallerSourceRequest > &&value)
SrtSettingsRequest & WithSrtCallerSources(Aws::Vector< SrtCallerSourceRequest > &&value)
SrtSettingsRequest & WithSrtCallerSources(const Aws::Vector< SrtCallerSourceRequest > &value)
AWS_MEDIALIVE_API SrtSettingsRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API SrtSettingsRequest(Aws::Utils::Json::JsonView jsonValue)
SrtSettingsRequest & AddSrtCallerSources(const SrtCallerSourceRequest &value)
void SetSrtCallerSources(const Aws::Vector< SrtCallerSourceRequest > &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
SrtSettingsRequest & AddSrtCallerSources(SrtCallerSourceRequest &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue