AWS SDK for C++  1.9.130
AWS SDK for C++
SearchTransitGatewayMulticastGroupsRequest.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 <aws/ec2/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace EC2
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "SearchTransitGatewayMulticastGroups"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
44  inline const Aws::String& GetTransitGatewayMulticastDomainId() const{ return m_transitGatewayMulticastDomainId; }
45 
49  inline bool TransitGatewayMulticastDomainIdHasBeenSet() const { return m_transitGatewayMulticastDomainIdHasBeenSet; }
50 
54  inline void SetTransitGatewayMulticastDomainId(const Aws::String& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = value; }
55 
59  inline void SetTransitGatewayMulticastDomainId(Aws::String&& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = std::move(value); }
60 
64  inline void SetTransitGatewayMulticastDomainId(const char* value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId.assign(value); }
65 
69  inline SearchTransitGatewayMulticastGroupsRequest& WithTransitGatewayMulticastDomainId(const Aws::String& value) { SetTransitGatewayMulticastDomainId(value); return *this;}
70 
74  inline SearchTransitGatewayMulticastGroupsRequest& WithTransitGatewayMulticastDomainId(Aws::String&& value) { SetTransitGatewayMulticastDomainId(std::move(value)); return *this;}
75 
79  inline SearchTransitGatewayMulticastGroupsRequest& WithTransitGatewayMulticastDomainId(const char* value) { SetTransitGatewayMulticastDomainId(value); return *this;}
80 
81 
100  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
101 
120  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
121 
140  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
141 
160  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
161 
180  inline SearchTransitGatewayMulticastGroupsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
181 
200  inline SearchTransitGatewayMulticastGroupsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
201 
220  inline SearchTransitGatewayMulticastGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
221 
240  inline SearchTransitGatewayMulticastGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
241 
242 
248  inline int GetMaxResults() const{ return m_maxResults; }
249 
255  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
256 
262  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
263 
269  inline SearchTransitGatewayMulticastGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
270 
271 
275  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
276 
280  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
281 
285  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
286 
290  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
291 
295  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
296 
300  inline SearchTransitGatewayMulticastGroupsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
301 
305  inline SearchTransitGatewayMulticastGroupsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
306 
310  inline SearchTransitGatewayMulticastGroupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
311 
312 
319  inline bool GetDryRun() const{ return m_dryRun; }
320 
327  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
328 
335  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
336 
343  inline SearchTransitGatewayMulticastGroupsRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
344 
345  private:
346 
347  Aws::String m_transitGatewayMulticastDomainId;
348  bool m_transitGatewayMulticastDomainIdHasBeenSet;
349 
350  Aws::Vector<Filter> m_filters;
351  bool m_filtersHasBeenSet;
352 
353  int m_maxResults;
354  bool m_maxResultsHasBeenSet;
355 
356  Aws::String m_nextToken;
357  bool m_nextTokenHasBeenSet;
358 
359  bool m_dryRun;
360  bool m_dryRunHasBeenSet;
361  };
362 
363 } // namespace Model
364 } // namespace EC2
365 } // namespace Aws
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:262
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:285
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::GetTransitGatewayMulticastDomainId
const Aws::String & GetTransitGatewayMulticastDomainId() const
Definition: SearchTransitGatewayMulticastGroupsRequest.h:44
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::WithNextToken
SearchTransitGatewayMulticastGroupsRequest & WithNextToken(Aws::String &&value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:305
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: SearchTransitGatewayMulticastGroupsRequest.h:327
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:54
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: SearchTransitGatewayMulticastGroupsRequest.h:255
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(const char *value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:64
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::SearchTransitGatewayMulticastGroupsRequest
SearchTransitGatewayMulticastGroupsRequest()
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::WithTransitGatewayMulticastDomainId
SearchTransitGatewayMulticastGroupsRequest & WithTransitGatewayMulticastDomainId(const Aws::String &value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:69
Aws::EC2::Model::Filter
Definition: Filter.h:36
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::GetDryRun
bool GetDryRun() const
Definition: SearchTransitGatewayMulticastGroupsRequest.h:319
AWSVector.h
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::SetTransitGatewayMulticastDomainId
void SetTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:59
Filter.h
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::TransitGatewayMulticastDomainIdHasBeenSet
bool TransitGatewayMulticastDomainIdHasBeenSet() const
Definition: SearchTransitGatewayMulticastGroupsRequest.h:49
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::GetMaxResults
int GetMaxResults() const
Definition: SearchTransitGatewayMulticastGroupsRequest.h:248
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::SetDryRun
void SetDryRun(bool value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:335
EC2Request.h
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: SearchTransitGatewayMulticastGroupsRequest.h:280
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::WithFilters
SearchTransitGatewayMulticastGroupsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:200
AWSString.h
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: SearchTransitGatewayMulticastGroupsRequest.h:100
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::WithTransitGatewayMulticastDomainId
SearchTransitGatewayMulticastGroupsRequest & WithTransitGatewayMulticastDomainId(Aws::String &&value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:74
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::WithMaxResults
SearchTransitGatewayMulticastGroupsRequest & WithMaxResults(int value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:269
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::AddFilters
SearchTransitGatewayMulticastGroupsRequest & AddFilters(const Filter &value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:220
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SearchTransitGatewayMulticastGroupsRequest.h:32
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:140
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::WithTransitGatewayMulticastDomainId
SearchTransitGatewayMulticastGroupsRequest & WithTransitGatewayMulticastDomainId(const char *value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:79
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:295
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: SearchTransitGatewayMulticastGroupsRequest.h:275
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:290
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: SearchTransitGatewayMulticastGroupsRequest.h:120
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::WithDryRun
SearchTransitGatewayMulticastGroupsRequest & WithDryRun(bool value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:343
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest
Definition: SearchTransitGatewayMulticastGroupsRequest.h:24
EC2_EXPORTS.h
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::AddFilters
SearchTransitGatewayMulticastGroupsRequest & AddFilters(Filter &&value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:240
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:160
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::WithFilters
SearchTransitGatewayMulticastGroupsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:180
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::WithNextToken
SearchTransitGatewayMulticastGroupsRequest & WithNextToken(const Aws::String &value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:300
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::WithNextToken
SearchTransitGatewayMulticastGroupsRequest & WithNextToken(const char *value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:310