AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchGetDevicePositionRequest.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/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LocationService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOCATIONSERVICE_API BatchGetDevicePositionRequest() = 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 "BatchGetDevicePosition"; }
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 BatchGetDevicePositionRequest& WithTrackerName(TrackerNameT&& value) { SetTrackerName(std::forward<TrackerNameT>(value)); return *this;}
47
49
54 inline const Aws::Vector<Aws::String>& GetDeviceIds() const { return m_deviceIds; }
55 inline bool DeviceIdsHasBeenSet() const { return m_deviceIdsHasBeenSet; }
56 template<typename DeviceIdsT = Aws::Vector<Aws::String>>
57 void SetDeviceIds(DeviceIdsT&& value) { m_deviceIdsHasBeenSet = true; m_deviceIds = std::forward<DeviceIdsT>(value); }
58 template<typename DeviceIdsT = Aws::Vector<Aws::String>>
59 BatchGetDevicePositionRequest& WithDeviceIds(DeviceIdsT&& value) { SetDeviceIds(std::forward<DeviceIdsT>(value)); return *this;}
60 template<typename DeviceIdsT = Aws::String>
61 BatchGetDevicePositionRequest& AddDeviceIds(DeviceIdsT&& value) { m_deviceIdsHasBeenSet = true; m_deviceIds.emplace_back(std::forward<DeviceIdsT>(value)); return *this; }
63 private:
64
65 Aws::String m_trackerName;
66 bool m_trackerNameHasBeenSet = false;
67
68 Aws::Vector<Aws::String> m_deviceIds;
69 bool m_deviceIdsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace LocationService
74} // 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