AWS SDK for C++  1.9.74
AWS SDK for C++
RejectTransitGatewayMulticastDomainAssociationsRequest.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 "RejectTransitGatewayMulticastDomainAssociations"; }
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 RejectTransitGatewayMulticastDomainAssociationsRequest& WithTransitGatewayMulticastDomainId(const Aws::String& value) { SetTransitGatewayMulticastDomainId(value); return *this;}
69 
73  inline RejectTransitGatewayMulticastDomainAssociationsRequest& WithTransitGatewayMulticastDomainId(Aws::String&& value) { SetTransitGatewayMulticastDomainId(std::move(value)); return *this;}
74 
78  inline RejectTransitGatewayMulticastDomainAssociationsRequest& 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 RejectTransitGatewayMulticastDomainAssociationsRequest& WithTransitGatewayAttachmentId(const Aws::String& value) { SetTransitGatewayAttachmentId(value); return *this;}
110 
114  inline RejectTransitGatewayMulticastDomainAssociationsRequest& WithTransitGatewayAttachmentId(Aws::String&& value) { SetTransitGatewayAttachmentId(std::move(value)); return *this;}
115 
119  inline RejectTransitGatewayMulticastDomainAssociationsRequest& 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 RejectTransitGatewayMulticastDomainAssociationsRequest& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
151 
156  inline RejectTransitGatewayMulticastDomainAssociationsRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
157 
162  inline RejectTransitGatewayMulticastDomainAssociationsRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
163 
168  inline RejectTransitGatewayMulticastDomainAssociationsRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
169 
174  inline RejectTransitGatewayMulticastDomainAssociationsRequest& 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 RejectTransitGatewayMulticastDomainAssociationsRequest& 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::RejectTransitGatewayMulticastDomainAssociationsRequest
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:23
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(Aws::String &&value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:99
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:144
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:138
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:132
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:58
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::GetTransitGatewayMulticastDomainId
const Aws::String & GetTransitGatewayMulticastDomainId() const
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:43
AWSVector.h
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(const Aws::String &value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:94
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::AddSubnetIds
RejectTransitGatewayMulticastDomainAssociationsRequest & AddSubnetIds(const Aws::String &value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:162
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(const char *value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:104
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::WithSubnetIds
RejectTransitGatewayMulticastDomainAssociationsRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:150
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:53
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::WithTransitGatewayMulticastDomainId
RejectTransitGatewayMulticastDomainAssociationsRequest & WithTransitGatewayMulticastDomainId(const char *value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:78
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::RejectTransitGatewayMulticastDomainAssociationsRequest
RejectTransitGatewayMulticastDomainAssociationsRequest()
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::WithTransitGatewayMulticastDomainId
RejectTransitGatewayMulticastDomainAssociationsRequest & WithTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:73
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::GetTransitGatewayAttachmentId
const Aws::String & GetTransitGatewayAttachmentId() const
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:84
EC2Request.h
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::TransitGatewayAttachmentIdHasBeenSet
bool TransitGatewayAttachmentIdHasBeenSet() const
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:89
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:126
AWSString.h
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:31
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::WithTransitGatewayMulticastDomainId
RejectTransitGatewayMulticastDomainAssociationsRequest & WithTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:68
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::SetDryRun
void SetDryRun(bool value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:199
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::WithDryRun
RejectTransitGatewayMulticastDomainAssociationsRequest & WithDryRun(bool value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:207
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::GetDryRun
bool GetDryRun() const
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:183
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:191
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::WithTransitGatewayAttachmentId
RejectTransitGatewayMulticastDomainAssociationsRequest & WithTransitGatewayAttachmentId(Aws::String &&value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:114
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::AddSubnetIds
RejectTransitGatewayMulticastDomainAssociationsRequest & AddSubnetIds(Aws::String &&value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:168
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const char *value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:63
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::WithTransitGatewayAttachmentId
RejectTransitGatewayMulticastDomainAssociationsRequest & WithTransitGatewayAttachmentId(const char *value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:119
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::AddSubnetIds
RejectTransitGatewayMulticastDomainAssociationsRequest & AddSubnetIds(const char *value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:174
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::RejectTransitGatewayMulticastDomainAssociationsRequest::WithSubnetIds
RejectTransitGatewayMulticastDomainAssociationsRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:156
EC2_EXPORTS.h
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::WithTransitGatewayAttachmentId
RejectTransitGatewayMulticastDomainAssociationsRequest & WithTransitGatewayAttachmentId(const Aws::String &value)
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:109
Aws::EC2::Model::RejectTransitGatewayMulticastDomainAssociationsRequest::TransitGatewayMulticastDomainIdHasBeenSet
bool TransitGatewayMulticastDomainIdHasBeenSet() const
Definition: RejectTransitGatewayMulticastDomainAssociationsRequest.h:48