/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTFleetWise { namespace Model { /** *

Information about a created vehicle.

See Also:

AWS * API Reference

*/ class CreateVehicleResponseItem { public: AWS_IOTFLEETWISE_API CreateVehicleResponseItem(); AWS_IOTFLEETWISE_API CreateVehicleResponseItem(Aws::Utils::Json::JsonView jsonValue); AWS_IOTFLEETWISE_API CreateVehicleResponseItem& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique ID of the vehicle to create.

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

The unique ID of the vehicle to create.

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

The unique ID of the vehicle to create.

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

The unique ID of the vehicle to create.

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

The unique ID of the vehicle to create.

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

The unique ID of the vehicle to create.

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

The unique ID of the vehicle to create.

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

The unique ID of the vehicle to create.

*/ inline CreateVehicleResponseItem& WithVehicleName(const char* value) { SetVehicleName(value); return *this;} /** *

The ARN of the created vehicle.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN of the created vehicle.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The ARN of the created vehicle.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The ARN of the created vehicle.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The ARN of the created vehicle.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The ARN of the created vehicle.

*/ inline CreateVehicleResponseItem& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN of the created vehicle.

*/ inline CreateVehicleResponseItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN of the created vehicle.

*/ inline CreateVehicleResponseItem& WithArn(const char* value) { SetArn(value); return *this;} /** *

The ARN of a created or validated Amazon Web Services IoT thing.

*/ inline const Aws::String& GetThingArn() const{ return m_thingArn; } /** *

The ARN of a created or validated Amazon Web Services IoT thing.

*/ inline bool ThingArnHasBeenSet() const { return m_thingArnHasBeenSet; } /** *

The ARN of a created or validated Amazon Web Services IoT thing.

*/ inline void SetThingArn(const Aws::String& value) { m_thingArnHasBeenSet = true; m_thingArn = value; } /** *

The ARN of a created or validated Amazon Web Services IoT thing.

*/ inline void SetThingArn(Aws::String&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::move(value); } /** *

The ARN of a created or validated Amazon Web Services IoT thing.

*/ inline void SetThingArn(const char* value) { m_thingArnHasBeenSet = true; m_thingArn.assign(value); } /** *

The ARN of a created or validated Amazon Web Services IoT thing.

*/ inline CreateVehicleResponseItem& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;} /** *

The ARN of a created or validated Amazon Web Services IoT thing.

*/ inline CreateVehicleResponseItem& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;} /** *

The ARN of a created or validated Amazon Web Services IoT thing.

*/ inline CreateVehicleResponseItem& WithThingArn(const char* value) { SetThingArn(value); return *this;} private: Aws::String m_vehicleName; bool m_vehicleNameHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_thingArn; bool m_thingArnHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws