/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MediaConnect { namespace Model { /** * The source configuration for cloud flows receiving a stream from a * bridge.

See Also:

AWS * API Reference

*/ class GatewayBridgeSource { public: AWS_MEDIACONNECT_API GatewayBridgeSource(); AWS_MEDIACONNECT_API GatewayBridgeSource(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIACONNECT_API GatewayBridgeSource& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const; /** * The ARN of the bridge feeding this flow. */ inline const Aws::String& GetBridgeArn() const{ return m_bridgeArn; } /** * The ARN of the bridge feeding this flow. */ inline bool BridgeArnHasBeenSet() const { return m_bridgeArnHasBeenSet; } /** * The ARN of the bridge feeding this flow. */ inline void SetBridgeArn(const Aws::String& value) { m_bridgeArnHasBeenSet = true; m_bridgeArn = value; } /** * The ARN of the bridge feeding this flow. */ inline void SetBridgeArn(Aws::String&& value) { m_bridgeArnHasBeenSet = true; m_bridgeArn = std::move(value); } /** * The ARN of the bridge feeding this flow. */ inline void SetBridgeArn(const char* value) { m_bridgeArnHasBeenSet = true; m_bridgeArn.assign(value); } /** * The ARN of the bridge feeding this flow. */ inline GatewayBridgeSource& WithBridgeArn(const Aws::String& value) { SetBridgeArn(value); return *this;} /** * The ARN of the bridge feeding this flow. */ inline GatewayBridgeSource& WithBridgeArn(Aws::String&& value) { SetBridgeArn(std::move(value)); return *this;} /** * The ARN of the bridge feeding this flow. */ inline GatewayBridgeSource& WithBridgeArn(const char* value) { SetBridgeArn(value); return *this;} /** * The name of the VPC interface attachment to use for this bridge source. */ inline const VpcInterfaceAttachment& GetVpcInterfaceAttachment() const{ return m_vpcInterfaceAttachment; } /** * The name of the VPC interface attachment to use for this bridge source. */ inline bool VpcInterfaceAttachmentHasBeenSet() const { return m_vpcInterfaceAttachmentHasBeenSet; } /** * The name of the VPC interface attachment to use for this bridge source. */ inline void SetVpcInterfaceAttachment(const VpcInterfaceAttachment& value) { m_vpcInterfaceAttachmentHasBeenSet = true; m_vpcInterfaceAttachment = value; } /** * The name of the VPC interface attachment to use for this bridge source. */ inline void SetVpcInterfaceAttachment(VpcInterfaceAttachment&& value) { m_vpcInterfaceAttachmentHasBeenSet = true; m_vpcInterfaceAttachment = std::move(value); } /** * The name of the VPC interface attachment to use for this bridge source. */ inline GatewayBridgeSource& WithVpcInterfaceAttachment(const VpcInterfaceAttachment& value) { SetVpcInterfaceAttachment(value); return *this;} /** * The name of the VPC interface attachment to use for this bridge source. */ inline GatewayBridgeSource& WithVpcInterfaceAttachment(VpcInterfaceAttachment&& value) { SetVpcInterfaceAttachment(std::move(value)); return *this;} private: Aws::String m_bridgeArn; bool m_bridgeArnHasBeenSet = false; VpcInterfaceAttachment m_vpcInterfaceAttachment; bool m_vpcInterfaceAttachmentHasBeenSet = false; }; } // namespace Model } // namespace MediaConnect } // namespace Aws