/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTFleetWise { namespace Model { class GetVehicleResult { public: AWS_IOTFLEETWISE_API GetVehicleResult(); AWS_IOTFLEETWISE_API GetVehicleResult(const Aws::AmazonWebServiceResult& result); AWS_IOTFLEETWISE_API GetVehicleResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the vehicle.

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

The ID of the vehicle.

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

The ID of the vehicle.

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

The ID of the vehicle.

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

The ID of the vehicle.

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

The ID of the vehicle.

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

The ID of the vehicle.

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

The Amazon Resource Name (ARN) of the vehicle to retrieve information about. *

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

The Amazon Resource Name (ARN) of the vehicle to retrieve information about. *

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

The Amazon Resource Name (ARN) of the vehicle to retrieve information about. *

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

The Amazon Resource Name (ARN) of the vehicle to retrieve information about. *

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

The Amazon Resource Name (ARN) of the vehicle to retrieve information about. *

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

The Amazon Resource Name (ARN) of the vehicle to retrieve information about. *

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

The Amazon Resource Name (ARN) of the vehicle to retrieve information about. *

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

The ARN of a vehicle model (model manifest) associated with the vehicle. *

*/ inline const Aws::String& GetModelManifestArn() const{ return m_modelManifestArn; } /** *

The ARN of a vehicle model (model manifest) associated with the vehicle. *

*/ inline void SetModelManifestArn(const Aws::String& value) { m_modelManifestArn = value; } /** *

The ARN of a vehicle model (model manifest) associated with the vehicle. *

*/ inline void SetModelManifestArn(Aws::String&& value) { m_modelManifestArn = std::move(value); } /** *

The ARN of a vehicle model (model manifest) associated with the vehicle. *

*/ inline void SetModelManifestArn(const char* value) { m_modelManifestArn.assign(value); } /** *

The ARN of a vehicle model (model manifest) associated with the vehicle. *

*/ inline GetVehicleResult& WithModelManifestArn(const Aws::String& value) { SetModelManifestArn(value); return *this;} /** *

The ARN of a vehicle model (model manifest) associated with the vehicle. *

*/ inline GetVehicleResult& WithModelManifestArn(Aws::String&& value) { SetModelManifestArn(std::move(value)); return *this;} /** *

The ARN of a vehicle model (model manifest) associated with the vehicle. *

*/ inline GetVehicleResult& WithModelManifestArn(const char* value) { SetModelManifestArn(value); return *this;} /** *

The ARN of a decoder manifest associated with the vehicle.

*/ inline const Aws::String& GetDecoderManifestArn() const{ return m_decoderManifestArn; } /** *

The ARN of a decoder manifest associated with the vehicle.

*/ inline void SetDecoderManifestArn(const Aws::String& value) { m_decoderManifestArn = value; } /** *

The ARN of a decoder manifest associated with the vehicle.

*/ inline void SetDecoderManifestArn(Aws::String&& value) { m_decoderManifestArn = std::move(value); } /** *

The ARN of a decoder manifest associated with the vehicle.

*/ inline void SetDecoderManifestArn(const char* value) { m_decoderManifestArn.assign(value); } /** *

The ARN of a decoder manifest associated with the vehicle.

*/ inline GetVehicleResult& WithDecoderManifestArn(const Aws::String& value) { SetDecoderManifestArn(value); return *this;} /** *

The ARN of a decoder manifest associated with the vehicle.

*/ inline GetVehicleResult& WithDecoderManifestArn(Aws::String&& value) { SetDecoderManifestArn(std::move(value)); return *this;} /** *

The ARN of a decoder manifest associated with the vehicle.

*/ inline GetVehicleResult& WithDecoderManifestArn(const char* value) { SetDecoderManifestArn(value); return *this;} /** *

Static information about a vehicle in a key-value pair. For example:

* "engineType" : "1.3 L R2"

*/ inline const Aws::Map& GetAttributes() const{ return m_attributes; } /** *

Static information about a vehicle in a key-value pair. For example:

* "engineType" : "1.3 L R2"

*/ inline void SetAttributes(const Aws::Map& value) { m_attributes = value; } /** *

Static information about a vehicle in a key-value pair. For example:

* "engineType" : "1.3 L R2"

*/ inline void SetAttributes(Aws::Map&& value) { m_attributes = std::move(value); } /** *

Static information about a vehicle in a key-value pair. For example:

* "engineType" : "1.3 L R2"

*/ inline GetVehicleResult& WithAttributes(const Aws::Map& value) { SetAttributes(value); return *this;} /** *

Static information about a vehicle in a key-value pair. For example:

* "engineType" : "1.3 L R2"

*/ inline GetVehicleResult& WithAttributes(Aws::Map&& value) { SetAttributes(std::move(value)); return *this;} /** *

Static information about a vehicle in a key-value pair. For example:

* "engineType" : "1.3 L R2"

*/ inline GetVehicleResult& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; } /** *

Static information about a vehicle in a key-value pair. For example:

* "engineType" : "1.3 L R2"

*/ inline GetVehicleResult& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; } /** *

Static information about a vehicle in a key-value pair. For example:

* "engineType" : "1.3 L R2"

*/ inline GetVehicleResult& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; } /** *

Static information about a vehicle in a key-value pair. For example:

* "engineType" : "1.3 L R2"

*/ inline GetVehicleResult& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; } /** *

Static information about a vehicle in a key-value pair. For example:

* "engineType" : "1.3 L R2"

*/ inline GetVehicleResult& AddAttributes(const char* key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; } /** *

Static information about a vehicle in a key-value pair. For example:

* "engineType" : "1.3 L R2"

*/ inline GetVehicleResult& AddAttributes(Aws::String&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; } /** *

Static information about a vehicle in a key-value pair. For example:

* "engineType" : "1.3 L R2"

*/ inline GetVehicleResult& AddAttributes(const char* key, const char* value) { m_attributes.emplace(key, value); return *this; } /** *

The time the vehicle was created in seconds since epoch (January 1, 1970 at * midnight UTC time).

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time the vehicle was created in seconds since epoch (January 1, 1970 at * midnight UTC time).

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The time the vehicle was created in seconds since epoch (January 1, 1970 at * midnight UTC time).

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

The time the vehicle was created in seconds since epoch (January 1, 1970 at * midnight UTC time).

*/ inline GetVehicleResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time the vehicle was created in seconds since epoch (January 1, 1970 at * midnight UTC time).

*/ inline GetVehicleResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The time the vehicle was last updated in seconds since epoch (January 1, * 1970 at midnight UTC time).

*/ inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; } /** *

The time the vehicle was last updated in seconds since epoch (January 1, * 1970 at midnight UTC time).

*/ inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTime = value; } /** *

The time the vehicle was last updated in seconds since epoch (January 1, * 1970 at midnight UTC time).

*/ inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTime = std::move(value); } /** *

The time the vehicle was last updated in seconds since epoch (January 1, * 1970 at midnight UTC time).

*/ inline GetVehicleResult& WithLastModificationTime(const Aws::Utils::DateTime& value) { SetLastModificationTime(value); return *this;} /** *

The time the vehicle was last updated in seconds since epoch (January 1, * 1970 at midnight UTC time).

*/ inline GetVehicleResult& WithLastModificationTime(Aws::Utils::DateTime&& value) { SetLastModificationTime(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetVehicleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetVehicleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetVehicleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_vehicleName; Aws::String m_arn; Aws::String m_modelManifestArn; Aws::String m_decoderManifestArn; Aws::Map m_attributes; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_lastModificationTime; Aws::String m_requestId; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws