AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
AddBridgeFlowSourceRequest.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
29 public:
30 AWS_MEDIACONNECT_API AddBridgeFlowSourceRequest() = default;
33 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
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>
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 AddBridgeFlowSourceRequest& WithFlowVpcInterfaceAttachment(FlowVpcInterfaceAttachmentT&& value) {
67 SetFlowVpcInterfaceAttachment(std::forward<FlowVpcInterfaceAttachmentT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template <typename NameT = Aws::String>
80 void SetName(NameT&& value) {
81 m_nameHasBeenSet = true;
82 m_name = std::forward<NameT>(value);
83 }
84 template <typename NameT = Aws::String>
86 SetName(std::forward<NameT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_flowArn;
92
93 VpcInterfaceAttachment m_flowVpcInterfaceAttachment;
94
95 Aws::String m_name;
96 bool m_flowArnHasBeenSet = false;
97 bool m_flowVpcInterfaceAttachmentHasBeenSet = false;
98 bool m_nameHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace MediaConnect
103} // 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