AWS SDK for C++  1.9.71
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 
102  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
103 
124  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
125 
146  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
147 
168  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
169 
190  inline SearchTransitGatewayMulticastGroupsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
191 
212  inline SearchTransitGatewayMulticastGroupsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
213 
234  inline SearchTransitGatewayMulticastGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
235 
256  inline SearchTransitGatewayMulticastGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
257 
258 
264  inline int GetMaxResults() const{ return m_maxResults; }
265 
271  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
272 
278  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
279 
285  inline SearchTransitGatewayMulticastGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
286 
287 
291  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
292 
296  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
297 
301  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
302 
306  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
307 
311  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
312 
316  inline SearchTransitGatewayMulticastGroupsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
317 
321  inline SearchTransitGatewayMulticastGroupsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
322 
326  inline SearchTransitGatewayMulticastGroupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
327 
328 
335  inline bool GetDryRun() const{ return m_dryRun; }
336 
343  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
344 
351  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
352 
359  inline SearchTransitGatewayMulticastGroupsRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
360 
361  private:
362 
363  Aws::String m_transitGatewayMulticastDomainId;
364  bool m_transitGatewayMulticastDomainIdHasBeenSet;
365 
366  Aws::Vector<Filter> m_filters;
367  bool m_filtersHasBeenSet;
368 
369  int m_maxResults;
370  bool m_maxResultsHasBeenSet;
371 
372  Aws::String m_nextToken;
373  bool m_nextTokenHasBeenSet;
374 
375  bool m_dryRun;
376  bool m_dryRunHasBeenSet;
377  };
378 
379 } // namespace Model
380 } // namespace EC2
381 } // namespace Aws
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:278
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:301
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:321
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: SearchTransitGatewayMulticastGroupsRequest.h:343
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:271
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:335
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:264
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::SetDryRun
void SetDryRun(bool value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:351
EC2Request.h
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: SearchTransitGatewayMulticastGroupsRequest.h:296
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::WithFilters
SearchTransitGatewayMulticastGroupsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:212
AWSString.h
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: SearchTransitGatewayMulticastGroupsRequest.h:102
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:285
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::AddFilters
SearchTransitGatewayMulticastGroupsRequest & AddFilters(const Filter &value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:234
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:146
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:311
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: SearchTransitGatewayMulticastGroupsRequest.h:291
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:306
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: SearchTransitGatewayMulticastGroupsRequest.h:124
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::WithDryRun
SearchTransitGatewayMulticastGroupsRequest & WithDryRun(bool value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:359
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest
Definition: SearchTransitGatewayMulticastGroupsRequest.h:24
EC2_EXPORTS.h
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::AddFilters
SearchTransitGatewayMulticastGroupsRequest & AddFilters(Filter &&value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:256
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:168
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:190
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::WithNextToken
SearchTransitGatewayMulticastGroupsRequest & WithNextToken(const Aws::String &value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:316
Aws::EC2::Model::SearchTransitGatewayMulticastGroupsRequest::WithNextToken
SearchTransitGatewayMulticastGroupsRequest & WithNextToken(const char *value)
Definition: SearchTransitGatewayMulticastGroupsRequest.h:326