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

The Amazon Resource Name (ARN) for the geofence collection to be associated * to tracker resource. Used when you need to specify a resource across all * AWS.

  • Format example: * arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer *

*/ inline const Aws::String& GetConsumerArn() const{ return m_consumerArn; } /** *

The Amazon Resource Name (ARN) for the geofence collection to be associated * to tracker resource. Used when you need to specify a resource across all * AWS.

  • Format example: * arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer *

*/ inline bool ConsumerArnHasBeenSet() const { return m_consumerArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the geofence collection to be associated * to tracker resource. Used when you need to specify a resource across all * AWS.

  • Format example: * arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer *

*/ inline void SetConsumerArn(const Aws::String& value) { m_consumerArnHasBeenSet = true; m_consumerArn = value; } /** *

The Amazon Resource Name (ARN) for the geofence collection to be associated * to tracker resource. Used when you need to specify a resource across all * AWS.

  • Format example: * arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer *

*/ inline void SetConsumerArn(Aws::String&& value) { m_consumerArnHasBeenSet = true; m_consumerArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the geofence collection to be associated * to tracker resource. Used when you need to specify a resource across all * AWS.

  • Format example: * arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer *

*/ inline void SetConsumerArn(const char* value) { m_consumerArnHasBeenSet = true; m_consumerArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the geofence collection to be associated * to tracker resource. Used when you need to specify a resource across all * AWS.

  • Format example: * arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer *

*/ inline AssociateTrackerConsumerRequest& WithConsumerArn(const Aws::String& value) { SetConsumerArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the geofence collection to be associated * to tracker resource. Used when you need to specify a resource across all * AWS.

  • Format example: * arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer *

*/ inline AssociateTrackerConsumerRequest& WithConsumerArn(Aws::String&& value) { SetConsumerArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the geofence collection to be associated * to tracker resource. Used when you need to specify a resource across all * AWS.

  • Format example: * arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer *

*/ inline AssociateTrackerConsumerRequest& WithConsumerArn(const char* value) { SetConsumerArn(value); return *this;} /** *

The name of the tracker resource to be associated with a geofence * collection.

*/ inline const Aws::String& GetTrackerName() const{ return m_trackerName; } /** *

The name of the tracker resource to be associated with a geofence * collection.

*/ inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } /** *

The name of the tracker resource to be associated with a geofence * collection.

*/ inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } /** *

The name of the tracker resource to be associated with a geofence * collection.

*/ inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } /** *

The name of the tracker resource to be associated with a geofence * collection.

*/ inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } /** *

The name of the tracker resource to be associated with a geofence * collection.

*/ inline AssociateTrackerConsumerRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} /** *

The name of the tracker resource to be associated with a geofence * collection.

*/ inline AssociateTrackerConsumerRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} /** *

The name of the tracker resource to be associated with a geofence * collection.

*/ inline AssociateTrackerConsumerRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} private: Aws::String m_consumerArn; bool m_consumerArnHasBeenSet; Aws::String m_trackerName; bool m_trackerNameHasBeenSet; }; } // namespace Model } // namespace LocationService } // namespace Aws