AWS SDK for C++  1.9.66
AWS SDK for C++
TransitGatewayMulticastDomainAssociations.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlNode;
22 } // namespace Xml
23 } // namespace Utils
24 namespace EC2
25 {
26 namespace Model
27 {
28 
35  {
36  public:
40 
41  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42  void OutputToStream(Aws::OStream& oStream, const char* location) const;
43 
44 
48  inline const Aws::String& GetTransitGatewayMulticastDomainId() const{ return m_transitGatewayMulticastDomainId; }
49 
53  inline bool TransitGatewayMulticastDomainIdHasBeenSet() const { return m_transitGatewayMulticastDomainIdHasBeenSet; }
54 
58  inline void SetTransitGatewayMulticastDomainId(const Aws::String& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = value; }
59 
63  inline void SetTransitGatewayMulticastDomainId(Aws::String&& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = std::move(value); }
64 
68  inline void SetTransitGatewayMulticastDomainId(const char* value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId.assign(value); }
69 
73  inline TransitGatewayMulticastDomainAssociations& WithTransitGatewayMulticastDomainId(const Aws::String& value) { SetTransitGatewayMulticastDomainId(value); return *this;}
74 
78  inline TransitGatewayMulticastDomainAssociations& WithTransitGatewayMulticastDomainId(Aws::String&& value) { SetTransitGatewayMulticastDomainId(std::move(value)); return *this;}
79 
83  inline TransitGatewayMulticastDomainAssociations& WithTransitGatewayMulticastDomainId(const char* value) { SetTransitGatewayMulticastDomainId(value); return *this;}
84 
85 
89  inline const Aws::String& GetTransitGatewayAttachmentId() const{ return m_transitGatewayAttachmentId; }
90 
94  inline bool TransitGatewayAttachmentIdHasBeenSet() const { return m_transitGatewayAttachmentIdHasBeenSet; }
95 
99  inline void SetTransitGatewayAttachmentId(const Aws::String& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = value; }
100 
104  inline void SetTransitGatewayAttachmentId(Aws::String&& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = std::move(value); }
105 
109  inline void SetTransitGatewayAttachmentId(const char* value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId.assign(value); }
110 
114  inline TransitGatewayMulticastDomainAssociations& WithTransitGatewayAttachmentId(const Aws::String& value) { SetTransitGatewayAttachmentId(value); return *this;}
115 
119  inline TransitGatewayMulticastDomainAssociations& WithTransitGatewayAttachmentId(Aws::String&& value) { SetTransitGatewayAttachmentId(std::move(value)); return *this;}
120 
124  inline TransitGatewayMulticastDomainAssociations& WithTransitGatewayAttachmentId(const char* value) { SetTransitGatewayAttachmentId(value); return *this;}
125 
126 
130  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
131 
135  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
136 
140  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
141 
145  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
146 
150  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
151 
155  inline TransitGatewayMulticastDomainAssociations& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
156 
160  inline TransitGatewayMulticastDomainAssociations& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
161 
165  inline TransitGatewayMulticastDomainAssociations& WithResourceId(const char* value) { SetResourceId(value); return *this;}
166 
167 
171  inline const TransitGatewayAttachmentResourceType& GetResourceType() const{ return m_resourceType; }
172 
176  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
177 
181  inline void SetResourceType(const TransitGatewayAttachmentResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
182 
186  inline void SetResourceType(TransitGatewayAttachmentResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
187 
191  inline TransitGatewayMulticastDomainAssociations& WithResourceType(const TransitGatewayAttachmentResourceType& value) { SetResourceType(value); return *this;}
192 
196  inline TransitGatewayMulticastDomainAssociations& WithResourceType(TransitGatewayAttachmentResourceType&& value) { SetResourceType(std::move(value)); return *this;}
197 
198 
202  inline const Aws::String& GetResourceOwnerId() const{ return m_resourceOwnerId; }
203 
207  inline bool ResourceOwnerIdHasBeenSet() const { return m_resourceOwnerIdHasBeenSet; }
208 
212  inline void SetResourceOwnerId(const Aws::String& value) { m_resourceOwnerIdHasBeenSet = true; m_resourceOwnerId = value; }
213 
217  inline void SetResourceOwnerId(Aws::String&& value) { m_resourceOwnerIdHasBeenSet = true; m_resourceOwnerId = std::move(value); }
218 
222  inline void SetResourceOwnerId(const char* value) { m_resourceOwnerIdHasBeenSet = true; m_resourceOwnerId.assign(value); }
223 
227  inline TransitGatewayMulticastDomainAssociations& WithResourceOwnerId(const Aws::String& value) { SetResourceOwnerId(value); return *this;}
228 
232  inline TransitGatewayMulticastDomainAssociations& WithResourceOwnerId(Aws::String&& value) { SetResourceOwnerId(std::move(value)); return *this;}
233 
237  inline TransitGatewayMulticastDomainAssociations& WithResourceOwnerId(const char* value) { SetResourceOwnerId(value); return *this;}
238 
239 
243  inline const Aws::Vector<SubnetAssociation>& GetSubnets() const{ return m_subnets; }
244 
248  inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; }
249 
253  inline void SetSubnets(const Aws::Vector<SubnetAssociation>& value) { m_subnetsHasBeenSet = true; m_subnets = value; }
254 
258  inline void SetSubnets(Aws::Vector<SubnetAssociation>&& value) { m_subnetsHasBeenSet = true; m_subnets = std::move(value); }
259 
263  inline TransitGatewayMulticastDomainAssociations& WithSubnets(const Aws::Vector<SubnetAssociation>& value) { SetSubnets(value); return *this;}
264 
268  inline TransitGatewayMulticastDomainAssociations& WithSubnets(Aws::Vector<SubnetAssociation>&& value) { SetSubnets(std::move(value)); return *this;}
269 
273  inline TransitGatewayMulticastDomainAssociations& AddSubnets(const SubnetAssociation& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
274 
278  inline TransitGatewayMulticastDomainAssociations& AddSubnets(SubnetAssociation&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; }
279 
280  private:
281 
282  Aws::String m_transitGatewayMulticastDomainId;
283  bool m_transitGatewayMulticastDomainIdHasBeenSet;
284 
285  Aws::String m_transitGatewayAttachmentId;
286  bool m_transitGatewayAttachmentIdHasBeenSet;
287 
288  Aws::String m_resourceId;
289  bool m_resourceIdHasBeenSet;
290 
292  bool m_resourceTypeHasBeenSet;
293 
294  Aws::String m_resourceOwnerId;
295  bool m_resourceOwnerIdHasBeenSet;
296 
298  bool m_subnetsHasBeenSet;
299  };
300 
301 } // namespace Model
302 } // namespace EC2
303 } // namespace Aws
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::WithTransitGatewayAttachmentId
TransitGatewayMulticastDomainAssociations & WithTransitGatewayAttachmentId(Aws::String &&value)
Definition: TransitGatewayMulticastDomainAssociations.h:119
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::WithSubnets
TransitGatewayMulticastDomainAssociations & WithSubnets(Aws::Vector< SubnetAssociation > &&value)
Definition: TransitGatewayMulticastDomainAssociations.h:268
SubnetAssociation.h
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::TransitGatewayAttachmentIdHasBeenSet
bool TransitGatewayAttachmentIdHasBeenSet() const
Definition: TransitGatewayMulticastDomainAssociations.h:94
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: TransitGatewayMulticastDomainAssociations.h:63
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::SubnetsHasBeenSet
bool SubnetsHasBeenSet() const
Definition: TransitGatewayMulticastDomainAssociations.h:248
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::WithTransitGatewayAttachmentId
TransitGatewayMulticastDomainAssociations & WithTransitGatewayAttachmentId(const char *value)
Definition: TransitGatewayMulticastDomainAssociations.h:124
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::WithSubnets
TransitGatewayMulticastDomainAssociations & WithSubnets(const Aws::Vector< SubnetAssociation > &value)
Definition: TransitGatewayMulticastDomainAssociations.h:263
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::GetResourceOwnerId
const Aws::String & GetResourceOwnerId() const
Definition: TransitGatewayMulticastDomainAssociations.h:202
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::SetResourceType
void SetResourceType(const TransitGatewayAttachmentResourceType &value)
Definition: TransitGatewayMulticastDomainAssociations.h:181
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::SubnetAssociation
Definition: SubnetAssociation.h:34
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: TransitGatewayMulticastDomainAssociations.h:140
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::WithTransitGatewayAttachmentId
TransitGatewayMulticastDomainAssociations & WithTransitGatewayAttachmentId(const Aws::String &value)
Definition: TransitGatewayMulticastDomainAssociations.h:114
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::TransitGatewayMulticastDomainIdHasBeenSet
bool TransitGatewayMulticastDomainIdHasBeenSet() const
Definition: TransitGatewayMulticastDomainAssociations.h:53
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::SetSubnets
void SetSubnets(const Aws::Vector< SubnetAssociation > &value)
Definition: TransitGatewayMulticastDomainAssociations.h:253
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::GetTransitGatewayAttachmentId
const Aws::String & GetTransitGatewayAttachmentId() const
Definition: TransitGatewayMulticastDomainAssociations.h:89
AWSStreamFwd.h
Aws::EC2::Model::TransitGatewayAttachmentResourceType
TransitGatewayAttachmentResourceType
Definition: TransitGatewayAttachmentResourceType.h:17
AWSVector.h
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: TransitGatewayMulticastDomainAssociations.h:135
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::GetResourceId
const Aws::String & GetResourceId() const
Definition: TransitGatewayMulticastDomainAssociations.h:130
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::SetResourceOwnerId
void SetResourceOwnerId(const char *value)
Definition: TransitGatewayMulticastDomainAssociations.h:222
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::WithResourceId
TransitGatewayMulticastDomainAssociations & WithResourceId(Aws::String &&value)
Definition: TransitGatewayMulticastDomainAssociations.h:160
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::GetTransitGatewayMulticastDomainId
const Aws::String & GetTransitGatewayMulticastDomainId() const
Definition: TransitGatewayMulticastDomainAssociations.h:48
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::AddSubnets
TransitGatewayMulticastDomainAssociations & AddSubnets(SubnetAssociation &&value)
Definition: TransitGatewayMulticastDomainAssociations.h:278
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: TransitGatewayMulticastDomainAssociations.h:145
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(Aws::String &&value)
Definition: TransitGatewayMulticastDomainAssociations.h:104
TransitGatewayAttachmentResourceType.h
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::ResourceOwnerIdHasBeenSet
bool ResourceOwnerIdHasBeenSet() const
Definition: TransitGatewayMulticastDomainAssociations.h:207
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::WithResourceOwnerId
TransitGatewayMulticastDomainAssociations & WithResourceOwnerId(const char *value)
Definition: TransitGatewayMulticastDomainAssociations.h:237
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::WithResourceOwnerId
TransitGatewayMulticastDomainAssociations & WithResourceOwnerId(Aws::String &&value)
Definition: TransitGatewayMulticastDomainAssociations.h:232
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::WithResourceType
TransitGatewayMulticastDomainAssociations & WithResourceType(const TransitGatewayAttachmentResourceType &value)
Definition: TransitGatewayMulticastDomainAssociations.h:191
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(const Aws::String &value)
Definition: TransitGatewayMulticastDomainAssociations.h:99
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::SetSubnets
void SetSubnets(Aws::Vector< SubnetAssociation > &&value)
Definition: TransitGatewayMulticastDomainAssociations.h:258
AWSString.h
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: TransitGatewayMulticastDomainAssociations.h:176
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::TransitGatewayMulticastDomainAssociations
TransitGatewayMulticastDomainAssociations()
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::WithTransitGatewayMulticastDomainId
TransitGatewayMulticastDomainAssociations & WithTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: TransitGatewayMulticastDomainAssociations.h:73
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::WithResourceId
TransitGatewayMulticastDomainAssociations & WithResourceId(const Aws::String &value)
Definition: TransitGatewayMulticastDomainAssociations.h:155
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::SetResourceId
void SetResourceId(const char *value)
Definition: TransitGatewayMulticastDomainAssociations.h:150
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::WithResourceId
TransitGatewayMulticastDomainAssociations & WithResourceId(const char *value)
Definition: TransitGatewayMulticastDomainAssociations.h:165
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::AddSubnets
TransitGatewayMulticastDomainAssociations & AddSubnets(const SubnetAssociation &value)
Definition: TransitGatewayMulticastDomainAssociations.h:273
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::GetSubnets
const Aws::Vector< SubnetAssociation > & GetSubnets() const
Definition: TransitGatewayMulticastDomainAssociations.h:243
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const char *value)
Definition: TransitGatewayMulticastDomainAssociations.h:68
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::SetResourceOwnerId
void SetResourceOwnerId(Aws::String &&value)
Definition: TransitGatewayMulticastDomainAssociations.h:217
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::WithResourceType
TransitGatewayMulticastDomainAssociations & WithResourceType(TransitGatewayAttachmentResourceType &&value)
Definition: TransitGatewayMulticastDomainAssociations.h:196
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::SetResourceOwnerId
void SetResourceOwnerId(const Aws::String &value)
Definition: TransitGatewayMulticastDomainAssociations.h:212
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::WithTransitGatewayMulticastDomainId
TransitGatewayMulticastDomainAssociations & WithTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: TransitGatewayMulticastDomainAssociations.h:78
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::WithResourceOwnerId
TransitGatewayMulticastDomainAssociations & WithResourceOwnerId(const Aws::String &value)
Definition: TransitGatewayMulticastDomainAssociations.h:227
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::GetResourceType
const TransitGatewayAttachmentResourceType & GetResourceType() const
Definition: TransitGatewayMulticastDomainAssociations.h:171
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::WithTransitGatewayMulticastDomainId
TransitGatewayMulticastDomainAssociations & WithTransitGatewayMulticastDomainId(const char *value)
Definition: TransitGatewayMulticastDomainAssociations.h:83
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::TransitGatewayMulticastDomainAssociations
TransitGatewayMulticastDomainAssociations(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations
Definition: TransitGatewayMulticastDomainAssociations.h:35
EC2_EXPORTS.h
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::operator=
TransitGatewayMulticastDomainAssociations & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::SetResourceType
void SetResourceType(TransitGatewayAttachmentResourceType &&value)
Definition: TransitGatewayMulticastDomainAssociations.h:186
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: TransitGatewayMulticastDomainAssociations.h:58
Aws::EC2::Model::TransitGatewayMulticastDomainAssociations::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(const char *value)
Definition: TransitGatewayMulticastDomainAssociations.h:109