AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BatchGetDevicePositionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/location/LocationServiceRequest.h>
10#include <aws/location/LocationService_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace LocationService {
16namespace Model {
17
21 public:
22 AWS_LOCATIONSERVICE_API BatchGetDevicePositionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "BatchGetDevicePosition"; }
29
30 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetTrackerName() const { return m_trackerName; }
37 inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; }
38 template <typename TrackerNameT = Aws::String>
39 void SetTrackerName(TrackerNameT&& value) {
40 m_trackerNameHasBeenSet = true;
41 m_trackerName = std::forward<TrackerNameT>(value);
42 }
43 template <typename TrackerNameT = Aws::String>
45 SetTrackerName(std::forward<TrackerNameT>(value));
46 return *this;
47 }
49
51
56 inline const Aws::Vector<Aws::String>& GetDeviceIds() const { return m_deviceIds; }
57 inline bool DeviceIdsHasBeenSet() const { return m_deviceIdsHasBeenSet; }
58 template <typename DeviceIdsT = Aws::Vector<Aws::String>>
59 void SetDeviceIds(DeviceIdsT&& value) {
60 m_deviceIdsHasBeenSet = true;
61 m_deviceIds = std::forward<DeviceIdsT>(value);
62 }
63 template <typename DeviceIdsT = Aws::Vector<Aws::String>>
65 SetDeviceIds(std::forward<DeviceIdsT>(value));
66 return *this;
67 }
68 template <typename DeviceIdsT = Aws::String>
70 m_deviceIdsHasBeenSet = true;
71 m_deviceIds.emplace_back(std::forward<DeviceIdsT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_trackerName;
77
78 Aws::Vector<Aws::String> m_deviceIds;
79 bool m_trackerNameHasBeenSet = false;
80 bool m_deviceIdsHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace LocationService
85} // namespace Aws
BatchGetDevicePositionRequest & WithDeviceIds(DeviceIdsT &&value)
BatchGetDevicePositionRequest & WithTrackerName(TrackerNameT &&value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
BatchGetDevicePositionRequest & AddDeviceIds(DeviceIdsT &&value)
AWS_LOCATIONSERVICE_API BatchGetDevicePositionRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector