AWS SDK for C++  1.9.129
AWS SDK for C++
GetDevicePositionHistoryRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace LocationService
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "GetDevicePositionHistory"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
40 
44  inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
45 
49  inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
50 
54  inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
55 
59  inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
60 
64  inline GetDevicePositionHistoryRequest& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
65 
69  inline GetDevicePositionHistoryRequest& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
70 
74  inline GetDevicePositionHistoryRequest& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
75 
76 
85  inline const Aws::Utils::DateTime& GetEndTimeExclusive() const{ return m_endTimeExclusive; }
86 
95  inline bool EndTimeExclusiveHasBeenSet() const { return m_endTimeExclusiveHasBeenSet; }
96 
105  inline void SetEndTimeExclusive(const Aws::Utils::DateTime& value) { m_endTimeExclusiveHasBeenSet = true; m_endTimeExclusive = value; }
106 
115  inline void SetEndTimeExclusive(Aws::Utils::DateTime&& value) { m_endTimeExclusiveHasBeenSet = true; m_endTimeExclusive = std::move(value); }
116 
125  inline GetDevicePositionHistoryRequest& WithEndTimeExclusive(const Aws::Utils::DateTime& value) { SetEndTimeExclusive(value); return *this;}
126 
135  inline GetDevicePositionHistoryRequest& WithEndTimeExclusive(Aws::Utils::DateTime&& value) { SetEndTimeExclusive(std::move(value)); return *this;}
136 
137 
143  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
144 
150  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
151 
157  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
158 
164  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
165 
171  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
172 
178  inline GetDevicePositionHistoryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
179 
185  inline GetDevicePositionHistoryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
186 
192  inline GetDevicePositionHistoryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
193 
194 
203  inline const Aws::Utils::DateTime& GetStartTimeInclusive() const{ return m_startTimeInclusive; }
204 
213  inline bool StartTimeInclusiveHasBeenSet() const { return m_startTimeInclusiveHasBeenSet; }
214 
223  inline void SetStartTimeInclusive(const Aws::Utils::DateTime& value) { m_startTimeInclusiveHasBeenSet = true; m_startTimeInclusive = value; }
224 
233  inline void SetStartTimeInclusive(Aws::Utils::DateTime&& value) { m_startTimeInclusiveHasBeenSet = true; m_startTimeInclusive = std::move(value); }
234 
243  inline GetDevicePositionHistoryRequest& WithStartTimeInclusive(const Aws::Utils::DateTime& value) { SetStartTimeInclusive(value); return *this;}
244 
253  inline GetDevicePositionHistoryRequest& WithStartTimeInclusive(Aws::Utils::DateTime&& value) { SetStartTimeInclusive(std::move(value)); return *this;}
254 
255 
260  inline const Aws::String& GetTrackerName() const{ return m_trackerName; }
261 
266  inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; }
267 
272  inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; }
273 
278  inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); }
279 
284  inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); }
285 
290  inline GetDevicePositionHistoryRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;}
291 
296  inline GetDevicePositionHistoryRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;}
297 
302  inline GetDevicePositionHistoryRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;}
303 
304  private:
305 
306  Aws::String m_deviceId;
307  bool m_deviceIdHasBeenSet;
308 
309  Aws::Utils::DateTime m_endTimeExclusive;
310  bool m_endTimeExclusiveHasBeenSet;
311 
312  Aws::String m_nextToken;
313  bool m_nextTokenHasBeenSet;
314 
315  Aws::Utils::DateTime m_startTimeInclusive;
316  bool m_startTimeInclusiveHasBeenSet;
317 
318  Aws::String m_trackerName;
319  bool m_trackerNameHasBeenSet;
320  };
321 
322 } // namespace Model
323 } // namespace LocationService
324 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::LocationService::Model::GetDevicePositionHistoryRequest::SetEndTimeExclusive
void SetEndTimeExclusive(const Aws::Utils::DateTime &value)
Definition: GetDevicePositionHistoryRequest.h:105
Aws::LocationService::Model::GetDevicePositionHistoryRequest::SetStartTimeInclusive
void SetStartTimeInclusive(const Aws::Utils::DateTime &value)
Definition: GetDevicePositionHistoryRequest.h:223
Aws::LocationService::Model::GetDevicePositionHistoryRequest::GetDevicePositionHistoryRequest
GetDevicePositionHistoryRequest()
Aws::LocationService::Model::GetDevicePositionHistoryRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetDevicePositionHistoryRequest.h:164
Aws::LocationService::Model::GetDevicePositionHistoryRequest::SetDeviceId
void SetDeviceId(const Aws::String &value)
Definition: GetDevicePositionHistoryRequest.h:49
Aws::LocationService::Model::GetDevicePositionHistoryRequest::GetDeviceId
const Aws::String & GetDeviceId() const
Definition: GetDevicePositionHistoryRequest.h:39
Aws::LocationService::Model::GetDevicePositionHistoryRequest::WithDeviceId
GetDevicePositionHistoryRequest & WithDeviceId(Aws::String &&value)
Definition: GetDevicePositionHistoryRequest.h:69
DateTime.h
Aws::LocationService::Model::GetDevicePositionHistoryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetDevicePositionHistoryRequest.h:31
Aws::LocationService::Model::GetDevicePositionHistoryRequest::WithNextToken
GetDevicePositionHistoryRequest & WithNextToken(const Aws::String &value)
Definition: GetDevicePositionHistoryRequest.h:178
Aws::LocationService::Model::GetDevicePositionHistoryRequest
Definition: GetDevicePositionHistoryRequest.h:23
Aws::LocationService::Model::GetDevicePositionHistoryRequest::StartTimeInclusiveHasBeenSet
bool StartTimeInclusiveHasBeenSet() const
Definition: GetDevicePositionHistoryRequest.h:213
Aws::LocationService::Model::GetDevicePositionHistoryRequest::GetTrackerName
const Aws::String & GetTrackerName() const
Definition: GetDevicePositionHistoryRequest.h:260
Aws::LocationService::Model::GetDevicePositionHistoryRequest::WithEndTimeExclusive
GetDevicePositionHistoryRequest & WithEndTimeExclusive(const Aws::Utils::DateTime &value)
Definition: GetDevicePositionHistoryRequest.h:125
Aws::LocationService::Model::GetDevicePositionHistoryRequest::SetDeviceId
void SetDeviceId(const char *value)
Definition: GetDevicePositionHistoryRequest.h:59
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
LocationServiceRequest.h
LocationService_EXPORTS.h
Aws::LocationService::Model::GetDevicePositionHistoryRequest::SetEndTimeExclusive
void SetEndTimeExclusive(Aws::Utils::DateTime &&value)
Definition: GetDevicePositionHistoryRequest.h:115
Aws::LocationService::Model::GetDevicePositionHistoryRequest::SetStartTimeInclusive
void SetStartTimeInclusive(Aws::Utils::DateTime &&value)
Definition: GetDevicePositionHistoryRequest.h:233
Aws::LocationService::Model::GetDevicePositionHistoryRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetDevicePositionHistoryRequest.h:157
Aws::LocationService::Model::GetDevicePositionHistoryRequest::WithStartTimeInclusive
GetDevicePositionHistoryRequest & WithStartTimeInclusive(const Aws::Utils::DateTime &value)
Definition: GetDevicePositionHistoryRequest.h:243
Aws::LocationService::Model::GetDevicePositionHistoryRequest::SetTrackerName
void SetTrackerName(Aws::String &&value)
Definition: GetDevicePositionHistoryRequest.h:278
Aws::LocationService::Model::GetDevicePositionHistoryRequest::TrackerNameHasBeenSet
bool TrackerNameHasBeenSet() const
Definition: GetDevicePositionHistoryRequest.h:266
Aws::LocationService::Model::GetDevicePositionHistoryRequest::EndTimeExclusiveHasBeenSet
bool EndTimeExclusiveHasBeenSet() const
Definition: GetDevicePositionHistoryRequest.h:95
Aws::LocationService::Model::GetDevicePositionHistoryRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetDevicePositionHistoryRequest.h:150
Aws::LocationService::Model::GetDevicePositionHistoryRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetDevicePositionHistoryRequest.h:171
AWSString.h
Aws::LocationService::Model::GetDevicePositionHistoryRequest::SetTrackerName
void SetTrackerName(const Aws::String &value)
Definition: GetDevicePositionHistoryRequest.h:272
Aws::LocationService::Model::GetDevicePositionHistoryRequest::WithTrackerName
GetDevicePositionHistoryRequest & WithTrackerName(const char *value)
Definition: GetDevicePositionHistoryRequest.h:302
Aws::LocationService::Model::GetDevicePositionHistoryRequest::WithStartTimeInclusive
GetDevicePositionHistoryRequest & WithStartTimeInclusive(Aws::Utils::DateTime &&value)
Definition: GetDevicePositionHistoryRequest.h:253
Aws::LocationService::Model::GetDevicePositionHistoryRequest::WithTrackerName
GetDevicePositionHistoryRequest & WithTrackerName(const Aws::String &value)
Definition: GetDevicePositionHistoryRequest.h:290
Aws::LocationService::Model::GetDevicePositionHistoryRequest::SetTrackerName
void SetTrackerName(const char *value)
Definition: GetDevicePositionHistoryRequest.h:284
Aws::LocationService::Model::GetDevicePositionHistoryRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetDevicePositionHistoryRequest.h:143
Aws::LocationService::Model::GetDevicePositionHistoryRequest::WithEndTimeExclusive
GetDevicePositionHistoryRequest & WithEndTimeExclusive(Aws::Utils::DateTime &&value)
Definition: GetDevicePositionHistoryRequest.h:135
Aws::LocationService::Model::GetDevicePositionHistoryRequest::WithTrackerName
GetDevicePositionHistoryRequest & WithTrackerName(Aws::String &&value)
Definition: GetDevicePositionHistoryRequest.h:296
Aws
Definition: AccessManagementClient.h:15
Aws::LocationService::Model::GetDevicePositionHistoryRequest::WithDeviceId
GetDevicePositionHistoryRequest & WithDeviceId(const char *value)
Definition: GetDevicePositionHistoryRequest.h:74
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::GetDevicePositionHistoryRequest::DeviceIdHasBeenSet
bool DeviceIdHasBeenSet() const
Definition: GetDevicePositionHistoryRequest.h:44
Aws::LocationService::Model::GetDevicePositionHistoryRequest::WithDeviceId
GetDevicePositionHistoryRequest & WithDeviceId(const Aws::String &value)
Definition: GetDevicePositionHistoryRequest.h:64
Aws::LocationService::Model::GetDevicePositionHistoryRequest::GetEndTimeExclusive
const Aws::Utils::DateTime & GetEndTimeExclusive() const
Definition: GetDevicePositionHistoryRequest.h:85
Aws::LocationService::Model::GetDevicePositionHistoryRequest::WithNextToken
GetDevicePositionHistoryRequest & WithNextToken(const char *value)
Definition: GetDevicePositionHistoryRequest.h:192
Aws::LocationService::Model::GetDevicePositionHistoryRequest::SetDeviceId
void SetDeviceId(Aws::String &&value)
Definition: GetDevicePositionHistoryRequest.h:54
Aws::LocationService::Model::GetDevicePositionHistoryRequest::WithNextToken
GetDevicePositionHistoryRequest & WithNextToken(Aws::String &&value)
Definition: GetDevicePositionHistoryRequest.h:185
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17
Aws::LocationService::Model::GetDevicePositionHistoryRequest::GetStartTimeInclusive
const Aws::Utils::DateTime & GetStartTimeInclusive() const
Definition: GetDevicePositionHistoryRequest.h:203
Aws::LocationService::Model::GetDevicePositionHistoryRequest::SerializePayload
Aws::String SerializePayload() const override