AWS SDK for C++  1.9.15
AWS SDK for C++
DeregisterTransitGatewayMulticastGroupSourcesRequest.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 "DeregisterTransitGatewayMulticastGroupSources"; }
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 DeregisterTransitGatewayMulticastGroupSourcesRequest& WithTransitGatewayMulticastDomainId(const Aws::String& value) { SetTransitGatewayMulticastDomainId(value); return *this;}
69 
73  inline DeregisterTransitGatewayMulticastGroupSourcesRequest& WithTransitGatewayMulticastDomainId(Aws::String&& value) { SetTransitGatewayMulticastDomainId(std::move(value)); return *this;}
74 
78  inline DeregisterTransitGatewayMulticastGroupSourcesRequest& WithTransitGatewayMulticastDomainId(const char* value) { SetTransitGatewayMulticastDomainId(value); return *this;}
79 
80 
84  inline const Aws::String& GetGroupIpAddress() const{ return m_groupIpAddress; }
85 
89  inline bool GroupIpAddressHasBeenSet() const { return m_groupIpAddressHasBeenSet; }
90 
94  inline void SetGroupIpAddress(const Aws::String& value) { m_groupIpAddressHasBeenSet = true; m_groupIpAddress = value; }
95 
99  inline void SetGroupIpAddress(Aws::String&& value) { m_groupIpAddressHasBeenSet = true; m_groupIpAddress = std::move(value); }
100 
104  inline void SetGroupIpAddress(const char* value) { m_groupIpAddressHasBeenSet = true; m_groupIpAddress.assign(value); }
105 
109  inline DeregisterTransitGatewayMulticastGroupSourcesRequest& WithGroupIpAddress(const Aws::String& value) { SetGroupIpAddress(value); return *this;}
110 
114  inline DeregisterTransitGatewayMulticastGroupSourcesRequest& WithGroupIpAddress(Aws::String&& value) { SetGroupIpAddress(std::move(value)); return *this;}
115 
119  inline DeregisterTransitGatewayMulticastGroupSourcesRequest& WithGroupIpAddress(const char* value) { SetGroupIpAddress(value); return *this;}
120 
121 
125  inline const Aws::Vector<Aws::String>& GetNetworkInterfaceIds() const{ return m_networkInterfaceIds; }
126 
130  inline bool NetworkInterfaceIdsHasBeenSet() const { return m_networkInterfaceIdsHasBeenSet; }
131 
135  inline void SetNetworkInterfaceIds(const Aws::Vector<Aws::String>& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds = value; }
136 
140  inline void SetNetworkInterfaceIds(Aws::Vector<Aws::String>&& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds = std::move(value); }
141 
145  inline DeregisterTransitGatewayMulticastGroupSourcesRequest& WithNetworkInterfaceIds(const Aws::Vector<Aws::String>& value) { SetNetworkInterfaceIds(value); return *this;}
146 
150  inline DeregisterTransitGatewayMulticastGroupSourcesRequest& WithNetworkInterfaceIds(Aws::Vector<Aws::String>&& value) { SetNetworkInterfaceIds(std::move(value)); return *this;}
151 
155  inline DeregisterTransitGatewayMulticastGroupSourcesRequest& AddNetworkInterfaceIds(const Aws::String& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.push_back(value); return *this; }
156 
160  inline DeregisterTransitGatewayMulticastGroupSourcesRequest& AddNetworkInterfaceIds(Aws::String&& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.push_back(std::move(value)); return *this; }
161 
165  inline DeregisterTransitGatewayMulticastGroupSourcesRequest& AddNetworkInterfaceIds(const char* value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.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 DeregisterTransitGatewayMulticastGroupSourcesRequest& 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_groupIpAddress;
206  bool m_groupIpAddressHasBeenSet;
207 
208  Aws::Vector<Aws::String> m_networkInterfaceIds;
209  bool m_networkInterfaceIdsHasBeenSet;
210 
211  bool m_dryRun;
212  bool m_dryRunHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace EC2
217 } // namespace Aws
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::SetDryRun
void SetDryRun(bool value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:190
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::WithTransitGatewayMulticastDomainId
DeregisterTransitGatewayMulticastGroupSourcesRequest & WithTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:73
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::WithGroupIpAddress
DeregisterTransitGatewayMulticastGroupSourcesRequest & WithGroupIpAddress(const Aws::String &value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:109
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::GetNetworkInterfaceIds
const Aws::Vector< Aws::String > & GetNetworkInterfaceIds() const
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:125
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::AddNetworkInterfaceIds
DeregisterTransitGatewayMulticastGroupSourcesRequest & AddNetworkInterfaceIds(const Aws::String &value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:155
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::AddNetworkInterfaceIds
DeregisterTransitGatewayMulticastGroupSourcesRequest & AddNetworkInterfaceIds(Aws::String &&value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:160
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::WithDryRun
DeregisterTransitGatewayMulticastGroupSourcesRequest & WithDryRun(bool value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:198
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::NetworkInterfaceIdsHasBeenSet
bool NetworkInterfaceIdsHasBeenSet() const
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:130
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::AddNetworkInterfaceIds
DeregisterTransitGatewayMulticastGroupSourcesRequest & AddNetworkInterfaceIds(const char *value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:165
AWSVector.h
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::WithGroupIpAddress
DeregisterTransitGatewayMulticastGroupSourcesRequest & WithGroupIpAddress(const char *value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:119
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::GetDryRun
bool GetDryRun() const
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:174
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::WithTransitGatewayMulticastDomainId
DeregisterTransitGatewayMulticastGroupSourcesRequest & WithTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:68
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::SetGroupIpAddress
void SetGroupIpAddress(const Aws::String &value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:94
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::GroupIpAddressHasBeenSet
bool GroupIpAddressHasBeenSet() const
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:89
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::GetTransitGatewayMulticastDomainId
const Aws::String & GetTransitGatewayMulticastDomainId() const
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:43
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::SetGroupIpAddress
void SetGroupIpAddress(Aws::String &&value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:99
EC2Request.h
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::WithNetworkInterfaceIds
DeregisterTransitGatewayMulticastGroupSourcesRequest & WithNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:145
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::WithGroupIpAddress
DeregisterTransitGatewayMulticastGroupSourcesRequest & WithGroupIpAddress(Aws::String &&value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:114
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::WithTransitGatewayMulticastDomainId
DeregisterTransitGatewayMulticastGroupSourcesRequest & WithTransitGatewayMulticastDomainId(const char *value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:78
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const char *value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:63
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::SetNetworkInterfaceIds
void SetNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:135
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:182
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::SetNetworkInterfaceIds
void SetNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:140
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::TransitGatewayMulticastDomainIdHasBeenSet
bool TransitGatewayMulticastDomainIdHasBeenSet() const
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:48
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:58
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::WithNetworkInterfaceIds
DeregisterTransitGatewayMulticastGroupSourcesRequest & WithNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:150
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::GetGroupIpAddress
const Aws::String & GetGroupIpAddress() const
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:84
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::DeregisterTransitGatewayMulticastGroupSourcesRequest
DeregisterTransitGatewayMulticastGroupSourcesRequest()
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::SetGroupIpAddress
void SetGroupIpAddress(const char *value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:104
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:31
EC2_EXPORTS.h
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:23
Aws::EC2::Model::DeregisterTransitGatewayMulticastGroupSourcesRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: DeregisterTransitGatewayMulticastGroupSourcesRequest.h:53