AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchEvaluateGeofencesRequest.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 <aws/location/model/DevicePositionUpdate.h>
12#include <utility>
13
14namespace Aws
15{
16namespace LocationService
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LOCATIONSERVICE_API BatchEvaluateGeofencesRequest() = default;
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_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetCollectionName() const { return m_collectionName; }
43 inline bool CollectionNameHasBeenSet() const { return m_collectionNameHasBeenSet; }
44 template<typename CollectionNameT = Aws::String>
45 void SetCollectionName(CollectionNameT&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::forward<CollectionNameT>(value); }
46 template<typename CollectionNameT = Aws::String>
47 BatchEvaluateGeofencesRequest& WithCollectionName(CollectionNameT&& value) { SetCollectionName(std::forward<CollectionNameT>(value)); return *this;}
49
51
55 inline const Aws::Vector<DevicePositionUpdate>& GetDevicePositionUpdates() const { return m_devicePositionUpdates; }
56 inline bool DevicePositionUpdatesHasBeenSet() const { return m_devicePositionUpdatesHasBeenSet; }
57 template<typename DevicePositionUpdatesT = Aws::Vector<DevicePositionUpdate>>
58 void SetDevicePositionUpdates(DevicePositionUpdatesT&& value) { m_devicePositionUpdatesHasBeenSet = true; m_devicePositionUpdates = std::forward<DevicePositionUpdatesT>(value); }
59 template<typename DevicePositionUpdatesT = Aws::Vector<DevicePositionUpdate>>
60 BatchEvaluateGeofencesRequest& WithDevicePositionUpdates(DevicePositionUpdatesT&& value) { SetDevicePositionUpdates(std::forward<DevicePositionUpdatesT>(value)); return *this;}
61 template<typename DevicePositionUpdatesT = DevicePositionUpdate>
62 BatchEvaluateGeofencesRequest& AddDevicePositionUpdates(DevicePositionUpdatesT&& value) { m_devicePositionUpdatesHasBeenSet = true; m_devicePositionUpdates.emplace_back(std::forward<DevicePositionUpdatesT>(value)); return *this; }
64 private:
65
66 Aws::String m_collectionName;
67 bool m_collectionNameHasBeenSet = false;
68
69 Aws::Vector<DevicePositionUpdate> m_devicePositionUpdates;
70 bool m_devicePositionUpdatesHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace LocationService
75} // namespace Aws
BatchEvaluateGeofencesRequest & WithDevicePositionUpdates(DevicePositionUpdatesT &&value)
AWS_LOCATIONSERVICE_API BatchEvaluateGeofencesRequest()=default
const Aws::Vector< DevicePositionUpdate > & GetDevicePositionUpdates() const
BatchEvaluateGeofencesRequest & WithCollectionName(CollectionNameT &&value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
BatchEvaluateGeofencesRequest & AddDevicePositionUpdates(DevicePositionUpdatesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector