AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransitGatewayMulticastDomainAssociations.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/ec2/model/TransitGatewayAttachmentResourceType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/SubnetAssociation.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
28
35 {
36 public:
40
41 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::String& GetTransitGatewayMulticastDomainId() const{ return m_transitGatewayMulticastDomainId; }
50 inline bool TransitGatewayMulticastDomainIdHasBeenSet() const { return m_transitGatewayMulticastDomainIdHasBeenSet; }
51 inline void SetTransitGatewayMulticastDomainId(const Aws::String& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = value; }
52 inline void SetTransitGatewayMulticastDomainId(Aws::String&& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = std::move(value); }
53 inline void SetTransitGatewayMulticastDomainId(const char* value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId.assign(value); }
58
60
63 inline const Aws::String& GetTransitGatewayAttachmentId() const{ return m_transitGatewayAttachmentId; }
64 inline bool TransitGatewayAttachmentIdHasBeenSet() const { return m_transitGatewayAttachmentIdHasBeenSet; }
65 inline void SetTransitGatewayAttachmentId(const Aws::String& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = value; }
66 inline void SetTransitGatewayAttachmentId(Aws::String&& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = std::move(value); }
67 inline void SetTransitGatewayAttachmentId(const char* value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId.assign(value); }
72
74
77 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
78 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
79 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
80 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
81 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
83 inline TransitGatewayMulticastDomainAssociations& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
84 inline TransitGatewayMulticastDomainAssociations& WithResourceId(const char* value) { SetResourceId(value); return *this;}
86
88
91 inline const TransitGatewayAttachmentResourceType& GetResourceType() const{ return m_resourceType; }
92 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
93 inline void SetResourceType(const TransitGatewayAttachmentResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
94 inline void SetResourceType(TransitGatewayAttachmentResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
98
100
103 inline const Aws::String& GetResourceOwnerId() const{ return m_resourceOwnerId; }
104 inline bool ResourceOwnerIdHasBeenSet() const { return m_resourceOwnerIdHasBeenSet; }
105 inline void SetResourceOwnerId(const Aws::String& value) { m_resourceOwnerIdHasBeenSet = true; m_resourceOwnerId = value; }
106 inline void SetResourceOwnerId(Aws::String&& value) { m_resourceOwnerIdHasBeenSet = true; m_resourceOwnerId = std::move(value); }
107 inline void SetResourceOwnerId(const char* value) { m_resourceOwnerIdHasBeenSet = true; m_resourceOwnerId.assign(value); }
110 inline TransitGatewayMulticastDomainAssociations& WithResourceOwnerId(const char* value) { SetResourceOwnerId(value); return *this;}
112
114
117 inline const Aws::Vector<SubnetAssociation>& GetSubnets() const{ return m_subnets; }
118 inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; }
119 inline void SetSubnets(const Aws::Vector<SubnetAssociation>& value) { m_subnetsHasBeenSet = true; m_subnets = value; }
120 inline void SetSubnets(Aws::Vector<SubnetAssociation>&& value) { m_subnetsHasBeenSet = true; m_subnets = std::move(value); }
123 inline TransitGatewayMulticastDomainAssociations& AddSubnets(const SubnetAssociation& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
124 inline TransitGatewayMulticastDomainAssociations& AddSubnets(SubnetAssociation&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; }
126 private:
127
128 Aws::String m_transitGatewayMulticastDomainId;
129 bool m_transitGatewayMulticastDomainIdHasBeenSet = false;
130
131 Aws::String m_transitGatewayAttachmentId;
132 bool m_transitGatewayAttachmentIdHasBeenSet = false;
133
134 Aws::String m_resourceId;
135 bool m_resourceIdHasBeenSet = false;
136
138 bool m_resourceTypeHasBeenSet = false;
139
140 Aws::String m_resourceOwnerId;
141 bool m_resourceOwnerIdHasBeenSet = false;
142
144 bool m_subnetsHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace EC2
149} // namespace Aws
TransitGatewayMulticastDomainAssociations & WithTransitGatewayAttachmentId(const char *value)
AWS_EC2_API TransitGatewayMulticastDomainAssociations & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetResourceType(const TransitGatewayAttachmentResourceType &value)
TransitGatewayMulticastDomainAssociations & WithSubnets(Aws::Vector< SubnetAssociation > &&value)
TransitGatewayMulticastDomainAssociations & WithTransitGatewayMulticastDomainId(Aws::String &&value)
TransitGatewayMulticastDomainAssociations & WithResourceId(Aws::String &&value)
AWS_EC2_API TransitGatewayMulticastDomainAssociations(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayMulticastDomainAssociations & WithResourceId(const Aws::String &value)
TransitGatewayMulticastDomainAssociations & WithResourceOwnerId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TransitGatewayMulticastDomainAssociations & AddSubnets(const SubnetAssociation &value)
TransitGatewayMulticastDomainAssociations & WithSubnets(const Aws::Vector< SubnetAssociation > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TransitGatewayMulticastDomainAssociations & AddSubnets(SubnetAssociation &&value)
TransitGatewayMulticastDomainAssociations & WithTransitGatewayAttachmentId(Aws::String &&value)
TransitGatewayMulticastDomainAssociations & WithResourceId(const char *value)
TransitGatewayMulticastDomainAssociations & WithResourceType(TransitGatewayAttachmentResourceType &&value)
TransitGatewayMulticastDomainAssociations & WithTransitGatewayMulticastDomainId(const char *value)
TransitGatewayMulticastDomainAssociations & WithResourceType(const TransitGatewayAttachmentResourceType &value)
TransitGatewayMulticastDomainAssociations & WithTransitGatewayMulticastDomainId(const Aws::String &value)
TransitGatewayMulticastDomainAssociations & WithResourceOwnerId(const char *value)
TransitGatewayMulticastDomainAssociations & WithTransitGatewayAttachmentId(const Aws::String &value)
TransitGatewayMulticastDomainAssociations & WithResourceOwnerId(const Aws::String &value)
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