AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BridgeSource.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/BridgeFlowSource.h>
9#include <aws/mediaconnect/model/BridgeNetworkSource.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaConnect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIACONNECT_API BridgeSource();
36 AWS_MEDIACONNECT_API BridgeSource(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIACONNECT_API BridgeSource& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const BridgeFlowSource& GetFlowSource() const{ return m_flowSource; }
44 inline bool FlowSourceHasBeenSet() const { return m_flowSourceHasBeenSet; }
45 inline void SetFlowSource(const BridgeFlowSource& value) { m_flowSourceHasBeenSet = true; m_flowSource = value; }
46 inline void SetFlowSource(BridgeFlowSource&& value) { m_flowSourceHasBeenSet = true; m_flowSource = std::move(value); }
47 inline BridgeSource& WithFlowSource(const BridgeFlowSource& value) { SetFlowSource(value); return *this;}
48 inline BridgeSource& WithFlowSource(BridgeFlowSource&& value) { SetFlowSource(std::move(value)); return *this;}
50
52
53 inline const BridgeNetworkSource& GetNetworkSource() const{ return m_networkSource; }
54 inline bool NetworkSourceHasBeenSet() const { return m_networkSourceHasBeenSet; }
55 inline void SetNetworkSource(const BridgeNetworkSource& value) { m_networkSourceHasBeenSet = true; m_networkSource = value; }
56 inline void SetNetworkSource(BridgeNetworkSource&& value) { m_networkSourceHasBeenSet = true; m_networkSource = std::move(value); }
57 inline BridgeSource& WithNetworkSource(const BridgeNetworkSource& value) { SetNetworkSource(value); return *this;}
58 inline BridgeSource& WithNetworkSource(BridgeNetworkSource&& value) { SetNetworkSource(std::move(value)); return *this;}
60 private:
61
62 BridgeFlowSource m_flowSource;
63 bool m_flowSourceHasBeenSet = false;
64
65 BridgeNetworkSource m_networkSource;
66 bool m_networkSourceHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace MediaConnect
71} // namespace Aws
BridgeSource & WithFlowSource(BridgeFlowSource &&value)
AWS_MEDIACONNECT_API BridgeSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const BridgeFlowSource & GetFlowSource() const
BridgeSource & WithFlowSource(const BridgeFlowSource &value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFlowSource(const BridgeFlowSource &value)
void SetFlowSource(BridgeFlowSource &&value)
void SetNetworkSource(BridgeNetworkSource &&value)
BridgeSource & WithNetworkSource(BridgeNetworkSource &&value)
AWS_MEDIACONNECT_API BridgeSource()
void SetNetworkSource(const BridgeNetworkSource &value)
const BridgeNetworkSource & GetNetworkSource() const
BridgeSource & WithNetworkSource(const BridgeNetworkSource &value)
AWS_MEDIACONNECT_API BridgeSource(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue