AWS SDK for C++

AWS SDK for C++ Version 1.11.911

Loading...
Searching...
No Matches
NdiSourceSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaConnect {
20namespace Model {
21
32 public:
33 AWS_MEDIACONNECT_API NdiSourceSettings() = default;
34 AWS_MEDIACONNECT_API NdiSourceSettings(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIACONNECT_API NdiSourceSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::String& GetSourceName() const { return m_sourceName; }
45 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
46 template <typename SourceNameT = Aws::String>
47 void SetSourceName(SourceNameT&& value) {
48 m_sourceNameHasBeenSet = true;
49 m_sourceName = std::forward<SourceNameT>(value);
50 }
51 template <typename SourceNameT = Aws::String>
52 NdiSourceSettings& WithSourceName(SourceNameT&& value) {
53 SetSourceName(std::forward<SourceNameT>(value));
54 return *this;
55 }
57
59
65 inline int GetAudioReferenceLevel() const { return m_audioReferenceLevel; }
66 inline bool AudioReferenceLevelHasBeenSet() const { return m_audioReferenceLevelHasBeenSet; }
67 inline void SetAudioReferenceLevel(int value) {
68 m_audioReferenceLevelHasBeenSet = true;
69 m_audioReferenceLevel = value;
70 }
73 return *this;
74 }
76 private:
77 Aws::String m_sourceName;
78
79 int m_audioReferenceLevel{0};
80 bool m_sourceNameHasBeenSet = false;
81 bool m_audioReferenceLevelHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace MediaConnect
86} // namespace Aws
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONNECT_API NdiSourceSettings(Aws::Utils::Json::JsonView jsonValue)
NdiSourceSettings & WithSourceName(SourceNameT &&value)
NdiSourceSettings & WithAudioReferenceLevel(int value)
AWS_MEDIACONNECT_API NdiSourceSettings()=default
AWS_MEDIACONNECT_API NdiSourceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue