AWS SDK for C++  1.9.131
AWS SDK for C++
BatchDeleteDevicePositionHistoryRequest.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 "BatchDeleteDevicePositionHistory"; }
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 BatchDeleteDevicePositionHistoryRequest& WithDeviceIds(const Aws::Vector<Aws::String>& value) { SetDeviceIds(value); return *this;}
70 
76  inline BatchDeleteDevicePositionHistoryRequest& WithDeviceIds(Aws::Vector<Aws::String>&& value) { SetDeviceIds(std::move(value)); return *this;}
77 
83  inline BatchDeleteDevicePositionHistoryRequest& AddDeviceIds(const Aws::String& value) { m_deviceIdsHasBeenSet = true; m_deviceIds.push_back(value); return *this; }
84 
90  inline BatchDeleteDevicePositionHistoryRequest& AddDeviceIds(Aws::String&& value) { m_deviceIdsHasBeenSet = true; m_deviceIds.push_back(std::move(value)); return *this; }
91 
97  inline BatchDeleteDevicePositionHistoryRequest& AddDeviceIds(const char* value) { m_deviceIdsHasBeenSet = true; m_deviceIds.push_back(value); return *this; }
98 
99 
104  inline const Aws::String& GetTrackerName() const{ return m_trackerName; }
105 
110  inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; }
111 
116  inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; }
117 
122  inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); }
123 
128  inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); }
129 
134  inline BatchDeleteDevicePositionHistoryRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;}
135 
140  inline BatchDeleteDevicePositionHistoryRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;}
141 
146  inline BatchDeleteDevicePositionHistoryRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;}
147 
148  private:
149 
150  Aws::Vector<Aws::String> m_deviceIds;
151  bool m_deviceIdsHasBeenSet;
152 
153  Aws::String m_trackerName;
154  bool m_trackerNameHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace LocationService
159 } // namespace Aws
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest
Definition: BatchDeleteDevicePositionHistoryRequest.h:23
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::TrackerNameHasBeenSet
bool TrackerNameHasBeenSet() const
Definition: BatchDeleteDevicePositionHistoryRequest.h:110
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::WithTrackerName
BatchDeleteDevicePositionHistoryRequest & WithTrackerName(const char *value)
Definition: BatchDeleteDevicePositionHistoryRequest.h:146
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::SetDeviceIds
void SetDeviceIds(const Aws::Vector< Aws::String > &value)
Definition: BatchDeleteDevicePositionHistoryRequest.h:55
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
LocationServiceRequest.h
LocationService_EXPORTS.h
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::WithTrackerName
BatchDeleteDevicePositionHistoryRequest & WithTrackerName(Aws::String &&value)
Definition: BatchDeleteDevicePositionHistoryRequest.h:140
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::SetTrackerName
void SetTrackerName(const char *value)
Definition: BatchDeleteDevicePositionHistoryRequest.h:128
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::AddDeviceIds
BatchDeleteDevicePositionHistoryRequest & AddDeviceIds(const char *value)
Definition: BatchDeleteDevicePositionHistoryRequest.h:97
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::GetDeviceIds
const Aws::Vector< Aws::String > & GetDeviceIds() const
Definition: BatchDeleteDevicePositionHistoryRequest.h:41
AWSString.h
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::GetTrackerName
const Aws::String & GetTrackerName() const
Definition: BatchDeleteDevicePositionHistoryRequest.h:104
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::WithDeviceIds
BatchDeleteDevicePositionHistoryRequest & WithDeviceIds(Aws::Vector< Aws::String > &&value)
Definition: BatchDeleteDevicePositionHistoryRequest.h:76
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::WithDeviceIds
BatchDeleteDevicePositionHistoryRequest & WithDeviceIds(const Aws::Vector< Aws::String > &value)
Definition: BatchDeleteDevicePositionHistoryRequest.h:69
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::SetDeviceIds
void SetDeviceIds(Aws::Vector< Aws::String > &&value)
Definition: BatchDeleteDevicePositionHistoryRequest.h:62
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::SetTrackerName
void SetTrackerName(Aws::String &&value)
Definition: BatchDeleteDevicePositionHistoryRequest.h:122
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::WithTrackerName
BatchDeleteDevicePositionHistoryRequest & WithTrackerName(const Aws::String &value)
Definition: BatchDeleteDevicePositionHistoryRequest.h:134
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::BatchDeleteDevicePositionHistoryRequest
BatchDeleteDevicePositionHistoryRequest()
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::DeviceIdsHasBeenSet
bool DeviceIdsHasBeenSet() const
Definition: BatchDeleteDevicePositionHistoryRequest.h:48
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchDeleteDevicePositionHistoryRequest.h:31
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::AddDeviceIds
BatchDeleteDevicePositionHistoryRequest & AddDeviceIds(const Aws::String &value)
Definition: BatchDeleteDevicePositionHistoryRequest.h:83
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::SetTrackerName
void SetTrackerName(const Aws::String &value)
Definition: BatchDeleteDevicePositionHistoryRequest.h:116
Aws::LocationService::Model::BatchDeleteDevicePositionHistoryRequest::AddDeviceIds
BatchDeleteDevicePositionHistoryRequest & AddDeviceIds(Aws::String &&value)
Definition: BatchDeleteDevicePositionHistoryRequest.h:90