AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
SdiSourceMappingUpdateRequest.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
31 public:
32 AWS_MEDIALIVE_API SdiSourceMappingUpdateRequest() = default;
35 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline int GetCardNumber() const { return m_cardNumber; }
44 inline bool CardNumberHasBeenSet() const { return m_cardNumberHasBeenSet; }
45 inline void SetCardNumber(int value) {
46 m_cardNumberHasBeenSet = true;
47 m_cardNumber = value;
48 }
50 SetCardNumber(value);
51 return *this;
52 }
54
56
61 inline int GetChannelNumber() const { return m_channelNumber; }
62 inline bool ChannelNumberHasBeenSet() const { return m_channelNumberHasBeenSet; }
63 inline void SetChannelNumber(int value) {
64 m_channelNumberHasBeenSet = true;
65 m_channelNumber = value;
66 }
68 SetChannelNumber(value);
69 return *this;
70 }
72
74
77 inline const Aws::String& GetSdiSource() const { return m_sdiSource; }
78 inline bool SdiSourceHasBeenSet() const { return m_sdiSourceHasBeenSet; }
79 template <typename SdiSourceT = Aws::String>
80 void SetSdiSource(SdiSourceT&& value) {
81 m_sdiSourceHasBeenSet = true;
82 m_sdiSource = std::forward<SdiSourceT>(value);
83 }
84 template <typename SdiSourceT = Aws::String>
86 SetSdiSource(std::forward<SdiSourceT>(value));
87 return *this;
88 }
90 private:
91 int m_cardNumber{0};
92
93 int m_channelNumber{0};
94
95 Aws::String m_sdiSource;
96 bool m_cardNumberHasBeenSet = false;
97 bool m_channelNumberHasBeenSet = false;
98 bool m_sdiSourceHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace MediaLive
103} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API SdiSourceMappingUpdateRequest()=default
AWS_MEDIALIVE_API SdiSourceMappingUpdateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
SdiSourceMappingUpdateRequest & WithSdiSource(SdiSourceT &&value)
SdiSourceMappingUpdateRequest & WithCardNumber(int value)
AWS_MEDIALIVE_API SdiSourceMappingUpdateRequest(Aws::Utils::Json::JsonView jsonValue)
SdiSourceMappingUpdateRequest & WithChannelNumber(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue