AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
SetGatewayBridgeSourceRequest.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 SetGatewayBridgeSourceRequest() = default;
34 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetBridgeArn() const { return m_bridgeArn; }
41 inline bool BridgeArnHasBeenSet() const { return m_bridgeArnHasBeenSet; }
42 template <typename BridgeArnT = Aws::String>
43 void SetBridgeArn(BridgeArnT&& value) {
44 m_bridgeArnHasBeenSet = true;
45 m_bridgeArn = std::forward<BridgeArnT>(value);
46 }
47 template <typename BridgeArnT = Aws::String>
49 SetBridgeArn(std::forward<BridgeArnT>(value));
50 return *this;
51 }
53
55
58 inline const VpcInterfaceAttachment& GetVpcInterfaceAttachment() const { return m_vpcInterfaceAttachment; }
59 inline bool VpcInterfaceAttachmentHasBeenSet() const { return m_vpcInterfaceAttachmentHasBeenSet; }
60 template <typename VpcInterfaceAttachmentT = VpcInterfaceAttachment>
61 void SetVpcInterfaceAttachment(VpcInterfaceAttachmentT&& value) {
62 m_vpcInterfaceAttachmentHasBeenSet = true;
63 m_vpcInterfaceAttachment = std::forward<VpcInterfaceAttachmentT>(value);
64 }
65 template <typename VpcInterfaceAttachmentT = VpcInterfaceAttachment>
67 SetVpcInterfaceAttachment(std::forward<VpcInterfaceAttachmentT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_bridgeArn;
73
74 VpcInterfaceAttachment m_vpcInterfaceAttachment;
75 bool m_bridgeArnHasBeenSet = false;
76 bool m_vpcInterfaceAttachmentHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace MediaConnect
81} // namespace Aws
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONNECT_API SetGatewayBridgeSourceRequest()=default
SetGatewayBridgeSourceRequest & WithBridgeArn(BridgeArnT &&value)
SetGatewayBridgeSourceRequest & WithVpcInterfaceAttachment(VpcInterfaceAttachmentT &&value)
AWS_MEDIACONNECT_API SetGatewayBridgeSourceRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API SetGatewayBridgeSourceRequest(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue