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

Devices whose position history you want to delete.

  • For * example, for two devices: “DeviceIds” : [DeviceId1,DeviceId2]

    *
*/ inline const Aws::Vector& GetDeviceIds() const{ return m_deviceIds; } /** *

Devices whose position history you want to delete.

  • For * example, for two devices: “DeviceIds” : [DeviceId1,DeviceId2]

    *
*/ inline bool DeviceIdsHasBeenSet() const { return m_deviceIdsHasBeenSet; } /** *

Devices whose position history you want to delete.

  • For * example, for two devices: “DeviceIds” : [DeviceId1,DeviceId2]

    *
*/ inline void SetDeviceIds(const Aws::Vector& value) { m_deviceIdsHasBeenSet = true; m_deviceIds = value; } /** *

Devices whose position history you want to delete.

  • For * example, for two devices: “DeviceIds” : [DeviceId1,DeviceId2]

    *
*/ inline void SetDeviceIds(Aws::Vector&& value) { m_deviceIdsHasBeenSet = true; m_deviceIds = std::move(value); } /** *

Devices whose position history you want to delete.

  • For * example, for two devices: “DeviceIds” : [DeviceId1,DeviceId2]

    *
*/ inline BatchDeleteDevicePositionHistoryRequest& WithDeviceIds(const Aws::Vector& value) { SetDeviceIds(value); return *this;} /** *

Devices whose position history you want to delete.

  • For * example, for two devices: “DeviceIds” : [DeviceId1,DeviceId2]

    *
*/ inline BatchDeleteDevicePositionHistoryRequest& WithDeviceIds(Aws::Vector&& value) { SetDeviceIds(std::move(value)); return *this;} /** *

Devices whose position history you want to delete.

  • For * example, for two devices: “DeviceIds” : [DeviceId1,DeviceId2]

    *
*/ inline BatchDeleteDevicePositionHistoryRequest& AddDeviceIds(const Aws::String& value) { m_deviceIdsHasBeenSet = true; m_deviceIds.push_back(value); return *this; } /** *

Devices whose position history you want to delete.

  • For * example, for two devices: “DeviceIds” : [DeviceId1,DeviceId2]

    *
*/ inline BatchDeleteDevicePositionHistoryRequest& AddDeviceIds(Aws::String&& value) { m_deviceIdsHasBeenSet = true; m_deviceIds.push_back(std::move(value)); return *this; } /** *

Devices whose position history you want to delete.

  • For * example, for two devices: “DeviceIds” : [DeviceId1,DeviceId2]

    *
*/ inline BatchDeleteDevicePositionHistoryRequest& AddDeviceIds(const char* value) { m_deviceIdsHasBeenSet = true; m_deviceIds.push_back(value); return *this; } /** *

The name of the tracker resource to delete the device position history * from.

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

The name of the tracker resource to delete the device position history * from.

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

The name of the tracker resource to delete the device position history * from.

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

The name of the tracker resource to delete the device position history * from.

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

The name of the tracker resource to delete the device position history * from.

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

The name of the tracker resource to delete the device position history * from.

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

The name of the tracker resource to delete the device position history * from.

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

The name of the tracker resource to delete the device position history * from.

*/ inline BatchDeleteDevicePositionHistoryRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} private: Aws::Vector m_deviceIds; bool m_deviceIdsHasBeenSet = false; Aws::String m_trackerName; bool m_trackerNameHasBeenSet = false; }; } // namespace Model } // namespace LocationService } // namespace Aws