AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
RouterInputStreamDetails.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/FailoverRouterInputStreamDetails.h>
9#include <aws/mediaconnect/model/MediaConnectFlowRouterInputStreamDetails.h>
10#include <aws/mediaconnect/model/MediaLiveChannelRouterInputStreamDetails.h>
11#include <aws/mediaconnect/model/MergeRouterInputStreamDetails.h>
12#include <aws/mediaconnect/model/StandardRouterInputStreamDetails.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaConnect {
24namespace Model {
25
33 public:
34 AWS_MEDIACONNECT_API RouterInputStreamDetails() = default;
37 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
41 inline const StandardRouterInputStreamDetails& GetStandard() const { return m_standard; }
42 inline bool StandardHasBeenSet() const { return m_standardHasBeenSet; }
43 template <typename StandardT = StandardRouterInputStreamDetails>
44 void SetStandard(StandardT&& value) {
45 m_standardHasBeenSet = true;
46 m_standard = std::forward<StandardT>(value);
47 }
48 template <typename StandardT = StandardRouterInputStreamDetails>
50 SetStandard(std::forward<StandardT>(value));
51 return *this;
52 }
54
56
57 inline const MediaLiveChannelRouterInputStreamDetails& GetMediaLiveChannel() const { return m_mediaLiveChannel; }
58 inline bool MediaLiveChannelHasBeenSet() const { return m_mediaLiveChannelHasBeenSet; }
59 template <typename MediaLiveChannelT = MediaLiveChannelRouterInputStreamDetails>
60 void SetMediaLiveChannel(MediaLiveChannelT&& value) {
61 m_mediaLiveChannelHasBeenSet = true;
62 m_mediaLiveChannel = std::forward<MediaLiveChannelT>(value);
63 }
64 template <typename MediaLiveChannelT = MediaLiveChannelRouterInputStreamDetails>
65 RouterInputStreamDetails& WithMediaLiveChannel(MediaLiveChannelT&& value) {
66 SetMediaLiveChannel(std::forward<MediaLiveChannelT>(value));
67 return *this;
68 }
70
72
73 inline const FailoverRouterInputStreamDetails& GetFailover() const { return m_failover; }
74 inline bool FailoverHasBeenSet() const { return m_failoverHasBeenSet; }
75 template <typename FailoverT = FailoverRouterInputStreamDetails>
76 void SetFailover(FailoverT&& value) {
77 m_failoverHasBeenSet = true;
78 m_failover = std::forward<FailoverT>(value);
79 }
80 template <typename FailoverT = FailoverRouterInputStreamDetails>
82 SetFailover(std::forward<FailoverT>(value));
83 return *this;
84 }
86
88
89 inline const MediaConnectFlowRouterInputStreamDetails& GetMediaConnectFlow() const { return m_mediaConnectFlow; }
90 inline bool MediaConnectFlowHasBeenSet() const { return m_mediaConnectFlowHasBeenSet; }
91 template <typename MediaConnectFlowT = MediaConnectFlowRouterInputStreamDetails>
92 void SetMediaConnectFlow(MediaConnectFlowT&& value) {
93 m_mediaConnectFlowHasBeenSet = true;
94 m_mediaConnectFlow = std::forward<MediaConnectFlowT>(value);
95 }
96 template <typename MediaConnectFlowT = MediaConnectFlowRouterInputStreamDetails>
97 RouterInputStreamDetails& WithMediaConnectFlow(MediaConnectFlowT&& value) {
98 SetMediaConnectFlow(std::forward<MediaConnectFlowT>(value));
99 return *this;
100 }
102
104
105 inline const MergeRouterInputStreamDetails& GetMerge() const { return m_merge; }
106 inline bool MergeHasBeenSet() const { return m_mergeHasBeenSet; }
107 template <typename MergeT = MergeRouterInputStreamDetails>
108 void SetMerge(MergeT&& value) {
109 m_mergeHasBeenSet = true;
110 m_merge = std::forward<MergeT>(value);
111 }
112 template <typename MergeT = MergeRouterInputStreamDetails>
114 SetMerge(std::forward<MergeT>(value));
115 return *this;
116 }
118 private:
120
122
124
126
128 bool m_standardHasBeenSet = false;
129 bool m_mediaLiveChannelHasBeenSet = false;
130 bool m_failoverHasBeenSet = false;
131 bool m_mediaConnectFlowHasBeenSet = false;
132 bool m_mergeHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace MediaConnect
137} // namespace Aws
const StandardRouterInputStreamDetails & GetStandard() const
RouterInputStreamDetails & WithFailover(FailoverT &&value)
RouterInputStreamDetails & WithStandard(StandardT &&value)
RouterInputStreamDetails & WithMediaConnectFlow(MediaConnectFlowT &&value)
RouterInputStreamDetails & WithMediaLiveChannel(MediaLiveChannelT &&value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONNECT_API RouterInputStreamDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API RouterInputStreamDetails()=default
const MediaConnectFlowRouterInputStreamDetails & GetMediaConnectFlow() const
const MergeRouterInputStreamDetails & GetMerge() const
const FailoverRouterInputStreamDetails & GetFailover() const
AWS_MEDIACONNECT_API RouterInputStreamDetails(Aws::Utils::Json::JsonView jsonValue)
const MediaLiveChannelRouterInputStreamDetails & GetMediaLiveChannel() const
RouterInputStreamDetails & WithMerge(MergeT &&value)
Aws::Utils::Json::JsonValue JsonValue