AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetDevicePositionHistoryRequest.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/LocationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LocationService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOCATIONSERVICE_API GetDevicePositionHistoryRequest() = default;
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_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetTrackerName() const { return m_trackerName; }
42 inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; }
43 template<typename TrackerNameT = Aws::String>
44 void SetTrackerName(TrackerNameT&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::forward<TrackerNameT>(value); }
45 template<typename TrackerNameT = Aws::String>
46 GetDevicePositionHistoryRequest& WithTrackerName(TrackerNameT&& value) { SetTrackerName(std::forward<TrackerNameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDeviceId() const { return m_deviceId; }
54 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
55 template<typename DeviceIdT = Aws::String>
56 void SetDeviceId(DeviceIdT&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::forward<DeviceIdT>(value); }
57 template<typename DeviceIdT = Aws::String>
58 GetDevicePositionHistoryRequest& WithDeviceId(DeviceIdT&& value) { SetDeviceId(std::forward<DeviceIdT>(value)); return *this;}
60
62
67 inline const Aws::String& GetNextToken() const { return m_nextToken; }
68 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
69 template<typename NextTokenT = Aws::String>
70 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
71 template<typename NextTokenT = Aws::String>
72 GetDevicePositionHistoryRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
74
76
84 inline const Aws::Utils::DateTime& GetStartTimeInclusive() const { return m_startTimeInclusive; }
85 inline bool StartTimeInclusiveHasBeenSet() const { return m_startTimeInclusiveHasBeenSet; }
86 template<typename StartTimeInclusiveT = Aws::Utils::DateTime>
87 void SetStartTimeInclusive(StartTimeInclusiveT&& value) { m_startTimeInclusiveHasBeenSet = true; m_startTimeInclusive = std::forward<StartTimeInclusiveT>(value); }
88 template<typename StartTimeInclusiveT = Aws::Utils::DateTime>
89 GetDevicePositionHistoryRequest& WithStartTimeInclusive(StartTimeInclusiveT&& value) { SetStartTimeInclusive(std::forward<StartTimeInclusiveT>(value)); return *this;}
91
93
101 inline const Aws::Utils::DateTime& GetEndTimeExclusive() const { return m_endTimeExclusive; }
102 inline bool EndTimeExclusiveHasBeenSet() const { return m_endTimeExclusiveHasBeenSet; }
103 template<typename EndTimeExclusiveT = Aws::Utils::DateTime>
104 void SetEndTimeExclusive(EndTimeExclusiveT&& value) { m_endTimeExclusiveHasBeenSet = true; m_endTimeExclusive = std::forward<EndTimeExclusiveT>(value); }
105 template<typename EndTimeExclusiveT = Aws::Utils::DateTime>
106 GetDevicePositionHistoryRequest& WithEndTimeExclusive(EndTimeExclusiveT&& value) { SetEndTimeExclusive(std::forward<EndTimeExclusiveT>(value)); return *this;}
108
110
114 inline int GetMaxResults() const { return m_maxResults; }
115 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
116 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
117 inline GetDevicePositionHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
119 private:
120
121 Aws::String m_trackerName;
122 bool m_trackerNameHasBeenSet = false;
123
124 Aws::String m_deviceId;
125 bool m_deviceIdHasBeenSet = false;
126
127 Aws::String m_nextToken;
128 bool m_nextTokenHasBeenSet = false;
129
130 Aws::Utils::DateTime m_startTimeInclusive{};
131 bool m_startTimeInclusiveHasBeenSet = false;
132
133 Aws::Utils::DateTime m_endTimeExclusive{};
134 bool m_endTimeExclusiveHasBeenSet = false;
135
136 int m_maxResults{0};
137 bool m_maxResultsHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace LocationService
142} // namespace Aws
GetDevicePositionHistoryRequest & WithEndTimeExclusive(EndTimeExclusiveT &&value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
GetDevicePositionHistoryRequest & WithDeviceId(DeviceIdT &&value)
AWS_LOCATIONSERVICE_API GetDevicePositionHistoryRequest()=default
GetDevicePositionHistoryRequest & WithTrackerName(TrackerNameT &&value)
GetDevicePositionHistoryRequest & WithStartTimeInclusive(StartTimeInclusiveT &&value)
GetDevicePositionHistoryRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String