AWS SDK for C++  1.9.129
AWS SDK for C++
DescribeNetworkInsightsPathsRequest.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 "DescribeNetworkInsightsPaths"; }
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::Vector<Aws::String>& GetNetworkInsightsPathIds() const{ return m_networkInsightsPathIds; }
45 
49  inline bool NetworkInsightsPathIdsHasBeenSet() const { return m_networkInsightsPathIdsHasBeenSet; }
50 
54  inline void SetNetworkInsightsPathIds(const Aws::Vector<Aws::String>& value) { m_networkInsightsPathIdsHasBeenSet = true; m_networkInsightsPathIds = value; }
55 
59  inline void SetNetworkInsightsPathIds(Aws::Vector<Aws::String>&& value) { m_networkInsightsPathIdsHasBeenSet = true; m_networkInsightsPathIds = std::move(value); }
60 
64  inline DescribeNetworkInsightsPathsRequest& WithNetworkInsightsPathIds(const Aws::Vector<Aws::String>& value) { SetNetworkInsightsPathIds(value); return *this;}
65 
69  inline DescribeNetworkInsightsPathsRequest& WithNetworkInsightsPathIds(Aws::Vector<Aws::String>&& value) { SetNetworkInsightsPathIds(std::move(value)); return *this;}
70 
74  inline DescribeNetworkInsightsPathsRequest& AddNetworkInsightsPathIds(const Aws::String& value) { m_networkInsightsPathIdsHasBeenSet = true; m_networkInsightsPathIds.push_back(value); return *this; }
75 
79  inline DescribeNetworkInsightsPathsRequest& AddNetworkInsightsPathIds(Aws::String&& value) { m_networkInsightsPathIdsHasBeenSet = true; m_networkInsightsPathIds.push_back(std::move(value)); return *this; }
80 
84  inline DescribeNetworkInsightsPathsRequest& AddNetworkInsightsPathIds(const char* value) { m_networkInsightsPathIdsHasBeenSet = true; m_networkInsightsPathIds.push_back(value); return *this; }
85 
86 
93  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
94 
101  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
102 
109  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
110 
117  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
118 
125  inline DescribeNetworkInsightsPathsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
126 
133  inline DescribeNetworkInsightsPathsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
134 
141  inline DescribeNetworkInsightsPathsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
142 
149  inline DescribeNetworkInsightsPathsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
150 
151 
157  inline int GetMaxResults() const{ return m_maxResults; }
158 
164  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
165 
171  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
172 
178  inline DescribeNetworkInsightsPathsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
179 
180 
187  inline bool GetDryRun() const{ return m_dryRun; }
188 
195  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
196 
203  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
204 
211  inline DescribeNetworkInsightsPathsRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
212 
213 
217  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
218 
222  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
223 
227  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
228 
232  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
233 
237  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
238 
242  inline DescribeNetworkInsightsPathsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
243 
247  inline DescribeNetworkInsightsPathsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
248 
252  inline DescribeNetworkInsightsPathsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
253 
254  private:
255 
256  Aws::Vector<Aws::String> m_networkInsightsPathIds;
257  bool m_networkInsightsPathIdsHasBeenSet;
258 
259  Aws::Vector<Filter> m_filters;
260  bool m_filtersHasBeenSet;
261 
262  int m_maxResults;
263  bool m_maxResultsHasBeenSet;
264 
265  bool m_dryRun;
266  bool m_dryRunHasBeenSet;
267 
268  Aws::String m_nextToken;
269  bool m_nextTokenHasBeenSet;
270  };
271 
272 } // namespace Model
273 } // namespace EC2
274 } // namespace Aws
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::NetworkInsightsPathIdsHasBeenSet
bool NetworkInsightsPathIdsHasBeenSet() const
Definition: DescribeNetworkInsightsPathsRequest.h:49
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeNetworkInsightsPathsRequest.h:164
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest
Definition: DescribeNetworkInsightsPathsRequest.h:24
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::WithNextToken
DescribeNetworkInsightsPathsRequest & WithNextToken(const char *value)
Definition: DescribeNetworkInsightsPathsRequest.h:252
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::AddFilters
DescribeNetworkInsightsPathsRequest & AddFilters(const Filter &value)
Definition: DescribeNetworkInsightsPathsRequest.h:141
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DescribeNetworkInsightsPathsRequest.h:195
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeNetworkInsightsPathsRequest.h:232
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeNetworkInsightsPathsRequest.h:101
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::GetNetworkInsightsPathIds
const Aws::Vector< Aws::String > & GetNetworkInsightsPathIds() const
Definition: DescribeNetworkInsightsPathsRequest.h:44
Aws::EC2::Model::Filter
Definition: Filter.h:36
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Filter.h
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::WithFilters
DescribeNetworkInsightsPathsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeNetworkInsightsPathsRequest.h:125
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeNetworkInsightsPathsRequest.h:217
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeNetworkInsightsPathsRequest.h:109
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::SetDryRun
void SetDryRun(bool value)
Definition: DescribeNetworkInsightsPathsRequest.h:203
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::WithNextToken
DescribeNetworkInsightsPathsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeNetworkInsightsPathsRequest.h:247
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::DescribeNetworkInsightsPathsRequest
DescribeNetworkInsightsPathsRequest()
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeNetworkInsightsPathsRequest.h:93
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::WithNetworkInsightsPathIds
DescribeNetworkInsightsPathsRequest & WithNetworkInsightsPathIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeNetworkInsightsPathsRequest.h:64
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeNetworkInsightsPathsRequest.h:117
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::AddNetworkInsightsPathIds
DescribeNetworkInsightsPathsRequest & AddNetworkInsightsPathIds(Aws::String &&value)
Definition: DescribeNetworkInsightsPathsRequest.h:79
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::WithDryRun
DescribeNetworkInsightsPathsRequest & WithDryRun(bool value)
Definition: DescribeNetworkInsightsPathsRequest.h:211
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::WithNetworkInsightsPathIds
DescribeNetworkInsightsPathsRequest & WithNetworkInsightsPathIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeNetworkInsightsPathsRequest.h:69
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeNetworkInsightsPathsRequest.h:222
EC2Request.h
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::SetNetworkInsightsPathIds
void SetNetworkInsightsPathIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeNetworkInsightsPathsRequest.h:59
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeNetworkInsightsPathsRequest.h:227
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::WithNextToken
DescribeNetworkInsightsPathsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeNetworkInsightsPathsRequest.h:242
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::AddNetworkInsightsPathIds
DescribeNetworkInsightsPathsRequest & AddNetworkInsightsPathIds(const char *value)
Definition: DescribeNetworkInsightsPathsRequest.h:84
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeNetworkInsightsPathsRequest.h:237
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::WithFilters
DescribeNetworkInsightsPathsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeNetworkInsightsPathsRequest.h:133
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeNetworkInsightsPathsRequest.h:171
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::SetNetworkInsightsPathIds
void SetNetworkInsightsPathIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeNetworkInsightsPathsRequest.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeNetworkInsightsPathsRequest.h:157
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::WithMaxResults
DescribeNetworkInsightsPathsRequest & WithMaxResults(int value)
Definition: DescribeNetworkInsightsPathsRequest.h:178
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::AddNetworkInsightsPathIds
DescribeNetworkInsightsPathsRequest & AddNetworkInsightsPathIds(const Aws::String &value)
Definition: DescribeNetworkInsightsPathsRequest.h:74
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
EC2_EXPORTS.h
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeNetworkInsightsPathsRequest.h:32
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::GetDryRun
bool GetDryRun() const
Definition: DescribeNetworkInsightsPathsRequest.h:187
Aws::EC2::Model::DescribeNetworkInsightsPathsRequest::AddFilters
DescribeNetworkInsightsPathsRequest & AddFilters(Filter &&value)
Definition: DescribeNetworkInsightsPathsRequest.h:149