AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
SdiSourceMappingUpdateRequest.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
35 {
36 public:
37 AWS_MEDIALIVE_API SdiSourceMappingUpdateRequest() = default;
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline int GetCardNumber() const { return m_cardNumber; }
50 inline bool CardNumberHasBeenSet() const { return m_cardNumberHasBeenSet; }
51 inline void SetCardNumber(int value) { m_cardNumberHasBeenSet = true; m_cardNumber = value; }
52 inline SdiSourceMappingUpdateRequest& WithCardNumber(int value) { SetCardNumber(value); return *this;}
54
56
61 inline int GetChannelNumber() const { return m_channelNumber; }
62 inline bool ChannelNumberHasBeenSet() const { return m_channelNumberHasBeenSet; }
63 inline void SetChannelNumber(int value) { m_channelNumberHasBeenSet = true; m_channelNumber = value; }
64 inline SdiSourceMappingUpdateRequest& WithChannelNumber(int value) { SetChannelNumber(value); return *this;}
66
68
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) { m_sdiSourceHasBeenSet = true; m_sdiSource = std::forward<SdiSourceT>(value); }
75 template<typename SdiSourceT = Aws::String>
76 SdiSourceMappingUpdateRequest& WithSdiSource(SdiSourceT&& value) { SetSdiSource(std::forward<SdiSourceT>(value)); return *this;}
78 private:
79
80 int m_cardNumber{0};
81 bool m_cardNumberHasBeenSet = false;
82
83 int m_channelNumber{0};
84 bool m_channelNumberHasBeenSet = false;
85
86 Aws::String m_sdiSource;
87 bool m_sdiSourceHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace MediaLive
92} // 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