AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
SdiSourceMapping.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MEDIALIVE_API SdiSourceMapping() = default;
35 AWS_MEDIALIVE_API SdiSourceMapping(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline int GetCardNumber() const { return m_cardNumber; }
45 inline bool CardNumberHasBeenSet() const { return m_cardNumberHasBeenSet; }
46 inline void SetCardNumber(int value) { m_cardNumberHasBeenSet = true; m_cardNumber = value; }
47 inline SdiSourceMapping& WithCardNumber(int value) { SetCardNumber(value); return *this;}
49
51
54 inline int GetChannelNumber() const { return m_channelNumber; }
55 inline bool ChannelNumberHasBeenSet() const { return m_channelNumberHasBeenSet; }
56 inline void SetChannelNumber(int value) { m_channelNumberHasBeenSet = true; m_channelNumber = value; }
57 inline SdiSourceMapping& WithChannelNumber(int value) { SetChannelNumber(value); return *this;}
59
61
65 inline const Aws::String& GetSdiSource() const { return m_sdiSource; }
66 inline bool SdiSourceHasBeenSet() const { return m_sdiSourceHasBeenSet; }
67 template<typename SdiSourceT = Aws::String>
68 void SetSdiSource(SdiSourceT&& value) { m_sdiSourceHasBeenSet = true; m_sdiSource = std::forward<SdiSourceT>(value); }
69 template<typename SdiSourceT = Aws::String>
70 SdiSourceMapping& WithSdiSource(SdiSourceT&& value) { SetSdiSource(std::forward<SdiSourceT>(value)); return *this;}
72 private:
73
74 int m_cardNumber{0};
75 bool m_cardNumberHasBeenSet = false;
76
77 int m_channelNumber{0};
78 bool m_channelNumberHasBeenSet = false;
79
80 Aws::String m_sdiSource;
81 bool m_sdiSourceHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace MediaLive
86} // 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