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

The name of the geofence collection to update.

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

The name of the geofence collection to update.

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

The name of the geofence collection to update.

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

The name of the geofence collection to update.

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

The name of the geofence collection to update.

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

The name of the geofence collection to update.

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

The name of the geofence collection to update.

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

The name of the geofence collection to update.

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

Updates the description for the geofence collection.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

Updates the description for the geofence collection.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

Updates the description for the geofence collection.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

Updates the description for the geofence collection.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

Updates the description for the geofence collection.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

Updates the description for the geofence collection.

*/ inline UpdateGeofenceCollectionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

Updates the description for the geofence collection.

*/ inline UpdateGeofenceCollectionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

Updates the description for the geofence collection.

*/ inline UpdateGeofenceCollectionRequest& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_collectionName; bool m_collectionNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace LocationService } // namespace Aws