AWS SDK for C++  1.9.131
AWS SDK for C++
BatchGetDevicePositionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace LocationService
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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::String SerializePayload() const override;
34 
35 
41  inline const Aws::Vector<Aws::String>& GetDeviceIds() const{ return m_deviceIds; }
42 
48  inline bool DeviceIdsHasBeenSet() const { return m_deviceIdsHasBeenSet; }
49 
55  inline void SetDeviceIds(const Aws::Vector<Aws::String>& value) { m_deviceIdsHasBeenSet = true; m_deviceIds = value; }
56 
62  inline void SetDeviceIds(Aws::Vector<Aws::String>&& value) { m_deviceIdsHasBeenSet = true; m_deviceIds = std::move(value); }
63 
69  inline BatchGetDevicePositionRequest& WithDeviceIds(const Aws::Vector<Aws::String>& value) { SetDeviceIds(value); return *this;}
70 
76  inline BatchGetDevicePositionRequest& WithDeviceIds(Aws::Vector<Aws::String>&& value) { SetDeviceIds(std::move(value)); return *this;}
77 
83  inline BatchGetDevicePositionRequest& AddDeviceIds(const Aws::String& value) { m_deviceIdsHasBeenSet = true; m_deviceIds.push_back(value); return *this; }
84 
90  inline BatchGetDevicePositionRequest& AddDeviceIds(Aws::String&& value) { m_deviceIdsHasBeenSet = true; m_deviceIds.push_back(std::move(value)); return *this; }
91 
97  inline BatchGetDevicePositionRequest& AddDeviceIds(const char* value) { m_deviceIdsHasBeenSet = true; m_deviceIds.push_back(value); return *this; }
98 
99 
103  inline const Aws::String& GetTrackerName() const{ return m_trackerName; }
104 
108  inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; }
109 
113  inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; }
114 
118  inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); }
119 
123  inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); }
124 
128  inline BatchGetDevicePositionRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;}
129 
133  inline BatchGetDevicePositionRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;}
134 
138  inline BatchGetDevicePositionRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;}
139 
140  private:
141 
142  Aws::Vector<Aws::String> m_deviceIds;
143  bool m_deviceIdsHasBeenSet;
144 
145  Aws::String m_trackerName;
146  bool m_trackerNameHasBeenSet;
147  };
148 
149 } // namespace Model
150 } // namespace LocationService
151 } // namespace Aws
Aws::LocationService::Model::BatchGetDevicePositionRequest::WithTrackerName
BatchGetDevicePositionRequest & WithTrackerName(const Aws::String &value)
Definition: BatchGetDevicePositionRequest.h:128
Aws::LocationService::Model::BatchGetDevicePositionRequest::SetDeviceIds
void SetDeviceIds(const Aws::Vector< Aws::String > &value)
Definition: BatchGetDevicePositionRequest.h:55
Aws::LocationService::Model::BatchGetDevicePositionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::LocationService::Model::BatchGetDevicePositionRequest::WithTrackerName
BatchGetDevicePositionRequest & WithTrackerName(const char *value)
Definition: BatchGetDevicePositionRequest.h:138
AWSVector.h
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
Aws::LocationService::Model::BatchGetDevicePositionRequest::WithTrackerName
BatchGetDevicePositionRequest & WithTrackerName(Aws::String &&value)
Definition: BatchGetDevicePositionRequest.h:133
LocationServiceRequest.h
LocationService_EXPORTS.h
Aws::LocationService::Model::BatchGetDevicePositionRequest::AddDeviceIds
BatchGetDevicePositionRequest & AddDeviceIds(const char *value)
Definition: BatchGetDevicePositionRequest.h:97
Aws::LocationService::Model::BatchGetDevicePositionRequest::DeviceIdsHasBeenSet
bool DeviceIdsHasBeenSet() const
Definition: BatchGetDevicePositionRequest.h:48
Aws::LocationService::Model::BatchGetDevicePositionRequest::GetDeviceIds
const Aws::Vector< Aws::String > & GetDeviceIds() const
Definition: BatchGetDevicePositionRequest.h:41
Aws::LocationService::Model::BatchGetDevicePositionRequest::SetTrackerName
void SetTrackerName(Aws::String &&value)
Definition: BatchGetDevicePositionRequest.h:118
Aws::LocationService::Model::BatchGetDevicePositionRequest::SetTrackerName
void SetTrackerName(const Aws::String &value)
Definition: BatchGetDevicePositionRequest.h:113
Aws::LocationService::Model::BatchGetDevicePositionRequest::SetTrackerName
void SetTrackerName(const char *value)
Definition: BatchGetDevicePositionRequest.h:123
AWSString.h
Aws::LocationService::Model::BatchGetDevicePositionRequest::AddDeviceIds
BatchGetDevicePositionRequest & AddDeviceIds(Aws::String &&value)
Definition: BatchGetDevicePositionRequest.h:90
Aws::LocationService::Model::BatchGetDevicePositionRequest::SetDeviceIds
void SetDeviceIds(Aws::Vector< Aws::String > &&value)
Definition: BatchGetDevicePositionRequest.h:62
Aws::LocationService::Model::BatchGetDevicePositionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchGetDevicePositionRequest.h:31
Aws::LocationService::Model::BatchGetDevicePositionRequest::BatchGetDevicePositionRequest
BatchGetDevicePositionRequest()
Aws::LocationService::Model::BatchGetDevicePositionRequest::GetTrackerName
const Aws::String & GetTrackerName() const
Definition: BatchGetDevicePositionRequest.h:103
Aws
Definition: AccessManagementClient.h:15
Aws::LocationService::Model::BatchGetDevicePositionRequest::TrackerNameHasBeenSet
bool TrackerNameHasBeenSet() const
Definition: BatchGetDevicePositionRequest.h:108
Aws::LocationService::Model::BatchGetDevicePositionRequest::WithDeviceIds
BatchGetDevicePositionRequest & WithDeviceIds(Aws::Vector< Aws::String > &&value)
Definition: BatchGetDevicePositionRequest.h:76
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::BatchGetDevicePositionRequest::WithDeviceIds
BatchGetDevicePositionRequest & WithDeviceIds(const Aws::Vector< Aws::String > &value)
Definition: BatchGetDevicePositionRequest.h:69
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17
Aws::LocationService::Model::BatchGetDevicePositionRequest
Definition: BatchGetDevicePositionRequest.h:23
Aws::LocationService::Model::BatchGetDevicePositionRequest::AddDeviceIds
BatchGetDevicePositionRequest & AddDeviceIds(const Aws::String &value)
Definition: BatchGetDevicePositionRequest.h:83