AWS SDK for C++  1.9.66
AWS SDK for C++
TransitGatewayMulticastRegisteredGroupMembers.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 TransitGatewayMulticastRegisteredGroupMembers& WithTransitGatewayMulticastDomainId(const Aws::String& value) { SetTransitGatewayMulticastDomainId(value); return *this;}
73 
77  inline TransitGatewayMulticastRegisteredGroupMembers& WithTransitGatewayMulticastDomainId(Aws::String&& value) { SetTransitGatewayMulticastDomainId(std::move(value)); return *this;}
78 
82  inline TransitGatewayMulticastRegisteredGroupMembers& WithTransitGatewayMulticastDomainId(const char* value) { SetTransitGatewayMulticastDomainId(value); return *this;}
83 
84 
88  inline const Aws::Vector<Aws::String>& GetRegisteredNetworkInterfaceIds() const{ return m_registeredNetworkInterfaceIds; }
89 
93  inline bool RegisteredNetworkInterfaceIdsHasBeenSet() const { return m_registeredNetworkInterfaceIdsHasBeenSet; }
94 
98  inline void SetRegisteredNetworkInterfaceIds(const Aws::Vector<Aws::String>& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds = value; }
99 
103  inline void SetRegisteredNetworkInterfaceIds(Aws::Vector<Aws::String>&& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds = std::move(value); }
104 
108  inline TransitGatewayMulticastRegisteredGroupMembers& WithRegisteredNetworkInterfaceIds(const Aws::Vector<Aws::String>& value) { SetRegisteredNetworkInterfaceIds(value); return *this;}
109 
113  inline TransitGatewayMulticastRegisteredGroupMembers& WithRegisteredNetworkInterfaceIds(Aws::Vector<Aws::String>&& value) { SetRegisteredNetworkInterfaceIds(std::move(value)); return *this;}
114 
118  inline TransitGatewayMulticastRegisteredGroupMembers& AddRegisteredNetworkInterfaceIds(const Aws::String& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds.push_back(value); return *this; }
119 
123  inline TransitGatewayMulticastRegisteredGroupMembers& AddRegisteredNetworkInterfaceIds(Aws::String&& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds.push_back(std::move(value)); return *this; }
124 
128  inline TransitGatewayMulticastRegisteredGroupMembers& AddRegisteredNetworkInterfaceIds(const char* value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds.push_back(value); return *this; }
129 
130 
134  inline const Aws::String& GetGroupIpAddress() const{ return m_groupIpAddress; }
135 
139  inline bool GroupIpAddressHasBeenSet() const { return m_groupIpAddressHasBeenSet; }
140 
144  inline void SetGroupIpAddress(const Aws::String& value) { m_groupIpAddressHasBeenSet = true; m_groupIpAddress = value; }
145 
149  inline void SetGroupIpAddress(Aws::String&& value) { m_groupIpAddressHasBeenSet = true; m_groupIpAddress = std::move(value); }
150 
154  inline void SetGroupIpAddress(const char* value) { m_groupIpAddressHasBeenSet = true; m_groupIpAddress.assign(value); }
155 
159  inline TransitGatewayMulticastRegisteredGroupMembers& WithGroupIpAddress(const Aws::String& value) { SetGroupIpAddress(value); return *this;}
160 
164  inline TransitGatewayMulticastRegisteredGroupMembers& WithGroupIpAddress(Aws::String&& value) { SetGroupIpAddress(std::move(value)); return *this;}
165 
169  inline TransitGatewayMulticastRegisteredGroupMembers& WithGroupIpAddress(const char* value) { SetGroupIpAddress(value); return *this;}
170 
171  private:
172 
173  Aws::String m_transitGatewayMulticastDomainId;
174  bool m_transitGatewayMulticastDomainIdHasBeenSet;
175 
176  Aws::Vector<Aws::String> m_registeredNetworkInterfaceIds;
177  bool m_registeredNetworkInterfaceIdsHasBeenSet;
178 
179  Aws::String m_groupIpAddress;
180  bool m_groupIpAddressHasBeenSet;
181  };
182 
183 } // namespace Model
184 } // namespace EC2
185 } // namespace Aws
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::WithGroupIpAddress
TransitGatewayMulticastRegisteredGroupMembers & WithGroupIpAddress(const Aws::String &value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:159
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::AddRegisteredNetworkInterfaceIds
TransitGatewayMulticastRegisteredGroupMembers & AddRegisteredNetworkInterfaceIds(const Aws::String &value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:118
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::WithGroupIpAddress
TransitGatewayMulticastRegisteredGroupMembers & WithGroupIpAddress(const char *value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:169
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:62
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::RegisteredNetworkInterfaceIdsHasBeenSet
bool RegisteredNetworkInterfaceIdsHasBeenSet() const
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:93
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::WithTransitGatewayMulticastDomainId
TransitGatewayMulticastRegisteredGroupMembers & WithTransitGatewayMulticastDomainId(const char *value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:82
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::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::TransitGatewayMulticastRegisteredGroupMembers::WithGroupIpAddress
TransitGatewayMulticastRegisteredGroupMembers & WithGroupIpAddress(Aws::String &&value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:164
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::WithTransitGatewayMulticastDomainId
TransitGatewayMulticastRegisteredGroupMembers & WithTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:77
AWSVector.h
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::operator=
TransitGatewayMulticastRegisteredGroupMembers & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::SetRegisteredNetworkInterfaceIds
void SetRegisteredNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:103
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::TransitGatewayMulticastRegisteredGroupMembers
TransitGatewayMulticastRegisteredGroupMembers()
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::WithRegisteredNetworkInterfaceIds
TransitGatewayMulticastRegisteredGroupMembers & WithRegisteredNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:108
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::GroupIpAddressHasBeenSet
bool GroupIpAddressHasBeenSet() const
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:139
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:34
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:57
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::GetTransitGatewayMulticastDomainId
const Aws::String & GetTransitGatewayMulticastDomainId() const
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:47
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::AddRegisteredNetworkInterfaceIds
TransitGatewayMulticastRegisteredGroupMembers & AddRegisteredNetworkInterfaceIds(const char *value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:128
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::SetGroupIpAddress
void SetGroupIpAddress(Aws::String &&value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:149
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::SetGroupIpAddress
void SetGroupIpAddress(const char *value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:154
AWSString.h
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::SetRegisteredNetworkInterfaceIds
void SetRegisteredNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:98
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const char *value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:67
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::TransitGatewayMulticastRegisteredGroupMembers
TransitGatewayMulticastRegisteredGroupMembers(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::GetGroupIpAddress
const Aws::String & GetGroupIpAddress() const
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:134
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::GetRegisteredNetworkInterfaceIds
const Aws::Vector< Aws::String > & GetRegisteredNetworkInterfaceIds() const
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:88
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::WithRegisteredNetworkInterfaceIds
TransitGatewayMulticastRegisteredGroupMembers & WithRegisteredNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:113
EC2_EXPORTS.h
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::SetGroupIpAddress
void SetGroupIpAddress(const Aws::String &value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:144
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::AddRegisteredNetworkInterfaceIds
TransitGatewayMulticastRegisteredGroupMembers & AddRegisteredNetworkInterfaceIds(Aws::String &&value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:123
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::WithTransitGatewayMulticastDomainId
TransitGatewayMulticastRegisteredGroupMembers & WithTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:72
Aws::EC2::Model::TransitGatewayMulticastRegisteredGroupMembers::TransitGatewayMulticastDomainIdHasBeenSet
bool TransitGatewayMulticastDomainIdHasBeenSet() const
Definition: TransitGatewayMulticastRegisteredGroupMembers.h:52