AWS SDK for C++  1.9.102
AWS SDK for C++
TransitGatewayMulticastRegisteredGroupSources.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace EC2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const Aws::String& GetTransitGatewayMulticastDomainId() const{ return m_transitGatewayMulticastDomainId; }
48 
52  inline bool TransitGatewayMulticastDomainIdHasBeenSet() const { return m_transitGatewayMulticastDomainIdHasBeenSet; }
53 
57  inline void SetTransitGatewayMulticastDomainId(const Aws::String& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = value; }
58 
62  inline void SetTransitGatewayMulticastDomainId(Aws::String&& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = std::move(value); }
63 
67  inline void SetTransitGatewayMulticastDomainId(const char* value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId.assign(value); }
68 
72  inline TransitGatewayMulticastRegisteredGroupSources& WithTransitGatewayMulticastDomainId(const Aws::String& value) { SetTransitGatewayMulticastDomainId(value); return *this;}
73 
77  inline TransitGatewayMulticastRegisteredGroupSources& WithTransitGatewayMulticastDomainId(Aws::String&& value) { SetTransitGatewayMulticastDomainId(std::move(value)); return *this;}
78 
82  inline TransitGatewayMulticastRegisteredGroupSources& WithTransitGatewayMulticastDomainId(const char* value) { SetTransitGatewayMulticastDomainId(value); return *this;}
83 
84 
89  inline const Aws::Vector<Aws::String>& GetRegisteredNetworkInterfaceIds() const{ return m_registeredNetworkInterfaceIds; }
90 
95  inline bool RegisteredNetworkInterfaceIdsHasBeenSet() const { return m_registeredNetworkInterfaceIdsHasBeenSet; }
96 
101  inline void SetRegisteredNetworkInterfaceIds(const Aws::Vector<Aws::String>& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds = value; }
102 
107  inline void SetRegisteredNetworkInterfaceIds(Aws::Vector<Aws::String>&& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds = std::move(value); }
108 
113  inline TransitGatewayMulticastRegisteredGroupSources& WithRegisteredNetworkInterfaceIds(const Aws::Vector<Aws::String>& value) { SetRegisteredNetworkInterfaceIds(value); return *this;}
114 
119  inline TransitGatewayMulticastRegisteredGroupSources& WithRegisteredNetworkInterfaceIds(Aws::Vector<Aws::String>&& value) { SetRegisteredNetworkInterfaceIds(std::move(value)); return *this;}
120 
125  inline TransitGatewayMulticastRegisteredGroupSources& AddRegisteredNetworkInterfaceIds(const Aws::String& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds.push_back(value); return *this; }
126 
131  inline TransitGatewayMulticastRegisteredGroupSources& AddRegisteredNetworkInterfaceIds(Aws::String&& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds.push_back(std::move(value)); return *this; }
132 
137  inline TransitGatewayMulticastRegisteredGroupSources& AddRegisteredNetworkInterfaceIds(const char* value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds.push_back(value); return *this; }
138 
139 
143  inline const Aws::String& GetGroupIpAddress() const{ return m_groupIpAddress; }
144 
148  inline bool GroupIpAddressHasBeenSet() const { return m_groupIpAddressHasBeenSet; }
149 
153  inline void SetGroupIpAddress(const Aws::String& value) { m_groupIpAddressHasBeenSet = true; m_groupIpAddress = value; }
154 
158  inline void SetGroupIpAddress(Aws::String&& value) { m_groupIpAddressHasBeenSet = true; m_groupIpAddress = std::move(value); }
159 
163  inline void SetGroupIpAddress(const char* value) { m_groupIpAddressHasBeenSet = true; m_groupIpAddress.assign(value); }
164 
168  inline TransitGatewayMulticastRegisteredGroupSources& WithGroupIpAddress(const Aws::String& value) { SetGroupIpAddress(value); return *this;}
169 
173  inline TransitGatewayMulticastRegisteredGroupSources& WithGroupIpAddress(Aws::String&& value) { SetGroupIpAddress(std::move(value)); return *this;}
174 
178  inline TransitGatewayMulticastRegisteredGroupSources& WithGroupIpAddress(const char* value) { SetGroupIpAddress(value); return *this;}
179 
180  private:
181 
182  Aws::String m_transitGatewayMulticastDomainId;
183  bool m_transitGatewayMulticastDomainIdHasBeenSet;
184 
185  Aws::Vector<Aws::String> m_registeredNetworkInterfaceIds;
186  bool m_registeredNetworkInterfaceIdsHasBeenSet;
187 
188  Aws::String m_groupIpAddress;
189  bool m_groupIpAddressHasBeenSet;
190  };
191 
192 } // namespace Model
193 } // namespace EC2
194 } // namespace Aws
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::RegisteredNetworkInterfaceIdsHasBeenSet
bool RegisteredNetworkInterfaceIdsHasBeenSet() const
Definition: TransitGatewayMulticastRegisteredGroupSources.h:95
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::GetTransitGatewayMulticastDomainId
const Aws::String & GetTransitGatewayMulticastDomainId() const
Definition: TransitGatewayMulticastRegisteredGroupSources.h:47
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::operator=
TransitGatewayMulticastRegisteredGroupSources & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources
Definition: TransitGatewayMulticastRegisteredGroupSources.h:34
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSStreamFwd.h
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::WithGroupIpAddress
TransitGatewayMulticastRegisteredGroupSources & WithGroupIpAddress(const char *value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:178
AWSVector.h
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::GetGroupIpAddress
const Aws::String & GetGroupIpAddress() const
Definition: TransitGatewayMulticastRegisteredGroupSources.h:143
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::WithRegisteredNetworkInterfaceIds
TransitGatewayMulticastRegisteredGroupSources & WithRegisteredNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:119
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::SetGroupIpAddress
void SetGroupIpAddress(const char *value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:163
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::GetRegisteredNetworkInterfaceIds
const Aws::Vector< Aws::String > & GetRegisteredNetworkInterfaceIds() const
Definition: TransitGatewayMulticastRegisteredGroupSources.h:89
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::AddRegisteredNetworkInterfaceIds
TransitGatewayMulticastRegisteredGroupSources & AddRegisteredNetworkInterfaceIds(const Aws::String &value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:125
AWSString.h
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::SetRegisteredNetworkInterfaceIds
void SetRegisteredNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:101
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::WithTransitGatewayMulticastDomainId
TransitGatewayMulticastRegisteredGroupSources & WithTransitGatewayMulticastDomainId(const char *value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:82
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::SetRegisteredNetworkInterfaceIds
void SetRegisteredNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:107
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::WithTransitGatewayMulticastDomainId
TransitGatewayMulticastRegisteredGroupSources & WithTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:72
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::TransitGatewayMulticastDomainIdHasBeenSet
bool TransitGatewayMulticastDomainIdHasBeenSet() const
Definition: TransitGatewayMulticastRegisteredGroupSources.h:52
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::AddRegisteredNetworkInterfaceIds
TransitGatewayMulticastRegisteredGroupSources & AddRegisteredNetworkInterfaceIds(Aws::String &&value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:131
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:57
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const char *value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:67
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:62
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::WithGroupIpAddress
TransitGatewayMulticastRegisteredGroupSources & WithGroupIpAddress(Aws::String &&value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:173
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::SetGroupIpAddress
void SetGroupIpAddress(const Aws::String &value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:153
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::TransitGatewayMulticastRegisteredGroupSources
TransitGatewayMulticastRegisteredGroupSources(const Aws::Utils::Xml::XmlNode &xmlNode)
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::GroupIpAddressHasBeenSet
bool GroupIpAddressHasBeenSet() const
Definition: TransitGatewayMulticastRegisteredGroupSources.h:148
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::AddRegisteredNetworkInterfaceIds
TransitGatewayMulticastRegisteredGroupSources & AddRegisteredNetworkInterfaceIds(const char *value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:137
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::WithGroupIpAddress
TransitGatewayMulticastRegisteredGroupSources & WithGroupIpAddress(const Aws::String &value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:168
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::TransitGatewayMulticastRegisteredGroupSources
TransitGatewayMulticastRegisteredGroupSources()
EC2_EXPORTS.h
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::WithTransitGatewayMulticastDomainId
TransitGatewayMulticastRegisteredGroupSources & WithTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:77
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::SetGroupIpAddress
void SetGroupIpAddress(Aws::String &&value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:158
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupSources::WithRegisteredNetworkInterfaceIds
TransitGatewayMulticastRegisteredGroupSources & WithRegisteredNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
Definition: TransitGatewayMulticastRegisteredGroupSources.h:113