/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace LocationService { namespace Model { /** */ class BatchEvaluateGeofencesRequest : public LocationServiceRequest { public: AWS_LOCATIONSERVICE_API BatchEvaluateGeofencesRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "BatchEvaluateGeofences"; } AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; /** *

The geofence collection used in evaluating the position of devices against * its geofences.

*/ inline const Aws::String& GetCollectionName() const{ return m_collectionName; } /** *

The geofence collection used in evaluating the position of devices against * its geofences.

*/ inline bool CollectionNameHasBeenSet() const { return m_collectionNameHasBeenSet; } /** *

The geofence collection used in evaluating the position of devices against * its geofences.

*/ inline void SetCollectionName(const Aws::String& value) { m_collectionNameHasBeenSet = true; m_collectionName = value; } /** *

The geofence collection used in evaluating the position of devices against * its geofences.

*/ inline void SetCollectionName(Aws::String&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::move(value); } /** *

The geofence collection used in evaluating the position of devices against * its geofences.

*/ inline void SetCollectionName(const char* value) { m_collectionNameHasBeenSet = true; m_collectionName.assign(value); } /** *

The geofence collection used in evaluating the position of devices against * its geofences.

*/ inline BatchEvaluateGeofencesRequest& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;} /** *

The geofence collection used in evaluating the position of devices against * its geofences.

*/ inline BatchEvaluateGeofencesRequest& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;} /** *

The geofence collection used in evaluating the position of devices against * its geofences.

*/ inline BatchEvaluateGeofencesRequest& WithCollectionName(const char* value) { SetCollectionName(value); return *this;} /** *

Contains device details for each device to be evaluated against the given * geofence collection.

*/ inline const Aws::Vector& GetDevicePositionUpdates() const{ return m_devicePositionUpdates; } /** *

Contains device details for each device to be evaluated against the given * geofence collection.

*/ inline bool DevicePositionUpdatesHasBeenSet() const { return m_devicePositionUpdatesHasBeenSet; } /** *

Contains device details for each device to be evaluated against the given * geofence collection.

*/ inline void SetDevicePositionUpdates(const Aws::Vector& value) { m_devicePositionUpdatesHasBeenSet = true; m_devicePositionUpdates = value; } /** *

Contains device details for each device to be evaluated against the given * geofence collection.

*/ inline void SetDevicePositionUpdates(Aws::Vector&& value) { m_devicePositionUpdatesHasBeenSet = true; m_devicePositionUpdates = std::move(value); } /** *

Contains device details for each device to be evaluated against the given * geofence collection.

*/ inline BatchEvaluateGeofencesRequest& WithDevicePositionUpdates(const Aws::Vector& value) { SetDevicePositionUpdates(value); return *this;} /** *

Contains device details for each device to be evaluated against the given * geofence collection.

*/ inline BatchEvaluateGeofencesRequest& WithDevicePositionUpdates(Aws::Vector&& value) { SetDevicePositionUpdates(std::move(value)); return *this;} /** *

Contains device details for each device to be evaluated against the given * geofence collection.

*/ inline BatchEvaluateGeofencesRequest& AddDevicePositionUpdates(const DevicePositionUpdate& value) { m_devicePositionUpdatesHasBeenSet = true; m_devicePositionUpdates.push_back(value); return *this; } /** *

Contains device details for each device to be evaluated against the given * geofence collection.

*/ inline BatchEvaluateGeofencesRequest& AddDevicePositionUpdates(DevicePositionUpdate&& value) { m_devicePositionUpdatesHasBeenSet = true; m_devicePositionUpdates.push_back(std::move(value)); return *this; } private: Aws::String m_collectionName; bool m_collectionNameHasBeenSet = false; Aws::Vector m_devicePositionUpdates; bool m_devicePositionUpdatesHasBeenSet = false; }; } // namespace Model } // namespace LocationService } // namespace Aws