AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename SrtCallerSourcesT = Aws::Vector<SrtCallerSourceRequest>>
48 void SetSrtCallerSources(SrtCallerSourcesT&& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources = std::forward<SrtCallerSourcesT>(value); }
49 template<typename SrtCallerSourcesT = Aws::Vector<SrtCallerSourceRequest>>
50 SrtSettingsRequest& WithSrtCallerSources(SrtCallerSourcesT&& value) { SetSrtCallerSources(std::forward<SrtCallerSourcesT>(value)); return *this;}
51 template<typename SrtCallerSourcesT = SrtCallerSourceRequest>
52 SrtSettingsRequest& AddSrtCallerSources(SrtCallerSourcesT&& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources.emplace_back(std::forward<SrtCallerSourcesT>(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
SrtSettingsRequest & WithSrtCallerSources(SrtCallerSourcesT &&value)
const Aws::Vector< SrtCallerSourceRequest > & GetSrtCallerSources() const
void SetSrtCallerSources(SrtCallerSourcesT &&value)
AWS_MEDIALIVE_API SrtSettingsRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
SrtSettingsRequest & AddSrtCallerSources(SrtCallerSourcesT &&value)
AWS_MEDIALIVE_API SrtSettingsRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API SrtSettingsRequest()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue