/** * 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 IoTFleetWise { namespace Model { /** */ class GetVehicleRequest : public IoTFleetWiseRequest { public: AWS_IOTFLEETWISE_API GetVehicleRequest(); // 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 "GetVehicle"; } AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override; AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the vehicle to retrieve information about.

*/ inline const Aws::String& GetVehicleName() const{ return m_vehicleName; } /** *

The ID of the vehicle to retrieve information about.

*/ inline bool VehicleNameHasBeenSet() const { return m_vehicleNameHasBeenSet; } /** *

The ID of the vehicle to retrieve information about.

*/ inline void SetVehicleName(const Aws::String& value) { m_vehicleNameHasBeenSet = true; m_vehicleName = value; } /** *

The ID of the vehicle to retrieve information about.

*/ inline void SetVehicleName(Aws::String&& value) { m_vehicleNameHasBeenSet = true; m_vehicleName = std::move(value); } /** *

The ID of the vehicle to retrieve information about.

*/ inline void SetVehicleName(const char* value) { m_vehicleNameHasBeenSet = true; m_vehicleName.assign(value); } /** *

The ID of the vehicle to retrieve information about.

*/ inline GetVehicleRequest& WithVehicleName(const Aws::String& value) { SetVehicleName(value); return *this;} /** *

The ID of the vehicle to retrieve information about.

*/ inline GetVehicleRequest& WithVehicleName(Aws::String&& value) { SetVehicleName(std::move(value)); return *this;} /** *

The ID of the vehicle to retrieve information about.

*/ inline GetVehicleRequest& WithVehicleName(const char* value) { SetVehicleName(value); return *this;} private: Aws::String m_vehicleName; bool m_vehicleNameHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws