AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; }
44 inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); }
45 inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); }
46 inline GetDevicePositionHistoryRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;}
47 inline GetDevicePositionHistoryRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;}
48 inline GetDevicePositionHistoryRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;}
50
52
55 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
56 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
57 inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
58 inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
59 inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
60 inline GetDevicePositionHistoryRequest& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
61 inline GetDevicePositionHistoryRequest& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
62 inline GetDevicePositionHistoryRequest& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
64
66
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
76 inline GetDevicePositionHistoryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline GetDevicePositionHistoryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline GetDevicePositionHistoryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80
82
90 inline const Aws::Utils::DateTime& GetStartTimeInclusive() const{ return m_startTimeInclusive; }
91 inline bool StartTimeInclusiveHasBeenSet() const { return m_startTimeInclusiveHasBeenSet; }
92 inline void SetStartTimeInclusive(const Aws::Utils::DateTime& value) { m_startTimeInclusiveHasBeenSet = true; m_startTimeInclusive = value; }
93 inline void SetStartTimeInclusive(Aws::Utils::DateTime&& value) { m_startTimeInclusiveHasBeenSet = true; m_startTimeInclusive = std::move(value); }
97
99
107 inline const Aws::Utils::DateTime& GetEndTimeExclusive() const{ return m_endTimeExclusive; }
108 inline bool EndTimeExclusiveHasBeenSet() const { return m_endTimeExclusiveHasBeenSet; }
109 inline void SetEndTimeExclusive(const Aws::Utils::DateTime& value) { m_endTimeExclusiveHasBeenSet = true; m_endTimeExclusive = value; }
110 inline void SetEndTimeExclusive(Aws::Utils::DateTime&& value) { m_endTimeExclusiveHasBeenSet = true; m_endTimeExclusive = std::move(value); }
114
116
120 inline int GetMaxResults() const{ return m_maxResults; }
121 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
122 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
123 inline GetDevicePositionHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
125 private:
126
127 Aws::String m_trackerName;
128 bool m_trackerNameHasBeenSet = false;
129
130 Aws::String m_deviceId;
131 bool m_deviceIdHasBeenSet = false;
132
133 Aws::String m_nextToken;
134 bool m_nextTokenHasBeenSet = false;
135
136 Aws::Utils::DateTime m_startTimeInclusive;
137 bool m_startTimeInclusiveHasBeenSet = false;
138
139 Aws::Utils::DateTime m_endTimeExclusive;
140 bool m_endTimeExclusiveHasBeenSet = false;
141
142 int m_maxResults;
143 bool m_maxResultsHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace LocationService
148} // namespace Aws
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
GetDevicePositionHistoryRequest & WithTrackerName(Aws::String &&value)
GetDevicePositionHistoryRequest & WithEndTimeExclusive(Aws::Utils::DateTime &&value)
GetDevicePositionHistoryRequest & WithTrackerName(const char *value)
GetDevicePositionHistoryRequest & WithDeviceId(const Aws::String &value)
GetDevicePositionHistoryRequest & WithStartTimeInclusive(Aws::Utils::DateTime &&value)
GetDevicePositionHistoryRequest & WithNextToken(const char *value)
GetDevicePositionHistoryRequest & WithNextToken(const Aws::String &value)
GetDevicePositionHistoryRequest & WithEndTimeExclusive(const Aws::Utils::DateTime &value)
GetDevicePositionHistoryRequest & WithStartTimeInclusive(const Aws::Utils::DateTime &value)
GetDevicePositionHistoryRequest & WithTrackerName(const Aws::String &value)
GetDevicePositionHistoryRequest & WithDeviceId(Aws::String &&value)
GetDevicePositionHistoryRequest & WithNextToken(Aws::String &&value)
GetDevicePositionHistoryRequest & WithDeviceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String