/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the ec2-2016-11-15.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.EC2.Model { /// /// Container for the parameters to the RegisterTransitGatewayMulticastGroupSources operation. /// Registers sources (network interfaces) with the specified transit gateway multicast /// group. /// /// /// /// A multicast source is a network interface attached to a supported instance that sends /// multicast traffic. For information about supported instances, see Multicast /// Considerations in Amazon VPC Transit Gateways. /// /// /// /// After you add the source, use SearchTransitGatewayMulticastGroups /// to verify that the source was added to the multicast group. /// /// public partial class RegisterTransitGatewayMulticastGroupSourcesRequest : AmazonEC2Request { private string _groupIpAddress; private List _networkInterfaceIds = new List(); private string _transitGatewayMulticastDomainId; /// /// Gets and sets the property GroupIpAddress. /// /// The IP address assigned to the transit gateway multicast group. /// /// public string GroupIpAddress { get { return this._groupIpAddress; } set { this._groupIpAddress = value; } } // Check to see if GroupIpAddress property is set internal bool IsSetGroupIpAddress() { return this._groupIpAddress != null; } /// /// Gets and sets the property NetworkInterfaceIds. /// /// The group sources' network interface IDs to register with the transit gateway multicast /// group. /// /// [AWSProperty(Required=true)] public List NetworkInterfaceIds { get { return this._networkInterfaceIds; } set { this._networkInterfaceIds = value; } } // Check to see if NetworkInterfaceIds property is set internal bool IsSetNetworkInterfaceIds() { return this._networkInterfaceIds != null && this._networkInterfaceIds.Count > 0; } /// /// Gets and sets the property TransitGatewayMulticastDomainId. /// /// The ID of the transit gateway multicast domain. /// /// [AWSProperty(Required=true)] public string TransitGatewayMulticastDomainId { get { return this._transitGatewayMulticastDomainId; } set { this._transitGatewayMulticastDomainId = value; } } // Check to see if TransitGatewayMulticastDomainId property is set internal bool IsSetTransitGatewayMulticastDomainId() { return this._transitGatewayMulticastDomainId != null; } } }