AWS SDK for C++  1.9.130
AWS SDK for C++
ListPlaceIndexesRequest.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 "ListPlaceIndexes"; }
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 ListPlaceIndexesRequest& 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 ListPlaceIndexesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
101 
107  inline ListPlaceIndexesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
114  inline ListPlaceIndexesRequest& 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::ListPlaceIndexesRequest::WithMaxResults
ListPlaceIndexesRequest & WithMaxResults(int value)
Definition: ListPlaceIndexesRequest.h:57
Aws::LocationService::Model::ListPlaceIndexesRequest::WithNextToken
ListPlaceIndexesRequest & WithNextToken(Aws::String &&value)
Definition: ListPlaceIndexesRequest.h:107
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
Aws::LocationService::Model::ListPlaceIndexesRequest::WithNextToken
ListPlaceIndexesRequest & WithNextToken(const char *value)
Definition: ListPlaceIndexesRequest.h:114
Aws::LocationService::Model::ListPlaceIndexesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPlaceIndexesRequest.h:79
LocationServiceRequest.h
LocationService_EXPORTS.h
Aws::LocationService::Model::ListPlaceIndexesRequest::ListPlaceIndexesRequest
ListPlaceIndexesRequest()
Aws::LocationService::Model::ListPlaceIndexesRequest
Definition: ListPlaceIndexesRequest.h:22
Aws::LocationService::Model::ListPlaceIndexesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListPlaceIndexesRequest.h:72
Aws::LocationService::Model::ListPlaceIndexesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPlaceIndexesRequest.h:86
Aws::LocationService::Model::ListPlaceIndexesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LocationService::Model::ListPlaceIndexesRequest::WithNextToken
ListPlaceIndexesRequest & WithNextToken(const Aws::String &value)
Definition: ListPlaceIndexesRequest.h:100
AWSString.h
Aws::LocationService::Model::ListPlaceIndexesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListPlaceIndexesRequest.h:30
Aws::LocationService::Model::ListPlaceIndexesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListPlaceIndexesRequest.h:51
Aws::LocationService::Model::ListPlaceIndexesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListPlaceIndexesRequest.h:39
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::ListPlaceIndexesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListPlaceIndexesRequest.h:93
Aws::LocationService::Model::ListPlaceIndexesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListPlaceIndexesRequest.h:45
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17
Aws::LocationService::Model::ListPlaceIndexesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPlaceIndexesRequest.h:65