AWS SDK for C++  1.9.129
AWS SDK for C++
RegisterTransitGatewayMulticastGroupSourcesRequest.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 "RegisterTransitGatewayMulticastGroupSources"; }
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 RegisterTransitGatewayMulticastGroupSourcesRequest& WithTransitGatewayMulticastDomainId(const Aws::String& value) { SetTransitGatewayMulticastDomainId(value); return *this;}
69 
73  inline RegisterTransitGatewayMulticastGroupSourcesRequest& WithTransitGatewayMulticastDomainId(Aws::String&& value) { SetTransitGatewayMulticastDomainId(std::move(value)); return *this;}
74 
78  inline RegisterTransitGatewayMulticastGroupSourcesRequest& 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 RegisterTransitGatewayMulticastGroupSourcesRequest& WithGroupIpAddress(const Aws::String& value) { SetGroupIpAddress(value); return *this;}
110 
114  inline RegisterTransitGatewayMulticastGroupSourcesRequest& WithGroupIpAddress(Aws::String&& value) { SetGroupIpAddress(std::move(value)); return *this;}
115 
119  inline RegisterTransitGatewayMulticastGroupSourcesRequest& WithGroupIpAddress(const char* value) { SetGroupIpAddress(value); return *this;}
120 
121 
126  inline const Aws::Vector<Aws::String>& GetNetworkInterfaceIds() const{ return m_networkInterfaceIds; }
127 
132  inline bool NetworkInterfaceIdsHasBeenSet() const { return m_networkInterfaceIdsHasBeenSet; }
133 
138  inline void SetNetworkInterfaceIds(const Aws::Vector<Aws::String>& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds = value; }
139 
144  inline void SetNetworkInterfaceIds(Aws::Vector<Aws::String>&& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds = std::move(value); }
145 
150  inline RegisterTransitGatewayMulticastGroupSourcesRequest& WithNetworkInterfaceIds(const Aws::Vector<Aws::String>& value) { SetNetworkInterfaceIds(value); return *this;}
151 
156  inline RegisterTransitGatewayMulticastGroupSourcesRequest& WithNetworkInterfaceIds(Aws::Vector<Aws::String>&& value) { SetNetworkInterfaceIds(std::move(value)); return *this;}
157 
162  inline RegisterTransitGatewayMulticastGroupSourcesRequest& AddNetworkInterfaceIds(const Aws::String& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.push_back(value); return *this; }
163 
168  inline RegisterTransitGatewayMulticastGroupSourcesRequest& AddNetworkInterfaceIds(Aws::String&& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.push_back(std::move(value)); return *this; }
169 
174  inline RegisterTransitGatewayMulticastGroupSourcesRequest& AddNetworkInterfaceIds(const char* value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.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 RegisterTransitGatewayMulticastGroupSourcesRequest& 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_groupIpAddress;
215  bool m_groupIpAddressHasBeenSet;
216 
217  Aws::Vector<Aws::String> m_networkInterfaceIds;
218  bool m_networkInterfaceIdsHasBeenSet;
219 
220  bool m_dryRun;
221  bool m_dryRunHasBeenSet;
222  };
223 
224 } // namespace Model
225 } // namespace EC2
226 } // namespace Aws
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::GetGroupIpAddress
const Aws::String & GetGroupIpAddress() const
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:84
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::AddNetworkInterfaceIds
RegisterTransitGatewayMulticastGroupSourcesRequest & AddNetworkInterfaceIds(Aws::String &&value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:168
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::WithTransitGatewayMulticastDomainId
RegisterTransitGatewayMulticastGroupSourcesRequest & WithTransitGatewayMulticastDomainId(const char *value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:78
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::WithGroupIpAddress
RegisterTransitGatewayMulticastGroupSourcesRequest & WithGroupIpAddress(const char *value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:119
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::GetTransitGatewayMulticastDomainId
const Aws::String & GetTransitGatewayMulticastDomainId() const
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:43
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:31
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::GroupIpAddressHasBeenSet
bool GroupIpAddressHasBeenSet() const
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:89
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::SetNetworkInterfaceIds
void SetNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:138
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::GetDryRun
bool GetDryRun() const
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:183
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::SetGroupIpAddress
void SetGroupIpAddress(const char *value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:104
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::SetGroupIpAddress
void SetGroupIpAddress(Aws::String &&value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:99
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::AddNetworkInterfaceIds
RegisterTransitGatewayMulticastGroupSourcesRequest & AddNetworkInterfaceIds(const Aws::String &value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:162
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:191
AWSVector.h
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:23
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::GetNetworkInterfaceIds
const Aws::Vector< Aws::String > & GetNetworkInterfaceIds() const
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:126
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::WithGroupIpAddress
RegisterTransitGatewayMulticastGroupSourcesRequest & WithGroupIpAddress(Aws::String &&value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:114
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::WithTransitGatewayMulticastDomainId
RegisterTransitGatewayMulticastGroupSourcesRequest & WithTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:73
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const char *value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:63
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::TransitGatewayMulticastDomainIdHasBeenSet
bool TransitGatewayMulticastDomainIdHasBeenSet() const
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:48
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::WithDryRun
RegisterTransitGatewayMulticastGroupSourcesRequest & WithDryRun(bool value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:207
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::SetGroupIpAddress
void SetGroupIpAddress(const Aws::String &value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:94
EC2Request.h
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::AddNetworkInterfaceIds
RegisterTransitGatewayMulticastGroupSourcesRequest & AddNetworkInterfaceIds(const char *value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:174
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::WithGroupIpAddress
RegisterTransitGatewayMulticastGroupSourcesRequest & WithGroupIpAddress(const Aws::String &value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:109
AWSString.h
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::SetNetworkInterfaceIds
void SetNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:144
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::NetworkInterfaceIdsHasBeenSet
bool NetworkInterfaceIdsHasBeenSet() const
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:132
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::SetDryRun
void SetDryRun(bool value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:199
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::WithNetworkInterfaceIds
RegisterTransitGatewayMulticastGroupSourcesRequest & WithNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:156
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::WithTransitGatewayMulticastDomainId
RegisterTransitGatewayMulticastGroupSourcesRequest & WithTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:53
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
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::RegisterTransitGatewayMulticastGroupSourcesRequest::RegisterTransitGatewayMulticastGroupSourcesRequest
RegisterTransitGatewayMulticastGroupSourcesRequest()
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:58
EC2_EXPORTS.h
Aws::EC2::Model::RegisterTransitGatewayMulticastGroupSourcesRequest::WithNetworkInterfaceIds
RegisterTransitGatewayMulticastGroupSourcesRequest & WithNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
Definition: RegisterTransitGatewayMulticastGroupSourcesRequest.h:150