/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { class RegisterTransitGatewayMulticastGroupSourcesResponse { public: AWS_EC2_API RegisterTransitGatewayMulticastGroupSourcesResponse(); AWS_EC2_API RegisterTransitGatewayMulticastGroupSourcesResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API RegisterTransitGatewayMulticastGroupSourcesResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the transit gateway multicast group sources.

*/ inline const TransitGatewayMulticastRegisteredGroupSources& GetRegisteredMulticastGroupSources() const{ return m_registeredMulticastGroupSources; } /** *

Information about the transit gateway multicast group sources.

*/ inline void SetRegisteredMulticastGroupSources(const TransitGatewayMulticastRegisteredGroupSources& value) { m_registeredMulticastGroupSources = value; } /** *

Information about the transit gateway multicast group sources.

*/ inline void SetRegisteredMulticastGroupSources(TransitGatewayMulticastRegisteredGroupSources&& value) { m_registeredMulticastGroupSources = std::move(value); } /** *

Information about the transit gateway multicast group sources.

*/ inline RegisterTransitGatewayMulticastGroupSourcesResponse& WithRegisteredMulticastGroupSources(const TransitGatewayMulticastRegisteredGroupSources& value) { SetRegisteredMulticastGroupSources(value); return *this;} /** *

Information about the transit gateway multicast group sources.

*/ inline RegisterTransitGatewayMulticastGroupSourcesResponse& WithRegisteredMulticastGroupSources(TransitGatewayMulticastRegisteredGroupSources&& value) { SetRegisteredMulticastGroupSources(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline RegisterTransitGatewayMulticastGroupSourcesResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline RegisterTransitGatewayMulticastGroupSourcesResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: TransitGatewayMulticastRegisteredGroupSources m_registeredMulticastGroupSources; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws