AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListDevicePositionsRequest.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/location/model/TrackingFilterGeometry.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LocationService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOCATIONSERVICE_API ListDevicePositionsRequest() = 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 "ListDevicePositions"; }
32
33 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetTrackerName() const { return m_trackerName; }
41 inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; }
42 template<typename TrackerNameT = Aws::String>
43 void SetTrackerName(TrackerNameT&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::forward<TrackerNameT>(value); }
44 template<typename TrackerNameT = Aws::String>
45 ListDevicePositionsRequest& WithTrackerName(TrackerNameT&& value) { SetTrackerName(std::forward<TrackerNameT>(value)); return *this;}
47
49
53 inline int GetMaxResults() const { return m_maxResults; }
54 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
55 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
56 inline ListDevicePositionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
58
60
65 inline const Aws::String& GetNextToken() const { return m_nextToken; }
66 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
67 template<typename NextTokenT = Aws::String>
68 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
69 template<typename NextTokenT = Aws::String>
70 ListDevicePositionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
72
74
77 inline const TrackingFilterGeometry& GetFilterGeometry() const { return m_filterGeometry; }
78 inline bool FilterGeometryHasBeenSet() const { return m_filterGeometryHasBeenSet; }
79 template<typename FilterGeometryT = TrackingFilterGeometry>
80 void SetFilterGeometry(FilterGeometryT&& value) { m_filterGeometryHasBeenSet = true; m_filterGeometry = std::forward<FilterGeometryT>(value); }
81 template<typename FilterGeometryT = TrackingFilterGeometry>
82 ListDevicePositionsRequest& WithFilterGeometry(FilterGeometryT&& value) { SetFilterGeometry(std::forward<FilterGeometryT>(value)); return *this;}
84 private:
85
86 Aws::String m_trackerName;
87 bool m_trackerNameHasBeenSet = false;
88
89 int m_maxResults{0};
90 bool m_maxResultsHasBeenSet = false;
91
92 Aws::String m_nextToken;
93 bool m_nextTokenHasBeenSet = false;
94
95 TrackingFilterGeometry m_filterGeometry;
96 bool m_filterGeometryHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace LocationService
101} // namespace Aws
ListDevicePositionsRequest & WithFilterGeometry(FilterGeometryT &&value)
AWS_LOCATIONSERVICE_API ListDevicePositionsRequest()=default
ListDevicePositionsRequest & WithNextToken(NextTokenT &&value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
ListDevicePositionsRequest & WithTrackerName(TrackerNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String