/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { /** *

Describes the deregistered transit gateway multicast group * members.

See Also:

AWS * API Reference

*/ class TransitGatewayMulticastDeregisteredGroupMembers { public: AWS_EC2_API TransitGatewayMulticastDeregisteredGroupMembers(); AWS_EC2_API TransitGatewayMulticastDeregisteredGroupMembers(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API TransitGatewayMulticastDeregisteredGroupMembers& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The ID of the transit gateway multicast domain.

*/ inline const Aws::String& GetTransitGatewayMulticastDomainId() const{ return m_transitGatewayMulticastDomainId; } /** *

The ID of the transit gateway multicast domain.

*/ inline bool TransitGatewayMulticastDomainIdHasBeenSet() const { return m_transitGatewayMulticastDomainIdHasBeenSet; } /** *

The ID of the transit gateway multicast domain.

*/ inline void SetTransitGatewayMulticastDomainId(const Aws::String& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = value; } /** *

The ID of the transit gateway multicast domain.

*/ inline void SetTransitGatewayMulticastDomainId(Aws::String&& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = std::move(value); } /** *

The ID of the transit gateway multicast domain.

*/ inline void SetTransitGatewayMulticastDomainId(const char* value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId.assign(value); } /** *

The ID of the transit gateway multicast domain.

*/ inline TransitGatewayMulticastDeregisteredGroupMembers& WithTransitGatewayMulticastDomainId(const Aws::String& value) { SetTransitGatewayMulticastDomainId(value); return *this;} /** *

The ID of the transit gateway multicast domain.

*/ inline TransitGatewayMulticastDeregisteredGroupMembers& WithTransitGatewayMulticastDomainId(Aws::String&& value) { SetTransitGatewayMulticastDomainId(std::move(value)); return *this;} /** *

The ID of the transit gateway multicast domain.

*/ inline TransitGatewayMulticastDeregisteredGroupMembers& WithTransitGatewayMulticastDomainId(const char* value) { SetTransitGatewayMulticastDomainId(value); return *this;} /** *

The network interface IDs of the deregistered members.

*/ inline const Aws::Vector& GetDeregisteredNetworkInterfaceIds() const{ return m_deregisteredNetworkInterfaceIds; } /** *

The network interface IDs of the deregistered members.

*/ inline bool DeregisteredNetworkInterfaceIdsHasBeenSet() const { return m_deregisteredNetworkInterfaceIdsHasBeenSet; } /** *

The network interface IDs of the deregistered members.

*/ inline void SetDeregisteredNetworkInterfaceIds(const Aws::Vector& value) { m_deregisteredNetworkInterfaceIdsHasBeenSet = true; m_deregisteredNetworkInterfaceIds = value; } /** *

The network interface IDs of the deregistered members.

*/ inline void SetDeregisteredNetworkInterfaceIds(Aws::Vector&& value) { m_deregisteredNetworkInterfaceIdsHasBeenSet = true; m_deregisteredNetworkInterfaceIds = std::move(value); } /** *

The network interface IDs of the deregistered members.

*/ inline TransitGatewayMulticastDeregisteredGroupMembers& WithDeregisteredNetworkInterfaceIds(const Aws::Vector& value) { SetDeregisteredNetworkInterfaceIds(value); return *this;} /** *

The network interface IDs of the deregistered members.

*/ inline TransitGatewayMulticastDeregisteredGroupMembers& WithDeregisteredNetworkInterfaceIds(Aws::Vector&& value) { SetDeregisteredNetworkInterfaceIds(std::move(value)); return *this;} /** *

The network interface IDs of the deregistered members.

*/ inline TransitGatewayMulticastDeregisteredGroupMembers& AddDeregisteredNetworkInterfaceIds(const Aws::String& value) { m_deregisteredNetworkInterfaceIdsHasBeenSet = true; m_deregisteredNetworkInterfaceIds.push_back(value); return *this; } /** *

The network interface IDs of the deregistered members.

*/ inline TransitGatewayMulticastDeregisteredGroupMembers& AddDeregisteredNetworkInterfaceIds(Aws::String&& value) { m_deregisteredNetworkInterfaceIdsHasBeenSet = true; m_deregisteredNetworkInterfaceIds.push_back(std::move(value)); return *this; } /** *

The network interface IDs of the deregistered members.

*/ inline TransitGatewayMulticastDeregisteredGroupMembers& AddDeregisteredNetworkInterfaceIds(const char* value) { m_deregisteredNetworkInterfaceIdsHasBeenSet = true; m_deregisteredNetworkInterfaceIds.push_back(value); return *this; } /** *

The IP address assigned to the transit gateway multicast group.

*/ inline const Aws::String& GetGroupIpAddress() const{ return m_groupIpAddress; } /** *

The IP address assigned to the transit gateway multicast group.

*/ inline bool GroupIpAddressHasBeenSet() const { return m_groupIpAddressHasBeenSet; } /** *

The IP address assigned to the transit gateway multicast group.

*/ inline void SetGroupIpAddress(const Aws::String& value) { m_groupIpAddressHasBeenSet = true; m_groupIpAddress = value; } /** *

The IP address assigned to the transit gateway multicast group.

*/ inline void SetGroupIpAddress(Aws::String&& value) { m_groupIpAddressHasBeenSet = true; m_groupIpAddress = std::move(value); } /** *

The IP address assigned to the transit gateway multicast group.

*/ inline void SetGroupIpAddress(const char* value) { m_groupIpAddressHasBeenSet = true; m_groupIpAddress.assign(value); } /** *

The IP address assigned to the transit gateway multicast group.

*/ inline TransitGatewayMulticastDeregisteredGroupMembers& WithGroupIpAddress(const Aws::String& value) { SetGroupIpAddress(value); return *this;} /** *

The IP address assigned to the transit gateway multicast group.

*/ inline TransitGatewayMulticastDeregisteredGroupMembers& WithGroupIpAddress(Aws::String&& value) { SetGroupIpAddress(std::move(value)); return *this;} /** *

The IP address assigned to the transit gateway multicast group.

*/ inline TransitGatewayMulticastDeregisteredGroupMembers& WithGroupIpAddress(const char* value) { SetGroupIpAddress(value); return *this;} private: Aws::String m_transitGatewayMulticastDomainId; bool m_transitGatewayMulticastDomainIdHasBeenSet = false; Aws::Vector m_deregisteredNetworkInterfaceIds; bool m_deregisteredNetworkInterfaceIdsHasBeenSet = false; Aws::String m_groupIpAddress; bool m_groupIpAddressHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws