AWS SDK for C++  1.9.123
AWS SDK for C++
ListRouteCalculatorsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace LocationService
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListRouteCalculators"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline int GetMaxResults() const{ return m_maxResults; }
40 
45  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
46 
51  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
52 
57  inline ListRouteCalculatorsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
58 
59 
65  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
66 
72  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 
79  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
80 
86  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
87 
93  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
94 
100  inline ListRouteCalculatorsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
101 
107  inline ListRouteCalculatorsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
114  inline ListRouteCalculatorsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
115 
116  private:
117 
118  int m_maxResults;
119  bool m_maxResultsHasBeenSet;
120 
121  Aws::String m_nextToken;
122  bool m_nextTokenHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace LocationService
127 } // namespace Aws
Aws::LocationService::Model::ListRouteCalculatorsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListRouteCalculatorsRequest.h:86
Aws::LocationService::Model::ListRouteCalculatorsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListRouteCalculatorsRequest.h:93
Aws::LocationService::Model::ListRouteCalculatorsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListRouteCalculatorsRequest.h:30
Aws::LocationService::Model::ListRouteCalculatorsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListRouteCalculatorsRequest.h:79
Aws::LocationService::Model::ListRouteCalculatorsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LocationService::Model::ListRouteCalculatorsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListRouteCalculatorsRequest.h:45
Aws::LocationService::Model::ListRouteCalculatorsRequest::WithMaxResults
ListRouteCalculatorsRequest & WithMaxResults(int value)
Definition: ListRouteCalculatorsRequest.h:57
Aws::LocationService::Model::ListRouteCalculatorsRequest::WithNextToken
ListRouteCalculatorsRequest & WithNextToken(Aws::String &&value)
Definition: ListRouteCalculatorsRequest.h:107
Aws::LocationService::Model::ListRouteCalculatorsRequest::ListRouteCalculatorsRequest
ListRouteCalculatorsRequest()
Aws::LocationService::Model::ListRouteCalculatorsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListRouteCalculatorsRequest.h:72
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
LocationServiceRequest.h
LocationService_EXPORTS.h
Aws::LocationService::Model::ListRouteCalculatorsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListRouteCalculatorsRequest.h:65
Aws::LocationService::Model::ListRouteCalculatorsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListRouteCalculatorsRequest.h:39
Aws::LocationService::Model::ListRouteCalculatorsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListRouteCalculatorsRequest.h:51
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::LocationService::Model::ListRouteCalculatorsRequest::WithNextToken
ListRouteCalculatorsRequest & WithNextToken(const char *value)
Definition: ListRouteCalculatorsRequest.h:114
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::ListRouteCalculatorsRequest::WithNextToken
ListRouteCalculatorsRequest & WithNextToken(const Aws::String &value)
Definition: ListRouteCalculatorsRequest.h:100
Aws::LocationService::Model::ListRouteCalculatorsRequest
Definition: ListRouteCalculatorsRequest.h:22
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17