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

The name of the tracker resource to update.

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

The name of the tracker resource to update.

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

The name of the tracker resource to update.

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

The name of the tracker resource to update.

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

The name of the tracker resource to update.

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

The name of the tracker resource to update.

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

The name of the tracker resource to update.

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

The name of the tracker resource to update.

*/ inline BatchUpdateDevicePositionRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} /** *

Contains the position update details for each device, up to 10 devices.

*/ inline const Aws::Vector& GetUpdates() const{ return m_updates; } /** *

Contains the position update details for each device, up to 10 devices.

*/ inline bool UpdatesHasBeenSet() const { return m_updatesHasBeenSet; } /** *

Contains the position update details for each device, up to 10 devices.

*/ inline void SetUpdates(const Aws::Vector& value) { m_updatesHasBeenSet = true; m_updates = value; } /** *

Contains the position update details for each device, up to 10 devices.

*/ inline void SetUpdates(Aws::Vector&& value) { m_updatesHasBeenSet = true; m_updates = std::move(value); } /** *

Contains the position update details for each device, up to 10 devices.

*/ inline BatchUpdateDevicePositionRequest& WithUpdates(const Aws::Vector& value) { SetUpdates(value); return *this;} /** *

Contains the position update details for each device, up to 10 devices.

*/ inline BatchUpdateDevicePositionRequest& WithUpdates(Aws::Vector&& value) { SetUpdates(std::move(value)); return *this;} /** *

Contains the position update details for each device, up to 10 devices.

*/ inline BatchUpdateDevicePositionRequest& AddUpdates(const DevicePositionUpdate& value) { m_updatesHasBeenSet = true; m_updates.push_back(value); return *this; } /** *

Contains the position update details for each device, up to 10 devices.

*/ inline BatchUpdateDevicePositionRequest& AddUpdates(DevicePositionUpdate&& value) { m_updatesHasBeenSet = true; m_updates.push_back(std::move(value)); return *this; } private: Aws::String m_trackerName; bool m_trackerNameHasBeenSet = false; Aws::Vector m_updates; bool m_updatesHasBeenSet = false; }; } // namespace Model } // namespace LocationService } // namespace Aws