AWS SDK for C++  1.9.40
AWS SDK for C++
BatchEvaluateGeofencesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace LocationService
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "BatchEvaluateGeofences"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
41  inline const Aws::String& GetCollectionName() const{ return m_collectionName; }
42 
47  inline bool CollectionNameHasBeenSet() const { return m_collectionNameHasBeenSet; }
48 
53  inline void SetCollectionName(const Aws::String& value) { m_collectionNameHasBeenSet = true; m_collectionName = value; }
54 
59  inline void SetCollectionName(Aws::String&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::move(value); }
60 
65  inline void SetCollectionName(const char* value) { m_collectionNameHasBeenSet = true; m_collectionName.assign(value); }
66 
71  inline BatchEvaluateGeofencesRequest& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;}
72 
77  inline BatchEvaluateGeofencesRequest& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;}
78 
83  inline BatchEvaluateGeofencesRequest& WithCollectionName(const char* value) { SetCollectionName(value); return *this;}
84 
85 
90  inline const Aws::Vector<DevicePositionUpdate>& GetDevicePositionUpdates() const{ return m_devicePositionUpdates; }
91 
96  inline bool DevicePositionUpdatesHasBeenSet() const { return m_devicePositionUpdatesHasBeenSet; }
97 
102  inline void SetDevicePositionUpdates(const Aws::Vector<DevicePositionUpdate>& value) { m_devicePositionUpdatesHasBeenSet = true; m_devicePositionUpdates = value; }
103 
108  inline void SetDevicePositionUpdates(Aws::Vector<DevicePositionUpdate>&& value) { m_devicePositionUpdatesHasBeenSet = true; m_devicePositionUpdates = std::move(value); }
109 
114  inline BatchEvaluateGeofencesRequest& WithDevicePositionUpdates(const Aws::Vector<DevicePositionUpdate>& value) { SetDevicePositionUpdates(value); return *this;}
115 
120  inline BatchEvaluateGeofencesRequest& WithDevicePositionUpdates(Aws::Vector<DevicePositionUpdate>&& value) { SetDevicePositionUpdates(std::move(value)); return *this;}
121 
126  inline BatchEvaluateGeofencesRequest& AddDevicePositionUpdates(const DevicePositionUpdate& value) { m_devicePositionUpdatesHasBeenSet = true; m_devicePositionUpdates.push_back(value); return *this; }
127 
132  inline BatchEvaluateGeofencesRequest& AddDevicePositionUpdates(DevicePositionUpdate&& value) { m_devicePositionUpdatesHasBeenSet = true; m_devicePositionUpdates.push_back(std::move(value)); return *this; }
133 
134  private:
135 
136  Aws::String m_collectionName;
137  bool m_collectionNameHasBeenSet;
138 
139  Aws::Vector<DevicePositionUpdate> m_devicePositionUpdates;
140  bool m_devicePositionUpdatesHasBeenSet;
141  };
142 
143 } // namespace Model
144 } // namespace LocationService
145 } // namespace Aws
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::WithDevicePositionUpdates
BatchEvaluateGeofencesRequest & WithDevicePositionUpdates(Aws::Vector< DevicePositionUpdate > &&value)
Definition: BatchEvaluateGeofencesRequest.h:120
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::WithCollectionName
BatchEvaluateGeofencesRequest & WithCollectionName(const char *value)
Definition: BatchEvaluateGeofencesRequest.h:83
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::WithCollectionName
BatchEvaluateGeofencesRequest & WithCollectionName(const Aws::String &value)
Definition: BatchEvaluateGeofencesRequest.h:71
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchEvaluateGeofencesRequest.h:32
Aws::LocationService::Model::DevicePositionUpdate
Definition: DevicePositionUpdate.h:35
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::SetCollectionName
void SetCollectionName(Aws::String &&value)
Definition: BatchEvaluateGeofencesRequest.h:59
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::WithDevicePositionUpdates
BatchEvaluateGeofencesRequest & WithDevicePositionUpdates(const Aws::Vector< DevicePositionUpdate > &value)
Definition: BatchEvaluateGeofencesRequest.h:114
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::AddDevicePositionUpdates
BatchEvaluateGeofencesRequest & AddDevicePositionUpdates(DevicePositionUpdate &&value)
Definition: BatchEvaluateGeofencesRequest.h:132
AWSVector.h
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
LocationServiceRequest.h
LocationService_EXPORTS.h
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::BatchEvaluateGeofencesRequest
BatchEvaluateGeofencesRequest()
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::SetDevicePositionUpdates
void SetDevicePositionUpdates(const Aws::Vector< DevicePositionUpdate > &value)
Definition: BatchEvaluateGeofencesRequest.h:102
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::SetDevicePositionUpdates
void SetDevicePositionUpdates(Aws::Vector< DevicePositionUpdate > &&value)
Definition: BatchEvaluateGeofencesRequest.h:108
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::GetCollectionName
const Aws::String & GetCollectionName() const
Definition: BatchEvaluateGeofencesRequest.h:41
Aws::LocationService::Model::BatchEvaluateGeofencesRequest
Definition: BatchEvaluateGeofencesRequest.h:24
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::SetCollectionName
void SetCollectionName(const char *value)
Definition: BatchEvaluateGeofencesRequest.h:65
AWSString.h
DevicePositionUpdate.h
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::CollectionNameHasBeenSet
bool CollectionNameHasBeenSet() const
Definition: BatchEvaluateGeofencesRequest.h:47
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::GetDevicePositionUpdates
const Aws::Vector< DevicePositionUpdate > & GetDevicePositionUpdates() const
Definition: BatchEvaluateGeofencesRequest.h:90
Aws
Definition: AccessManagementClient.h:15
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::DevicePositionUpdatesHasBeenSet
bool DevicePositionUpdatesHasBeenSet() const
Definition: BatchEvaluateGeofencesRequest.h:96
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::WithCollectionName
BatchEvaluateGeofencesRequest & WithCollectionName(Aws::String &&value)
Definition: BatchEvaluateGeofencesRequest.h:77
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::SetCollectionName
void SetCollectionName(const Aws::String &value)
Definition: BatchEvaluateGeofencesRequest.h:53
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17
Aws::LocationService::Model::BatchEvaluateGeofencesRequest::AddDevicePositionUpdates
BatchEvaluateGeofencesRequest & AddDevicePositionUpdates(const DevicePositionUpdate &value)
Definition: BatchEvaluateGeofencesRequest.h:126