AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransitGatewayMulticastRegisteredGroupSources.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace EC2
23{
24namespace Model
25{
26
34 {
35 public:
39
40 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetTransitGatewayMulticastDomainId() const{ return m_transitGatewayMulticastDomainId; }
49 inline bool TransitGatewayMulticastDomainIdHasBeenSet() const { return m_transitGatewayMulticastDomainIdHasBeenSet; }
50 inline void SetTransitGatewayMulticastDomainId(const Aws::String& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = value; }
51 inline void SetTransitGatewayMulticastDomainId(Aws::String&& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = std::move(value); }
52 inline void SetTransitGatewayMulticastDomainId(const char* value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId.assign(value); }
57
59
63 inline const Aws::Vector<Aws::String>& GetRegisteredNetworkInterfaceIds() const{ return m_registeredNetworkInterfaceIds; }
64 inline bool RegisteredNetworkInterfaceIdsHasBeenSet() const { return m_registeredNetworkInterfaceIdsHasBeenSet; }
65 inline void SetRegisteredNetworkInterfaceIds(const Aws::Vector<Aws::String>& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds = value; }
66 inline void SetRegisteredNetworkInterfaceIds(Aws::Vector<Aws::String>&& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds = std::move(value); }
69 inline TransitGatewayMulticastRegisteredGroupSources& AddRegisteredNetworkInterfaceIds(const Aws::String& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds.push_back(value); return *this; }
70 inline TransitGatewayMulticastRegisteredGroupSources& AddRegisteredNetworkInterfaceIds(Aws::String&& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds.push_back(std::move(value)); return *this; }
71 inline TransitGatewayMulticastRegisteredGroupSources& AddRegisteredNetworkInterfaceIds(const char* value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds.push_back(value); return *this; }
73
75
78 inline const Aws::String& GetGroupIpAddress() const{ return m_groupIpAddress; }
79 inline bool GroupIpAddressHasBeenSet() const { return m_groupIpAddressHasBeenSet; }
80 inline void SetGroupIpAddress(const Aws::String& value) { m_groupIpAddressHasBeenSet = true; m_groupIpAddress = value; }
81 inline void SetGroupIpAddress(Aws::String&& value) { m_groupIpAddressHasBeenSet = true; m_groupIpAddress = std::move(value); }
82 inline void SetGroupIpAddress(const char* value) { m_groupIpAddressHasBeenSet = true; m_groupIpAddress.assign(value); }
87 private:
88
89 Aws::String m_transitGatewayMulticastDomainId;
90 bool m_transitGatewayMulticastDomainIdHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_registeredNetworkInterfaceIds;
93 bool m_registeredNetworkInterfaceIdsHasBeenSet = false;
94
95 Aws::String m_groupIpAddress;
96 bool m_groupIpAddressHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace EC2
101} // namespace Aws
TransitGatewayMulticastRegisteredGroupSources & WithGroupIpAddress(const Aws::String &value)
TransitGatewayMulticastRegisteredGroupSources & AddRegisteredNetworkInterfaceIds(Aws::String &&value)
AWS_EC2_API TransitGatewayMulticastRegisteredGroupSources(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayMulticastRegisteredGroupSources & WithTransitGatewayMulticastDomainId(Aws::String &&value)
TransitGatewayMulticastRegisteredGroupSources & AddRegisteredNetworkInterfaceIds(const char *value)
AWS_EC2_API TransitGatewayMulticastRegisteredGroupSources & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayMulticastRegisteredGroupSources & WithTransitGatewayMulticastDomainId(const char *value)
TransitGatewayMulticastRegisteredGroupSources & WithRegisteredNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
TransitGatewayMulticastRegisteredGroupSources & WithTransitGatewayMulticastDomainId(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TransitGatewayMulticastRegisteredGroupSources & WithGroupIpAddress(const char *value)
TransitGatewayMulticastRegisteredGroupSources & WithGroupIpAddress(Aws::String &&value)
TransitGatewayMulticastRegisteredGroupSources & WithRegisteredNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
TransitGatewayMulticastRegisteredGroupSources & AddRegisteredNetworkInterfaceIds(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream