AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; }
43 inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); }
44 inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); }
45 inline BatchGetDevicePositionRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;}
46 inline BatchGetDevicePositionRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;}
47 inline BatchGetDevicePositionRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;}
49
51
56 inline const Aws::Vector<Aws::String>& GetDeviceIds() const{ return m_deviceIds; }
57 inline bool DeviceIdsHasBeenSet() const { return m_deviceIdsHasBeenSet; }
58 inline void SetDeviceIds(const Aws::Vector<Aws::String>& value) { m_deviceIdsHasBeenSet = true; m_deviceIds = value; }
59 inline void SetDeviceIds(Aws::Vector<Aws::String>&& value) { m_deviceIdsHasBeenSet = true; m_deviceIds = std::move(value); }
61 inline BatchGetDevicePositionRequest& WithDeviceIds(Aws::Vector<Aws::String>&& value) { SetDeviceIds(std::move(value)); return *this;}
62 inline BatchGetDevicePositionRequest& AddDeviceIds(const Aws::String& value) { m_deviceIdsHasBeenSet = true; m_deviceIds.push_back(value); return *this; }
63 inline BatchGetDevicePositionRequest& AddDeviceIds(Aws::String&& value) { m_deviceIdsHasBeenSet = true; m_deviceIds.push_back(std::move(value)); return *this; }
64 inline BatchGetDevicePositionRequest& AddDeviceIds(const char* value) { m_deviceIdsHasBeenSet = true; m_deviceIds.push_back(value); return *this; }
66 private:
67
68 Aws::String m_trackerName;
69 bool m_trackerNameHasBeenSet = false;
70
71 Aws::Vector<Aws::String> m_deviceIds;
72 bool m_deviceIdsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace LocationService
77} // namespace Aws
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
BatchGetDevicePositionRequest & WithTrackerName(const char *value)
BatchGetDevicePositionRequest & WithTrackerName(Aws::String &&value)
BatchGetDevicePositionRequest & AddDeviceIds(const char *value)
BatchGetDevicePositionRequest & WithDeviceIds(Aws::Vector< Aws::String > &&value)
BatchGetDevicePositionRequest & AddDeviceIds(Aws::String &&value)
BatchGetDevicePositionRequest & WithTrackerName(const Aws::String &value)
BatchGetDevicePositionRequest & AddDeviceIds(const Aws::String &value)
BatchGetDevicePositionRequest & WithDeviceIds(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector