AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
BridgeFlowSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
9#include <aws/mediaconnect/model/VpcInterfaceAttachment.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaConnect {
21namespace Model {
22
30 public:
31 AWS_MEDIACONNECT_API BridgeFlowSource() = default;
32 AWS_MEDIACONNECT_API BridgeFlowSource(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIACONNECT_API BridgeFlowSource& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
41 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
42 template <typename FlowArnT = Aws::String>
43 void SetFlowArn(FlowArnT&& value) {
44 m_flowArnHasBeenSet = true;
45 m_flowArn = std::forward<FlowArnT>(value);
46 }
47 template <typename FlowArnT = Aws::String>
48 BridgeFlowSource& WithFlowArn(FlowArnT&& value) {
49 SetFlowArn(std::forward<FlowArnT>(value));
50 return *this;
51 }
53
55
58 inline const VpcInterfaceAttachment& GetFlowVpcInterfaceAttachment() const { return m_flowVpcInterfaceAttachment; }
59 inline bool FlowVpcInterfaceAttachmentHasBeenSet() const { return m_flowVpcInterfaceAttachmentHasBeenSet; }
60 template <typename FlowVpcInterfaceAttachmentT = VpcInterfaceAttachment>
61 void SetFlowVpcInterfaceAttachment(FlowVpcInterfaceAttachmentT&& value) {
62 m_flowVpcInterfaceAttachmentHasBeenSet = true;
63 m_flowVpcInterfaceAttachment = std::forward<FlowVpcInterfaceAttachmentT>(value);
64 }
65 template <typename FlowVpcInterfaceAttachmentT = VpcInterfaceAttachment>
66 BridgeFlowSource& WithFlowVpcInterfaceAttachment(FlowVpcInterfaceAttachmentT&& value) {
67 SetFlowVpcInterfaceAttachment(std::forward<FlowVpcInterfaceAttachmentT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 template <typename NameT = Aws::String>
79 void SetName(NameT&& value) {
80 m_nameHasBeenSet = true;
81 m_name = std::forward<NameT>(value);
82 }
83 template <typename NameT = Aws::String>
84 BridgeFlowSource& WithName(NameT&& value) {
85 SetName(std::forward<NameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetOutputArn() const { return m_outputArn; }
95 inline bool OutputArnHasBeenSet() const { return m_outputArnHasBeenSet; }
96 template <typename OutputArnT = Aws::String>
97 void SetOutputArn(OutputArnT&& value) {
98 m_outputArnHasBeenSet = true;
99 m_outputArn = std::forward<OutputArnT>(value);
100 }
101 template <typename OutputArnT = Aws::String>
102 BridgeFlowSource& WithOutputArn(OutputArnT&& value) {
103 SetOutputArn(std::forward<OutputArnT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_flowArn;
109
110 VpcInterfaceAttachment m_flowVpcInterfaceAttachment;
111
112 Aws::String m_name;
113
114 Aws::String m_outputArn;
115 bool m_flowArnHasBeenSet = false;
116 bool m_flowVpcInterfaceAttachmentHasBeenSet = false;
117 bool m_nameHasBeenSet = false;
118 bool m_outputArnHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace MediaConnect
123} // namespace Aws
BridgeFlowSource & WithName(NameT &&value)
BridgeFlowSource & WithFlowArn(FlowArnT &&value)
void SetFlowVpcInterfaceAttachment(FlowVpcInterfaceAttachmentT &&value)
AWS_MEDIACONNECT_API BridgeFlowSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const VpcInterfaceAttachment & GetFlowVpcInterfaceAttachment() const
BridgeFlowSource & WithOutputArn(OutputArnT &&value)
AWS_MEDIACONNECT_API BridgeFlowSource()=default
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
BridgeFlowSource & WithFlowVpcInterfaceAttachment(FlowVpcInterfaceAttachmentT &&value)
AWS_MEDIACONNECT_API BridgeFlowSource(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue