AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCollectionName(const Aws::String& value) { m_collectionNameHasBeenSet = true; m_collectionName = value; }
45 inline void SetCollectionName(Aws::String&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::move(value); }
46 inline void SetCollectionName(const char* value) { m_collectionNameHasBeenSet = true; m_collectionName.assign(value); }
48 inline BatchEvaluateGeofencesRequest& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;}
49 inline BatchEvaluateGeofencesRequest& WithCollectionName(const char* value) { SetCollectionName(value); return *this;}
51
53
57 inline const Aws::Vector<DevicePositionUpdate>& GetDevicePositionUpdates() const{ return m_devicePositionUpdates; }
58 inline bool DevicePositionUpdatesHasBeenSet() const { return m_devicePositionUpdatesHasBeenSet; }
59 inline void SetDevicePositionUpdates(const Aws::Vector<DevicePositionUpdate>& value) { m_devicePositionUpdatesHasBeenSet = true; m_devicePositionUpdates = value; }
60 inline void SetDevicePositionUpdates(Aws::Vector<DevicePositionUpdate>&& value) { m_devicePositionUpdatesHasBeenSet = true; m_devicePositionUpdates = std::move(value); }
63 inline BatchEvaluateGeofencesRequest& AddDevicePositionUpdates(const DevicePositionUpdate& value) { m_devicePositionUpdatesHasBeenSet = true; m_devicePositionUpdates.push_back(value); return *this; }
64 inline BatchEvaluateGeofencesRequest& AddDevicePositionUpdates(DevicePositionUpdate&& value) { m_devicePositionUpdatesHasBeenSet = true; m_devicePositionUpdates.push_back(std::move(value)); return *this; }
66 private:
67
68 Aws::String m_collectionName;
69 bool m_collectionNameHasBeenSet = false;
70
71 Aws::Vector<DevicePositionUpdate> m_devicePositionUpdates;
72 bool m_devicePositionUpdatesHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace LocationService
77} // namespace Aws
BatchEvaluateGeofencesRequest & WithCollectionName(const Aws::String &value)
BatchEvaluateGeofencesRequest & AddDevicePositionUpdates(const DevicePositionUpdate &value)
BatchEvaluateGeofencesRequest & WithDevicePositionUpdates(const Aws::Vector< DevicePositionUpdate > &value)
const Aws::Vector< DevicePositionUpdate > & GetDevicePositionUpdates() const
void SetDevicePositionUpdates(const Aws::Vector< DevicePositionUpdate > &value)
BatchEvaluateGeofencesRequest & WithCollectionName(Aws::String &&value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
BatchEvaluateGeofencesRequest & WithDevicePositionUpdates(Aws::Vector< DevicePositionUpdate > &&value)
BatchEvaluateGeofencesRequest & WithCollectionName(const char *value)
BatchEvaluateGeofencesRequest & AddDevicePositionUpdates(DevicePositionUpdate &&value)
void SetDevicePositionUpdates(Aws::Vector< DevicePositionUpdate > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector