AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AddBridgeFlowSourceRequest.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediaconnect/model/VpcInterfaceAttachment.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 AddBridgeFlowSourceRequest() = default;
38 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
47 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
48 template<typename FlowArnT = Aws::String>
49 void SetFlowArn(FlowArnT&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::forward<FlowArnT>(value); }
50 template<typename FlowArnT = Aws::String>
51 AddBridgeFlowSourceRequest& WithFlowArn(FlowArnT&& value) { SetFlowArn(std::forward<FlowArnT>(value)); return *this;}
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) { m_flowVpcInterfaceAttachmentHasBeenSet = true; m_flowVpcInterfaceAttachment = std::forward<FlowVpcInterfaceAttachmentT>(value); }
62 template<typename FlowVpcInterfaceAttachmentT = VpcInterfaceAttachment>
63 AddBridgeFlowSourceRequest& WithFlowVpcInterfaceAttachment(FlowVpcInterfaceAttachmentT&& value) { SetFlowVpcInterfaceAttachment(std::forward<FlowVpcInterfaceAttachmentT>(value)); return *this;}
65
67
71 inline const Aws::String& GetName() const { return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 template<typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
75 template<typename NameT = Aws::String>
76 AddBridgeFlowSourceRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
78 private:
79
80 Aws::String m_flowArn;
81 bool m_flowArnHasBeenSet = false;
82
83 VpcInterfaceAttachment m_flowVpcInterfaceAttachment;
84 bool m_flowVpcInterfaceAttachmentHasBeenSet = false;
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace MediaConnect
92} // namespace Aws
const VpcInterfaceAttachment & GetFlowVpcInterfaceAttachment() const
AWS_MEDIACONNECT_API AddBridgeFlowSourceRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API AddBridgeFlowSourceRequest()=default
AddBridgeFlowSourceRequest & WithName(NameT &&value)
AWS_MEDIACONNECT_API AddBridgeFlowSourceRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AddBridgeFlowSourceRequest & WithFlowArn(FlowArnT &&value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFlowVpcInterfaceAttachment(FlowVpcInterfaceAttachmentT &&value)
AddBridgeFlowSourceRequest & WithFlowVpcInterfaceAttachment(FlowVpcInterfaceAttachmentT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue