/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the parameters for UnassignPrivateIpAddresses.See
* Also:
AWS
* API Reference
The ID of the network interface.
*/ inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; } /** *The ID of the network interface.
*/ inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; } /** *The ID of the network interface.
*/ inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; } /** *The ID of the network interface.
*/ inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); } /** *The ID of the network interface.
*/ inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); } /** *The ID of the network interface.
*/ inline UnassignPrivateIpAddressesRequest& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;} /** *The ID of the network interface.
*/ inline UnassignPrivateIpAddressesRequest& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;} /** *The ID of the network interface.
*/ inline UnassignPrivateIpAddressesRequest& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;} /** *The secondary private IP addresses to unassign from the network interface. * You can specify this option multiple times to unassign more than one IP * address.
*/ inline const Aws::VectorThe secondary private IP addresses to unassign from the network interface. * You can specify this option multiple times to unassign more than one IP * address.
*/ inline bool PrivateIpAddressesHasBeenSet() const { return m_privateIpAddressesHasBeenSet; } /** *The secondary private IP addresses to unassign from the network interface. * You can specify this option multiple times to unassign more than one IP * address.
*/ inline void SetPrivateIpAddresses(const Aws::VectorThe secondary private IP addresses to unassign from the network interface. * You can specify this option multiple times to unassign more than one IP * address.
*/ inline void SetPrivateIpAddresses(Aws::VectorThe secondary private IP addresses to unassign from the network interface. * You can specify this option multiple times to unassign more than one IP * address.
*/ inline UnassignPrivateIpAddressesRequest& WithPrivateIpAddresses(const Aws::VectorThe secondary private IP addresses to unassign from the network interface. * You can specify this option multiple times to unassign more than one IP * address.
*/ inline UnassignPrivateIpAddressesRequest& WithPrivateIpAddresses(Aws::VectorThe secondary private IP addresses to unassign from the network interface. * You can specify this option multiple times to unassign more than one IP * address.
*/ inline UnassignPrivateIpAddressesRequest& AddPrivateIpAddresses(const Aws::String& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.push_back(value); return *this; } /** *The secondary private IP addresses to unassign from the network interface. * You can specify this option multiple times to unassign more than one IP * address.
*/ inline UnassignPrivateIpAddressesRequest& AddPrivateIpAddresses(Aws::String&& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.push_back(std::move(value)); return *this; } /** *The secondary private IP addresses to unassign from the network interface. * You can specify this option multiple times to unassign more than one IP * address.
*/ inline UnassignPrivateIpAddressesRequest& AddPrivateIpAddresses(const char* value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.push_back(value); return *this; } /** *The IPv4 prefixes to unassign from the network interface.
*/ inline const Aws::VectorThe IPv4 prefixes to unassign from the network interface.
*/ inline bool Ipv4PrefixesHasBeenSet() const { return m_ipv4PrefixesHasBeenSet; } /** *The IPv4 prefixes to unassign from the network interface.
*/ inline void SetIpv4Prefixes(const Aws::VectorThe IPv4 prefixes to unassign from the network interface.
*/ inline void SetIpv4Prefixes(Aws::VectorThe IPv4 prefixes to unassign from the network interface.
*/ inline UnassignPrivateIpAddressesRequest& WithIpv4Prefixes(const Aws::VectorThe IPv4 prefixes to unassign from the network interface.
*/ inline UnassignPrivateIpAddressesRequest& WithIpv4Prefixes(Aws::VectorThe IPv4 prefixes to unassign from the network interface.
*/ inline UnassignPrivateIpAddressesRequest& AddIpv4Prefixes(const Aws::String& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes.push_back(value); return *this; } /** *The IPv4 prefixes to unassign from the network interface.
*/ inline UnassignPrivateIpAddressesRequest& AddIpv4Prefixes(Aws::String&& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes.push_back(std::move(value)); return *this; } /** *The IPv4 prefixes to unassign from the network interface.
*/ inline UnassignPrivateIpAddressesRequest& AddIpv4Prefixes(const char* value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes.push_back(value); return *this; } private: Aws::String m_networkInterfaceId; bool m_networkInterfaceIdHasBeenSet = false; Aws::Vector