/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MediaConnect { namespace Model { /** * The settings for attaching a VPC interface to an resource.

See Also:

* AWS * API Reference

*/ class VpcInterfaceAttachment { public: AWS_MEDIACONNECT_API VpcInterfaceAttachment(); AWS_MEDIACONNECT_API VpcInterfaceAttachment(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIACONNECT_API VpcInterfaceAttachment& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const; /** * The name of the VPC interface to use for this resource. */ inline const Aws::String& GetVpcInterfaceName() const{ return m_vpcInterfaceName; } /** * The name of the VPC interface to use for this resource. */ inline bool VpcInterfaceNameHasBeenSet() const { return m_vpcInterfaceNameHasBeenSet; } /** * The name of the VPC interface to use for this resource. */ inline void SetVpcInterfaceName(const Aws::String& value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName = value; } /** * The name of the VPC interface to use for this resource. */ inline void SetVpcInterfaceName(Aws::String&& value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName = std::move(value); } /** * The name of the VPC interface to use for this resource. */ inline void SetVpcInterfaceName(const char* value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName.assign(value); } /** * The name of the VPC interface to use for this resource. */ inline VpcInterfaceAttachment& WithVpcInterfaceName(const Aws::String& value) { SetVpcInterfaceName(value); return *this;} /** * The name of the VPC interface to use for this resource. */ inline VpcInterfaceAttachment& WithVpcInterfaceName(Aws::String&& value) { SetVpcInterfaceName(std::move(value)); return *this;} /** * The name of the VPC interface to use for this resource. */ inline VpcInterfaceAttachment& WithVpcInterfaceName(const char* value) { SetVpcInterfaceName(value); return *this;} private: Aws::String m_vpcInterfaceName; bool m_vpcInterfaceNameHasBeenSet = false; }; } // namespace Model } // namespace MediaConnect } // namespace Aws