/** * 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 BatchPutGeofenceRequest : public LocationServiceRequest { public: AWS_LOCATIONSERVICE_API BatchPutGeofenceRequest(); // 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 "BatchPutGeofence"; } AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; /** *

The geofence collection storing the geofences.

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

The geofence collection storing the geofences.

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

The geofence collection storing the geofences.

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

The geofence collection storing the geofences.

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

The geofence collection storing the geofences.

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

The geofence collection storing the geofences.

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

The geofence collection storing the geofences.

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

The geofence collection storing the geofences.

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

The batch of geofences to be stored in a geofence collection.

*/ inline const Aws::Vector& GetEntries() const{ return m_entries; } /** *

The batch of geofences to be stored in a geofence collection.

*/ inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; } /** *

The batch of geofences to be stored in a geofence collection.

*/ inline void SetEntries(const Aws::Vector& value) { m_entriesHasBeenSet = true; m_entries = value; } /** *

The batch of geofences to be stored in a geofence collection.

*/ inline void SetEntries(Aws::Vector&& value) { m_entriesHasBeenSet = true; m_entries = std::move(value); } /** *

The batch of geofences to be stored in a geofence collection.

*/ inline BatchPutGeofenceRequest& WithEntries(const Aws::Vector& value) { SetEntries(value); return *this;} /** *

The batch of geofences to be stored in a geofence collection.

*/ inline BatchPutGeofenceRequest& WithEntries(Aws::Vector&& value) { SetEntries(std::move(value)); return *this;} /** *

The batch of geofences to be stored in a geofence collection.

*/ inline BatchPutGeofenceRequest& AddEntries(const BatchPutGeofenceRequestEntry& value) { m_entriesHasBeenSet = true; m_entries.push_back(value); return *this; } /** *

The batch of geofences to be stored in a geofence collection.

*/ inline BatchPutGeofenceRequest& AddEntries(BatchPutGeofenceRequestEntry&& value) { m_entriesHasBeenSet = true; m_entries.push_back(std::move(value)); return *this; } private: Aws::String m_collectionName; bool m_collectionNameHasBeenSet = false; Aws::Vector m_entries; bool m_entriesHasBeenSet = false; }; } // namespace Model } // namespace LocationService } // namespace Aws