AWS SDK for C++  1.9.131
AWS SDK for C++
ListDevicePositionsRequest.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 "ListDevicePositions"; }
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 ListDevicePositionsRequest& 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 ListDevicePositionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
101 
107  inline ListDevicePositionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
114  inline ListDevicePositionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
115 
116 
120  inline const Aws::String& GetTrackerName() const{ return m_trackerName; }
121 
125  inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; }
126 
130  inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; }
131 
135  inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); }
136 
140  inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); }
141 
145  inline ListDevicePositionsRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;}
146 
150  inline ListDevicePositionsRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;}
151 
155  inline ListDevicePositionsRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;}
156 
157  private:
158 
159  int m_maxResults;
160  bool m_maxResultsHasBeenSet;
161 
162  Aws::String m_nextToken;
163  bool m_nextTokenHasBeenSet;
164 
165  Aws::String m_trackerName;
166  bool m_trackerNameHasBeenSet;
167  };
168 
169 } // namespace Model
170 } // namespace LocationService
171 } // namespace Aws
Aws::LocationService::Model::ListDevicePositionsRequest::WithTrackerName
ListDevicePositionsRequest & WithTrackerName(const char *value)
Definition: ListDevicePositionsRequest.h:155
Aws::LocationService::Model::ListDevicePositionsRequest::WithTrackerName
ListDevicePositionsRequest & WithTrackerName(const Aws::String &value)
Definition: ListDevicePositionsRequest.h:145
Aws::LocationService::Model::ListDevicePositionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDevicePositionsRequest.h:72
Aws::LocationService::Model::ListDevicePositionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDevicePositionsRequest.h:30
Aws::LocationService::Model::ListDevicePositionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDevicePositionsRequest.h:93
Aws::LocationService::Model::ListDevicePositionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDevicePositionsRequest.h:45
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
Aws::LocationService::Model::ListDevicePositionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDevicePositionsRequest.h:65
Aws::LocationService::Model::ListDevicePositionsRequest::WithNextToken
ListDevicePositionsRequest & WithNextToken(const Aws::String &value)
Definition: ListDevicePositionsRequest.h:100
LocationServiceRequest.h
LocationService_EXPORTS.h
Aws::LocationService::Model::ListDevicePositionsRequest::SetTrackerName
void SetTrackerName(Aws::String &&value)
Definition: ListDevicePositionsRequest.h:135
Aws::LocationService::Model::ListDevicePositionsRequest::ListDevicePositionsRequest
ListDevicePositionsRequest()
Aws::LocationService::Model::ListDevicePositionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDevicePositionsRequest.h:79
Aws::LocationService::Model::ListDevicePositionsRequest::WithMaxResults
ListDevicePositionsRequest & WithMaxResults(int value)
Definition: ListDevicePositionsRequest.h:57
Aws::LocationService::Model::ListDevicePositionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDevicePositionsRequest.h:51
Aws::LocationService::Model::ListDevicePositionsRequest::SetTrackerName
void SetTrackerName(const char *value)
Definition: ListDevicePositionsRequest.h:140
Aws::LocationService::Model::ListDevicePositionsRequest::WithNextToken
ListDevicePositionsRequest & WithNextToken(Aws::String &&value)
Definition: ListDevicePositionsRequest.h:107
Aws::LocationService::Model::ListDevicePositionsRequest::TrackerNameHasBeenSet
bool TrackerNameHasBeenSet() const
Definition: ListDevicePositionsRequest.h:125
AWSString.h
Aws::LocationService::Model::ListDevicePositionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDevicePositionsRequest.h:86
Aws::LocationService::Model::ListDevicePositionsRequest::GetTrackerName
const Aws::String & GetTrackerName() const
Definition: ListDevicePositionsRequest.h:120
Aws::LocationService::Model::ListDevicePositionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::LocationService::Model::ListDevicePositionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDevicePositionsRequest.h:39
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::ListDevicePositionsRequest::SetTrackerName
void SetTrackerName(const Aws::String &value)
Definition: ListDevicePositionsRequest.h:130
Aws::LocationService::Model::ListDevicePositionsRequest::WithNextToken
ListDevicePositionsRequest & WithNextToken(const char *value)
Definition: ListDevicePositionsRequest.h:114
Aws::LocationService::Model::ListDevicePositionsRequest
Definition: ListDevicePositionsRequest.h:22
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17
Aws::LocationService::Model::ListDevicePositionsRequest::WithTrackerName
ListDevicePositionsRequest & WithTrackerName(Aws::String &&value)
Definition: ListDevicePositionsRequest.h:150