AWS SDK for C++  1.9.67
AWS SDK for C++
DisassociateTransitGatewayMulticastDomainRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace EC2
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DisassociateTransitGatewayMulticastDomain"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
43  inline const Aws::String& GetTransitGatewayMulticastDomainId() const{ return m_transitGatewayMulticastDomainId; }
44 
48  inline bool TransitGatewayMulticastDomainIdHasBeenSet() const { return m_transitGatewayMulticastDomainIdHasBeenSet; }
49 
53  inline void SetTransitGatewayMulticastDomainId(const Aws::String& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = value; }
54 
58  inline void SetTransitGatewayMulticastDomainId(Aws::String&& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = std::move(value); }
59 
63  inline void SetTransitGatewayMulticastDomainId(const char* value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId.assign(value); }
64 
68  inline DisassociateTransitGatewayMulticastDomainRequest& WithTransitGatewayMulticastDomainId(const Aws::String& value) { SetTransitGatewayMulticastDomainId(value); return *this;}
69 
73  inline DisassociateTransitGatewayMulticastDomainRequest& WithTransitGatewayMulticastDomainId(Aws::String&& value) { SetTransitGatewayMulticastDomainId(std::move(value)); return *this;}
74 
78  inline DisassociateTransitGatewayMulticastDomainRequest& WithTransitGatewayMulticastDomainId(const char* value) { SetTransitGatewayMulticastDomainId(value); return *this;}
79 
80 
84  inline const Aws::String& GetTransitGatewayAttachmentId() const{ return m_transitGatewayAttachmentId; }
85 
89  inline bool TransitGatewayAttachmentIdHasBeenSet() const { return m_transitGatewayAttachmentIdHasBeenSet; }
90 
94  inline void SetTransitGatewayAttachmentId(const Aws::String& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = value; }
95 
99  inline void SetTransitGatewayAttachmentId(Aws::String&& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = std::move(value); }
100 
104  inline void SetTransitGatewayAttachmentId(const char* value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId.assign(value); }
105 
109  inline DisassociateTransitGatewayMulticastDomainRequest& WithTransitGatewayAttachmentId(const Aws::String& value) { SetTransitGatewayAttachmentId(value); return *this;}
110 
114  inline DisassociateTransitGatewayMulticastDomainRequest& WithTransitGatewayAttachmentId(Aws::String&& value) { SetTransitGatewayAttachmentId(std::move(value)); return *this;}
115 
119  inline DisassociateTransitGatewayMulticastDomainRequest& WithTransitGatewayAttachmentId(const char* value) { SetTransitGatewayAttachmentId(value); return *this;}
120 
121 
125  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
126 
130  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
131 
135  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
136 
140  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
141 
145  inline DisassociateTransitGatewayMulticastDomainRequest& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
146 
150  inline DisassociateTransitGatewayMulticastDomainRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
151 
155  inline DisassociateTransitGatewayMulticastDomainRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
156 
160  inline DisassociateTransitGatewayMulticastDomainRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
161 
165  inline DisassociateTransitGatewayMulticastDomainRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
166 
167 
174  inline bool GetDryRun() const{ return m_dryRun; }
175 
182  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
183 
190  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
191 
198  inline DisassociateTransitGatewayMulticastDomainRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
199 
200  private:
201 
202  Aws::String m_transitGatewayMulticastDomainId;
203  bool m_transitGatewayMulticastDomainIdHasBeenSet;
204 
205  Aws::String m_transitGatewayAttachmentId;
206  bool m_transitGatewayAttachmentIdHasBeenSet;
207 
208  Aws::Vector<Aws::String> m_subnetIds;
209  bool m_subnetIdsHasBeenSet;
210 
211  bool m_dryRun;
212  bool m_dryRunHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace EC2
217 } // namespace Aws
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::GetTransitGatewayMulticastDomainId
const Aws::String & GetTransitGatewayMulticastDomainId() const
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:43
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::AddSubnetIds
DisassociateTransitGatewayMulticastDomainRequest & AddSubnetIds(const Aws::String &value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:155
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::SetDryRun
void SetDryRun(bool value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:190
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::TransitGatewayMulticastDomainIdHasBeenSet
bool TransitGatewayMulticastDomainIdHasBeenSet() const
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:48
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:31
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::AddSubnetIds
DisassociateTransitGatewayMulticastDomainRequest & AddSubnetIds(Aws::String &&value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:160
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:140
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::AddSubnetIds
DisassociateTransitGatewayMulticastDomainRequest & AddSubnetIds(const char *value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:165
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:135
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::WithTransitGatewayAttachmentId
DisassociateTransitGatewayMulticastDomainRequest & WithTransitGatewayAttachmentId(const char *value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:119
AWSVector.h
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::WithTransitGatewayAttachmentId
DisassociateTransitGatewayMulticastDomainRequest & WithTransitGatewayAttachmentId(const Aws::String &value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:109
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::WithTransitGatewayMulticastDomainId
DisassociateTransitGatewayMulticastDomainRequest & WithTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:68
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::GetDryRun
bool GetDryRun() const
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:174
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:58
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:130
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::TransitGatewayAttachmentIdHasBeenSet
bool TransitGatewayAttachmentIdHasBeenSet() const
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:89
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const char *value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:63
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:182
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::WithTransitGatewayMulticastDomainId
DisassociateTransitGatewayMulticastDomainRequest & WithTransitGatewayMulticastDomainId(const char *value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:78
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(const char *value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:104
EC2Request.h
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:53
AWSString.h
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::WithTransitGatewayAttachmentId
DisassociateTransitGatewayMulticastDomainRequest & WithTransitGatewayAttachmentId(Aws::String &&value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:114
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:125
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::WithSubnetIds
DisassociateTransitGatewayMulticastDomainRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:145
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::GetTransitGatewayAttachmentId
const Aws::String & GetTransitGatewayAttachmentId() const
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:84
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::WithTransitGatewayMulticastDomainId
DisassociateTransitGatewayMulticastDomainRequest & WithTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:73
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:23
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::WithSubnetIds
DisassociateTransitGatewayMulticastDomainRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:150
EC2_EXPORTS.h
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(const Aws::String &value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:94
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(Aws::String &&value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:99
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::WithDryRun
DisassociateTransitGatewayMulticastDomainRequest & WithDryRun(bool value)
Definition: DisassociateTransitGatewayMulticastDomainRequest.h:198
Aws::EC2::Model::DisassociateTransitGatewayMulticastDomainRequest::DisassociateTransitGatewayMulticastDomainRequest
DisassociateTransitGatewayMulticastDomainRequest()