/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace LocationService { namespace Model { /** */ class GetGeofenceRequest : public LocationServiceRequest { public: AWS_LOCATIONSERVICE_API GetGeofenceRequest(); // 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 "GetGeofence"; } AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; /** *

The geofence collection storing the target geofence.

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

The geofence collection storing the target geofence.

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

The geofence collection storing the target geofence.

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

The geofence collection storing the target geofence.

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

The geofence collection storing the target geofence.

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

The geofence collection storing the target geofence.

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

The geofence collection storing the target geofence.

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

The geofence collection storing the target geofence.

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

The geofence you're retrieving details for.

*/ inline const Aws::String& GetGeofenceId() const{ return m_geofenceId; } /** *

The geofence you're retrieving details for.

*/ inline bool GeofenceIdHasBeenSet() const { return m_geofenceIdHasBeenSet; } /** *

The geofence you're retrieving details for.

*/ inline void SetGeofenceId(const Aws::String& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = value; } /** *

The geofence you're retrieving details for.

*/ inline void SetGeofenceId(Aws::String&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::move(value); } /** *

The geofence you're retrieving details for.

*/ inline void SetGeofenceId(const char* value) { m_geofenceIdHasBeenSet = true; m_geofenceId.assign(value); } /** *

The geofence you're retrieving details for.

*/ inline GetGeofenceRequest& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;} /** *

The geofence you're retrieving details for.

*/ inline GetGeofenceRequest& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;} /** *

The geofence you're retrieving details for.

*/ inline GetGeofenceRequest& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;} private: Aws::String m_collectionName; bool m_collectionNameHasBeenSet = false; Aws::String m_geofenceId; bool m_geofenceIdHasBeenSet = false; }; } // namespace Model } // namespace LocationService } // namespace Aws