AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
49 inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
50 inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
51 inline AddBridgeFlowSourceRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
52 inline AddBridgeFlowSourceRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
53 inline AddBridgeFlowSourceRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
55
57
60 inline const VpcInterfaceAttachment& GetFlowVpcInterfaceAttachment() const{ return m_flowVpcInterfaceAttachment; }
61 inline bool FlowVpcInterfaceAttachmentHasBeenSet() const { return m_flowVpcInterfaceAttachmentHasBeenSet; }
62 inline void SetFlowVpcInterfaceAttachment(const VpcInterfaceAttachment& value) { m_flowVpcInterfaceAttachmentHasBeenSet = true; m_flowVpcInterfaceAttachment = value; }
63 inline void SetFlowVpcInterfaceAttachment(VpcInterfaceAttachment&& value) { m_flowVpcInterfaceAttachmentHasBeenSet = true; m_flowVpcInterfaceAttachment = std::move(value); }
67
69
73 inline const Aws::String& GetName() const{ return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 inline AddBridgeFlowSourceRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline AddBridgeFlowSourceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline AddBridgeFlowSourceRequest& WithName(const char* value) { SetName(value); return *this;}
82 private:
83
84 Aws::String m_flowArn;
85 bool m_flowArnHasBeenSet = false;
86
87 VpcInterfaceAttachment m_flowVpcInterfaceAttachment;
88 bool m_flowVpcInterfaceAttachmentHasBeenSet = false;
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace MediaConnect
96} // namespace Aws
AddBridgeFlowSourceRequest & WithFlowArn(const char *value)
const VpcInterfaceAttachment & GetFlowVpcInterfaceAttachment() const
void SetFlowVpcInterfaceAttachment(const VpcInterfaceAttachment &value)
AddBridgeFlowSourceRequest & WithName(const Aws::String &value)
AddBridgeFlowSourceRequest & WithFlowArn(Aws::String &&value)
AWS_MEDIACONNECT_API AddBridgeFlowSourceRequest(Aws::Utils::Json::JsonView jsonValue)
AddBridgeFlowSourceRequest & WithFlowVpcInterfaceAttachment(VpcInterfaceAttachment &&value)
AWS_MEDIACONNECT_API AddBridgeFlowSourceRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AddBridgeFlowSourceRequest & WithName(const char *value)
AddBridgeFlowSourceRequest & WithFlowVpcInterfaceAttachment(const VpcInterfaceAttachment &value)
void SetFlowVpcInterfaceAttachment(VpcInterfaceAttachment &&value)
AddBridgeFlowSourceRequest & WithFlowArn(const Aws::String &value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AddBridgeFlowSourceRequest & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue