AWS SDK for C++  1.9.71
AWS SDK for C++
AssociateTransitGatewayMulticastDomainRequest.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 "AssociateTransitGatewayMulticastDomain"; }
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 AssociateTransitGatewayMulticastDomainRequest& WithTransitGatewayMulticastDomainId(const Aws::String& value) { SetTransitGatewayMulticastDomainId(value); return *this;}
69 
73  inline AssociateTransitGatewayMulticastDomainRequest& WithTransitGatewayMulticastDomainId(Aws::String&& value) { SetTransitGatewayMulticastDomainId(std::move(value)); return *this;}
74 
78  inline AssociateTransitGatewayMulticastDomainRequest& WithTransitGatewayMulticastDomainId(const char* value) { SetTransitGatewayMulticastDomainId(value); return *this;}
79 
80 
85  inline const Aws::String& GetTransitGatewayAttachmentId() const{ return m_transitGatewayAttachmentId; }
86 
91  inline bool TransitGatewayAttachmentIdHasBeenSet() const { return m_transitGatewayAttachmentIdHasBeenSet; }
92 
97  inline void SetTransitGatewayAttachmentId(const Aws::String& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = value; }
98 
103  inline void SetTransitGatewayAttachmentId(Aws::String&& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = std::move(value); }
104 
109  inline void SetTransitGatewayAttachmentId(const char* value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId.assign(value); }
110 
115  inline AssociateTransitGatewayMulticastDomainRequest& WithTransitGatewayAttachmentId(const Aws::String& value) { SetTransitGatewayAttachmentId(value); return *this;}
116 
121  inline AssociateTransitGatewayMulticastDomainRequest& WithTransitGatewayAttachmentId(Aws::String&& value) { SetTransitGatewayAttachmentId(std::move(value)); return *this;}
122 
127  inline AssociateTransitGatewayMulticastDomainRequest& WithTransitGatewayAttachmentId(const char* value) { SetTransitGatewayAttachmentId(value); return *this;}
128 
129 
134  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
135 
140  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
141 
146  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
147 
152  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
153 
158  inline AssociateTransitGatewayMulticastDomainRequest& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
159 
164  inline AssociateTransitGatewayMulticastDomainRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
165 
170  inline AssociateTransitGatewayMulticastDomainRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
171 
176  inline AssociateTransitGatewayMulticastDomainRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
177 
182  inline AssociateTransitGatewayMulticastDomainRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
183 
184 
191  inline bool GetDryRun() const{ return m_dryRun; }
192 
199  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
200 
207  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
208 
215  inline AssociateTransitGatewayMulticastDomainRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
216 
217  private:
218 
219  Aws::String m_transitGatewayMulticastDomainId;
220  bool m_transitGatewayMulticastDomainIdHasBeenSet;
221 
222  Aws::String m_transitGatewayAttachmentId;
223  bool m_transitGatewayAttachmentIdHasBeenSet;
224 
225  Aws::Vector<Aws::String> m_subnetIds;
226  bool m_subnetIdsHasBeenSet;
227 
228  bool m_dryRun;
229  bool m_dryRunHasBeenSet;
230  };
231 
232 } // namespace Model
233 } // namespace EC2
234 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(Aws::String &&value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:103
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::AddSubnetIds
AssociateTransitGatewayMulticastDomainRequest & AddSubnetIds(Aws::String &&value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:176
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:146
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:53
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::GetTransitGatewayMulticastDomainId
const Aws::String & GetTransitGatewayMulticastDomainId() const
Definition: AssociateTransitGatewayMulticastDomainRequest.h:43
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(const char *value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:109
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: AssociateTransitGatewayMulticastDomainRequest.h:140
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::WithDryRun
AssociateTransitGatewayMulticastDomainRequest & WithDryRun(bool value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:215
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest
Definition: AssociateTransitGatewayMulticastDomainRequest.h:23
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::WithTransitGatewayMulticastDomainId
AssociateTransitGatewayMulticastDomainRequest & WithTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:73
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::TransitGatewayAttachmentIdHasBeenSet
bool TransitGatewayAttachmentIdHasBeenSet() const
Definition: AssociateTransitGatewayMulticastDomainRequest.h:91
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::WithTransitGatewayMulticastDomainId
AssociateTransitGatewayMulticastDomainRequest & WithTransitGatewayMulticastDomainId(const char *value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:78
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::WithTransitGatewayAttachmentId
AssociateTransitGatewayMulticastDomainRequest & WithTransitGatewayAttachmentId(const char *value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:127
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: AssociateTransitGatewayMulticastDomainRequest.h:134
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::WithTransitGatewayMulticastDomainId
AssociateTransitGatewayMulticastDomainRequest & WithTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:68
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::GetTransitGatewayAttachmentId
const Aws::String & GetTransitGatewayAttachmentId() const
Definition: AssociateTransitGatewayMulticastDomainRequest.h:85
EC2Request.h
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::GetDryRun
bool GetDryRun() const
Definition: AssociateTransitGatewayMulticastDomainRequest.h:191
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWSString.h
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::WithSubnetIds
AssociateTransitGatewayMulticastDomainRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:164
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::WithSubnetIds
AssociateTransitGatewayMulticastDomainRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:158
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::AddSubnetIds
AssociateTransitGatewayMulticastDomainRequest & AddSubnetIds(const Aws::String &value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:170
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AssociateTransitGatewayMulticastDomainRequest.h:31
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: AssociateTransitGatewayMulticastDomainRequest.h:199
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::WithTransitGatewayAttachmentId
AssociateTransitGatewayMulticastDomainRequest & WithTransitGatewayAttachmentId(const Aws::String &value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:115
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::AddSubnetIds
AssociateTransitGatewayMulticastDomainRequest & AddSubnetIds(const char *value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:182
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::AssociateTransitGatewayMulticastDomainRequest
AssociateTransitGatewayMulticastDomainRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:152
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::TransitGatewayMulticastDomainIdHasBeenSet
bool TransitGatewayMulticastDomainIdHasBeenSet() const
Definition: AssociateTransitGatewayMulticastDomainRequest.h:48
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(const Aws::String &value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:97
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const char *value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:63
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::WithTransitGatewayAttachmentId
AssociateTransitGatewayMulticastDomainRequest & WithTransitGatewayAttachmentId(Aws::String &&value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:121
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:58
Aws::EC2::Model::AssociateTransitGatewayMulticastDomainRequest::SetDryRun
void SetDryRun(bool value)
Definition: AssociateTransitGatewayMulticastDomainRequest.h:207
EC2_EXPORTS.h