AWS SDK for C++  1.9.75
AWS SDK for C++
DescribeVpcEndpointServiceConfigurationsRequest.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 "DescribeVpcEndpointServiceConfigurations"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
47  inline bool GetDryRun() const{ return m_dryRun; }
48 
55  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
56 
63  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
64 
71  inline DescribeVpcEndpointServiceConfigurationsRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
72 
73 
77  inline const Aws::Vector<Aws::String>& GetServiceIds() const{ return m_serviceIds; }
78 
82  inline bool ServiceIdsHasBeenSet() const { return m_serviceIdsHasBeenSet; }
83 
87  inline void SetServiceIds(const Aws::Vector<Aws::String>& value) { m_serviceIdsHasBeenSet = true; m_serviceIds = value; }
88 
92  inline void SetServiceIds(Aws::Vector<Aws::String>&& value) { m_serviceIdsHasBeenSet = true; m_serviceIds = std::move(value); }
93 
97  inline DescribeVpcEndpointServiceConfigurationsRequest& WithServiceIds(const Aws::Vector<Aws::String>& value) { SetServiceIds(value); return *this;}
98 
102  inline DescribeVpcEndpointServiceConfigurationsRequest& WithServiceIds(Aws::Vector<Aws::String>&& value) { SetServiceIds(std::move(value)); return *this;}
103 
107  inline DescribeVpcEndpointServiceConfigurationsRequest& AddServiceIds(const Aws::String& value) { m_serviceIdsHasBeenSet = true; m_serviceIds.push_back(value); return *this; }
108 
112  inline DescribeVpcEndpointServiceConfigurationsRequest& AddServiceIds(Aws::String&& value) { m_serviceIdsHasBeenSet = true; m_serviceIds.push_back(std::move(value)); return *this; }
113 
117  inline DescribeVpcEndpointServiceConfigurationsRequest& AddServiceIds(const char* value) { m_serviceIdsHasBeenSet = true; m_serviceIds.push_back(value); return *this; }
118 
119 
135  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
136 
152  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
153 
169  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
170 
186  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
187 
203  inline DescribeVpcEndpointServiceConfigurationsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
204 
220  inline DescribeVpcEndpointServiceConfigurationsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
221 
237  inline DescribeVpcEndpointServiceConfigurationsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
238 
254  inline DescribeVpcEndpointServiceConfigurationsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
255 
256 
264  inline int GetMaxResults() const{ return m_maxResults; }
265 
273  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
274 
282  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
283 
291  inline DescribeVpcEndpointServiceConfigurationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
292 
293 
297  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
298 
302  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
303 
307  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
308 
312  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
313 
317  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
318 
322  inline DescribeVpcEndpointServiceConfigurationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
323 
327  inline DescribeVpcEndpointServiceConfigurationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
328 
332  inline DescribeVpcEndpointServiceConfigurationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
333 
334  private:
335 
336  bool m_dryRun;
337  bool m_dryRunHasBeenSet;
338 
339  Aws::Vector<Aws::String> m_serviceIds;
340  bool m_serviceIdsHasBeenSet;
341 
342  Aws::Vector<Filter> m_filters;
343  bool m_filtersHasBeenSet;
344 
345  int m_maxResults;
346  bool m_maxResultsHasBeenSet;
347 
348  Aws::String m_nextToken;
349  bool m_nextTokenHasBeenSet;
350  };
351 
352 } // namespace Model
353 } // namespace EC2
354 } // namespace Aws
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::WithFilters
DescribeVpcEndpointServiceConfigurationsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:203
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:312
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::AddServiceIds
DescribeVpcEndpointServiceConfigurationsRequest & AddServiceIds(Aws::String &&value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:112
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::WithNextToken
DescribeVpcEndpointServiceConfigurationsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:322
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::SetServiceIds
void SetServiceIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:92
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:317
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::AddFilters
DescribeVpcEndpointServiceConfigurationsRequest & AddFilters(Filter &&value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:254
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::WithServiceIds
DescribeVpcEndpointServiceConfigurationsRequest & WithServiceIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:97
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::SetDryRun
void SetDryRun(bool value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:63
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::WithMaxResults
DescribeVpcEndpointServiceConfigurationsRequest & WithMaxResults(int value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:291
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:282
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::AddServiceIds
DescribeVpcEndpointServiceConfigurationsRequest & AddServiceIds(const char *value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:117
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:169
Aws::EC2::Model::Filter
Definition: Filter.h:36
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:297
AWSVector.h
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::SerializePayload
Aws::String SerializePayload() const override
Filter.h
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::WithFilters
DescribeVpcEndpointServiceConfigurationsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:220
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::ServiceIdsHasBeenSet
bool ServiceIdsHasBeenSet() const
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:82
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:24
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:307
EC2Request.h
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::AddServiceIds
DescribeVpcEndpointServiceConfigurationsRequest & AddServiceIds(const Aws::String &value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:107
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:152
AWSString.h
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:135
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::GetDryRun
bool GetDryRun() const
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:47
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::WithDryRun
DescribeVpcEndpointServiceConfigurationsRequest & WithDryRun(bool value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:71
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::SetServiceIds
void SetServiceIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:87
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::WithNextToken
DescribeVpcEndpointServiceConfigurationsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:327
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:55
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:186
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::DescribeVpcEndpointServiceConfigurationsRequest
DescribeVpcEndpointServiceConfigurationsRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:302
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::WithNextToken
DescribeVpcEndpointServiceConfigurationsRequest & WithNextToken(const char *value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:332
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::DescribeVpcEndpointServiceConfigurationsRequest::AddFilters
DescribeVpcEndpointServiceConfigurationsRequest & AddFilters(const Filter &value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:237
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::WithServiceIds
DescribeVpcEndpointServiceConfigurationsRequest & WithServiceIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:102
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::GetServiceIds
const Aws::Vector< Aws::String > & GetServiceIds() const
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:77
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:264
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:273
EC2_EXPORTS.h
Aws::EC2::Model::DescribeVpcEndpointServiceConfigurationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeVpcEndpointServiceConfigurationsRequest.h:32