/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace MediaConnect { namespace Model { /** * A request to add VPC interfaces to the flow.

See Also:

AWS * API Reference

*/ class AddFlowVpcInterfacesRequest : public MediaConnectRequest { public: AWS_MEDIACONNECT_API AddFlowVpcInterfacesRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "AddFlowVpcInterfaces"; } AWS_MEDIACONNECT_API Aws::String SerializePayload() const override; /** * The flow that you want to mutate. */ inline const Aws::String& GetFlowArn() const{ return m_flowArn; } /** * The flow that you want to mutate. */ inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; } /** * The flow that you want to mutate. */ inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; } /** * The flow that you want to mutate. */ inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); } /** * The flow that you want to mutate. */ inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); } /** * The flow that you want to mutate. */ inline AddFlowVpcInterfacesRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;} /** * The flow that you want to mutate. */ inline AddFlowVpcInterfacesRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;} /** * The flow that you want to mutate. */ inline AddFlowVpcInterfacesRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;} /** * A list of VPC interfaces that you want to add. */ inline const Aws::Vector& GetVpcInterfaces() const{ return m_vpcInterfaces; } /** * A list of VPC interfaces that you want to add. */ inline bool VpcInterfacesHasBeenSet() const { return m_vpcInterfacesHasBeenSet; } /** * A list of VPC interfaces that you want to add. */ inline void SetVpcInterfaces(const Aws::Vector& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces = value; } /** * A list of VPC interfaces that you want to add. */ inline void SetVpcInterfaces(Aws::Vector&& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces = std::move(value); } /** * A list of VPC interfaces that you want to add. */ inline AddFlowVpcInterfacesRequest& WithVpcInterfaces(const Aws::Vector& value) { SetVpcInterfaces(value); return *this;} /** * A list of VPC interfaces that you want to add. */ inline AddFlowVpcInterfacesRequest& WithVpcInterfaces(Aws::Vector&& value) { SetVpcInterfaces(std::move(value)); return *this;} /** * A list of VPC interfaces that you want to add. */ inline AddFlowVpcInterfacesRequest& AddVpcInterfaces(const VpcInterfaceRequest& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces.push_back(value); return *this; } /** * A list of VPC interfaces that you want to add. */ inline AddFlowVpcInterfacesRequest& AddVpcInterfaces(VpcInterfaceRequest&& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces.push_back(std::move(value)); return *this; } private: Aws::String m_flowArn; bool m_flowArnHasBeenSet = false; Aws::Vector m_vpcInterfaces; bool m_vpcInterfacesHasBeenSet = false; }; } // namespace Model } // namespace MediaConnect } // namespace Aws