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

Devices whose position you want to retrieve.

  • For example, * for two devices: device-ids=DeviceId1&device-ids=DeviceId2

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

Devices whose position you want to retrieve.

  • For example, * for two devices: device-ids=DeviceId1&device-ids=DeviceId2

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

Devices whose position you want to retrieve.

  • For example, * for two devices: device-ids=DeviceId1&device-ids=DeviceId2

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

Devices whose position you want to retrieve.

  • For example, * for two devices: device-ids=DeviceId1&device-ids=DeviceId2

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

Devices whose position you want to retrieve.

  • For example, * for two devices: device-ids=DeviceId1&device-ids=DeviceId2

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

Devices whose position you want to retrieve.

  • For example, * for two devices: device-ids=DeviceId1&device-ids=DeviceId2

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

Devices whose position you want to retrieve.

  • For example, * for two devices: device-ids=DeviceId1&device-ids=DeviceId2

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

Devices whose position you want to retrieve.

  • For example, * for two devices: device-ids=DeviceId1&device-ids=DeviceId2

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

Devices whose position you want to retrieve.

  • For example, * for two devices: device-ids=DeviceId1&device-ids=DeviceId2

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

The tracker resource retrieving the device position.

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

The tracker resource retrieving the device position.

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

The tracker resource retrieving the device position.

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

The tracker resource retrieving the device position.

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

The tracker resource retrieving the device position.

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

The tracker resource retrieving the device position.

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

The tracker resource retrieving the device position.

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

The tracker resource retrieving the device position.

*/ inline BatchGetDevicePositionRequest& 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