/** * 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 registered transit gateway multicast group * members.

See Also:

AWS * API Reference

*/ class TransitGatewayMulticastRegisteredGroupMembers { public: AWS_EC2_API TransitGatewayMulticastRegisteredGroupMembers(); AWS_EC2_API TransitGatewayMulticastRegisteredGroupMembers(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API TransitGatewayMulticastRegisteredGroupMembers& 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 TransitGatewayMulticastRegisteredGroupMembers& WithTransitGatewayMulticastDomainId(const Aws::String& value) { SetTransitGatewayMulticastDomainId(value); return *this;} /** *

The ID of the transit gateway multicast domain.

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

The ID of the transit gateway multicast domain.

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

The ID of the registered network interfaces.

*/ inline const Aws::Vector& GetRegisteredNetworkInterfaceIds() const{ return m_registeredNetworkInterfaceIds; } /** *

The ID of the registered network interfaces.

*/ inline bool RegisteredNetworkInterfaceIdsHasBeenSet() const { return m_registeredNetworkInterfaceIdsHasBeenSet; } /** *

The ID of the registered network interfaces.

*/ inline void SetRegisteredNetworkInterfaceIds(const Aws::Vector& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds = value; } /** *

The ID of the registered network interfaces.

*/ inline void SetRegisteredNetworkInterfaceIds(Aws::Vector&& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds = std::move(value); } /** *

The ID of the registered network interfaces.

*/ inline TransitGatewayMulticastRegisteredGroupMembers& WithRegisteredNetworkInterfaceIds(const Aws::Vector& value) { SetRegisteredNetworkInterfaceIds(value); return *this;} /** *

The ID of the registered network interfaces.

*/ inline TransitGatewayMulticastRegisteredGroupMembers& WithRegisteredNetworkInterfaceIds(Aws::Vector&& value) { SetRegisteredNetworkInterfaceIds(std::move(value)); return *this;} /** *

The ID of the registered network interfaces.

*/ inline TransitGatewayMulticastRegisteredGroupMembers& AddRegisteredNetworkInterfaceIds(const Aws::String& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds.push_back(value); return *this; } /** *

The ID of the registered network interfaces.

*/ inline TransitGatewayMulticastRegisteredGroupMembers& AddRegisteredNetworkInterfaceIds(Aws::String&& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds.push_back(std::move(value)); return *this; } /** *

The ID of the registered network interfaces.

*/ inline TransitGatewayMulticastRegisteredGroupMembers& AddRegisteredNetworkInterfaceIds(const char* value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds.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 TransitGatewayMulticastRegisteredGroupMembers& WithGroupIpAddress(const Aws::String& value) { SetGroupIpAddress(value); return *this;} /** *

The IP address assigned to the transit gateway multicast group.

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

The IP address assigned to the transit gateway multicast group.

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