AWS SDK for C++  1.9.68
AWS SDK for C++
AcceptTransitGatewayMulticastDomainAssociationsRequest.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 "AcceptTransitGatewayMulticastDomainAssociations"; }
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 AcceptTransitGatewayMulticastDomainAssociationsRequest& WithTransitGatewayMulticastDomainId(const Aws::String& value) { SetTransitGatewayMulticastDomainId(value); return *this;}
69 
73  inline AcceptTransitGatewayMulticastDomainAssociationsRequest& WithTransitGatewayMulticastDomainId(Aws::String&& value) { SetTransitGatewayMulticastDomainId(std::move(value)); return *this;}
74 
78  inline AcceptTransitGatewayMulticastDomainAssociationsRequest& 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 AcceptTransitGatewayMulticastDomainAssociationsRequest& WithTransitGatewayAttachmentId(const Aws::String& value) { SetTransitGatewayAttachmentId(value); return *this;}
110 
114  inline AcceptTransitGatewayMulticastDomainAssociationsRequest& WithTransitGatewayAttachmentId(Aws::String&& value) { SetTransitGatewayAttachmentId(std::move(value)); return *this;}
115 
119  inline AcceptTransitGatewayMulticastDomainAssociationsRequest& WithTransitGatewayAttachmentId(const char* value) { SetTransitGatewayAttachmentId(value); return *this;}
120 
121 
126  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
127 
132  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
133 
138  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
139 
144  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
145 
150  inline AcceptTransitGatewayMulticastDomainAssociationsRequest& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
151 
156  inline AcceptTransitGatewayMulticastDomainAssociationsRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
157 
162  inline AcceptTransitGatewayMulticastDomainAssociationsRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
163 
168  inline AcceptTransitGatewayMulticastDomainAssociationsRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
169 
174  inline AcceptTransitGatewayMulticastDomainAssociationsRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
175 
176 
183  inline bool GetDryRun() const{ return m_dryRun; }
184 
191  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
192 
199  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
200 
207  inline AcceptTransitGatewayMulticastDomainAssociationsRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
208 
209  private:
210 
211  Aws::String m_transitGatewayMulticastDomainId;
212  bool m_transitGatewayMulticastDomainIdHasBeenSet;
213 
214  Aws::String m_transitGatewayAttachmentId;
215  bool m_transitGatewayAttachmentIdHasBeenSet;
216 
217  Aws::Vector<Aws::String> m_subnetIds;
218  bool m_subnetIdsHasBeenSet;
219 
220  bool m_dryRun;
221  bool m_dryRunHasBeenSet;
222  };
223 
224 } // namespace Model
225 } // namespace EC2
226 } // namespace Aws
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::AddSubnetIds
AcceptTransitGatewayMulticastDomainAssociationsRequest & AddSubnetIds(Aws::String &&value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:168
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:23
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::WithTransitGatewayMulticastDomainId
AcceptTransitGatewayMulticastDomainAssociationsRequest & WithTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:73
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:144
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::TransitGatewayMulticastDomainIdHasBeenSet
bool TransitGatewayMulticastDomainIdHasBeenSet() const
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:48
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::WithSubnetIds
AcceptTransitGatewayMulticastDomainAssociationsRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:156
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::AddSubnetIds
AcceptTransitGatewayMulticastDomainAssociationsRequest & AddSubnetIds(const Aws::String &value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:162
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::WithTransitGatewayAttachmentId
AcceptTransitGatewayMulticastDomainAssociationsRequest & WithTransitGatewayAttachmentId(Aws::String &&value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:114
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::TransitGatewayAttachmentIdHasBeenSet
bool TransitGatewayAttachmentIdHasBeenSet() const
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:89
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::WithTransitGatewayMulticastDomainId
AcceptTransitGatewayMulticastDomainAssociationsRequest & WithTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:68
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::SetDryRun
void SetDryRun(bool value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:199
AWSVector.h
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::WithTransitGatewayMulticastDomainId
AcceptTransitGatewayMulticastDomainAssociationsRequest & WithTransitGatewayMulticastDomainId(const char *value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:78
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const char *value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:63
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::WithTransitGatewayAttachmentId
AcceptTransitGatewayMulticastDomainAssociationsRequest & WithTransitGatewayAttachmentId(const char *value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:119
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:31
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::WithSubnetIds
AcceptTransitGatewayMulticastDomainAssociationsRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:150
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:132
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:191
EC2Request.h
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:58
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:53
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::AcceptTransitGatewayMulticastDomainAssociationsRequest
AcceptTransitGatewayMulticastDomainAssociationsRequest()
AWSString.h
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(Aws::String &&value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:99
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:126
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:138
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::GetDryRun
bool GetDryRun() const
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:183
Aws
Definition: AccessManagementClient.h:15
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::AcceptTransitGatewayMulticastDomainAssociationsRequest::WithDryRun
AcceptTransitGatewayMulticastDomainAssociationsRequest & WithDryRun(bool value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:207
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::WithTransitGatewayAttachmentId
AcceptTransitGatewayMulticastDomainAssociationsRequest & WithTransitGatewayAttachmentId(const Aws::String &value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:109
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::GetTransitGatewayAttachmentId
const Aws::String & GetTransitGatewayAttachmentId() const
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:84
EC2_EXPORTS.h
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(const char *value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:104
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::GetTransitGatewayMulticastDomainId
const Aws::String & GetTransitGatewayMulticastDomainId() const
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:43
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::AddSubnetIds
AcceptTransitGatewayMulticastDomainAssociationsRequest & AddSubnetIds(const char *value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:174
Aws::EC2::Model::AcceptTransitGatewayMulticastDomainAssociationsRequest::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(const Aws::String &value)
Definition: AcceptTransitGatewayMulticastDomainAssociationsRequest.h:94