AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
SdiSourceMapping.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaLive {
20namespace Model {
21
28 public:
29 AWS_MEDIALIVE_API SdiSourceMapping() = default;
30 AWS_MEDIALIVE_API SdiSourceMapping(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline int GetCardNumber() const { return m_cardNumber; }
39 inline bool CardNumberHasBeenSet() const { return m_cardNumberHasBeenSet; }
40 inline void SetCardNumber(int value) {
41 m_cardNumberHasBeenSet = true;
42 m_cardNumber = value;
43 }
44 inline SdiSourceMapping& WithCardNumber(int value) {
45 SetCardNumber(value);
46 return *this;
47 }
49
51
54 inline int GetChannelNumber() const { return m_channelNumber; }
55 inline bool ChannelNumberHasBeenSet() const { return m_channelNumberHasBeenSet; }
56 inline void SetChannelNumber(int value) {
57 m_channelNumberHasBeenSet = true;
58 m_channelNumber = value;
59 }
61 SetChannelNumber(value);
62 return *this;
63 }
65
67
71 inline const Aws::String& GetSdiSource() const { return m_sdiSource; }
72 inline bool SdiSourceHasBeenSet() const { return m_sdiSourceHasBeenSet; }
73 template <typename SdiSourceT = Aws::String>
74 void SetSdiSource(SdiSourceT&& value) {
75 m_sdiSourceHasBeenSet = true;
76 m_sdiSource = std::forward<SdiSourceT>(value);
77 }
78 template <typename SdiSourceT = Aws::String>
79 SdiSourceMapping& WithSdiSource(SdiSourceT&& value) {
80 SetSdiSource(std::forward<SdiSourceT>(value));
81 return *this;
82 }
84 private:
85 int m_cardNumber{0};
86
87 int m_channelNumber{0};
88
89 Aws::String m_sdiSource;
90 bool m_cardNumberHasBeenSet = false;
91 bool m_channelNumberHasBeenSet = false;
92 bool m_sdiSourceHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace MediaLive
97} // namespace Aws
AWS_MEDIALIVE_API SdiSourceMapping(Aws::Utils::Json::JsonView jsonValue)
SdiSourceMapping & WithChannelNumber(int value)
AWS_MEDIALIVE_API SdiSourceMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
SdiSourceMapping & WithSdiSource(SdiSourceT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSdiSource() const
SdiSourceMapping & WithCardNumber(int value)
AWS_MEDIALIVE_API SdiSourceMapping()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue