/** * 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 GetModelManifestResult { public: AWS_IOTFLEETWISE_API GetModelManifestResult(); AWS_IOTFLEETWISE_API GetModelManifestResult(const Aws::AmazonWebServiceResult& result); AWS_IOTFLEETWISE_API GetModelManifestResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the vehicle model.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the vehicle model.

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

The name of the vehicle model.

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

The name of the vehicle model.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the vehicle model.

*/ inline GetModelManifestResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the vehicle model.

*/ inline GetModelManifestResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the vehicle model.

*/ inline GetModelManifestResult& WithName(const char* value) { SetName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the vehicle model.

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

The Amazon Resource Name (ARN) of the vehicle model.

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

The Amazon Resource Name (ARN) of the vehicle model.

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

The Amazon Resource Name (ARN) of the vehicle model.

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

The Amazon Resource Name (ARN) of the vehicle model.

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

The Amazon Resource Name (ARN) of the vehicle model.

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

The Amazon Resource Name (ARN) of the vehicle model.

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

A brief description of the vehicle model.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A brief description of the vehicle model.

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

A brief description of the vehicle model.

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

A brief description of the vehicle model.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

A brief description of the vehicle model.

*/ inline GetModelManifestResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A brief description of the vehicle model.

*/ inline GetModelManifestResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A brief description of the vehicle model.

*/ inline GetModelManifestResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The ARN of the signal catalog associated with the vehicle model.

*/ inline const Aws::String& GetSignalCatalogArn() const{ return m_signalCatalogArn; } /** *

The ARN of the signal catalog associated with the vehicle model.

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

The ARN of the signal catalog associated with the vehicle model.

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

The ARN of the signal catalog associated with the vehicle model.

*/ inline void SetSignalCatalogArn(const char* value) { m_signalCatalogArn.assign(value); } /** *

The ARN of the signal catalog associated with the vehicle model.

*/ inline GetModelManifestResult& WithSignalCatalogArn(const Aws::String& value) { SetSignalCatalogArn(value); return *this;} /** *

The ARN of the signal catalog associated with the vehicle model.

*/ inline GetModelManifestResult& WithSignalCatalogArn(Aws::String&& value) { SetSignalCatalogArn(std::move(value)); return *this;} /** *

The ARN of the signal catalog associated with the vehicle model.

*/ inline GetModelManifestResult& WithSignalCatalogArn(const char* value) { SetSignalCatalogArn(value); return *this;} /** *

The state of the vehicle model. If the status is ACTIVE, the * vehicle model can't be edited. You can edit the vehicle model if the status is * marked DRAFT.

*/ inline const ManifestStatus& GetStatus() const{ return m_status; } /** *

The state of the vehicle model. If the status is ACTIVE, the * vehicle model can't be edited. You can edit the vehicle model if the status is * marked DRAFT.

*/ inline void SetStatus(const ManifestStatus& value) { m_status = value; } /** *

The state of the vehicle model. If the status is ACTIVE, the * vehicle model can't be edited. You can edit the vehicle model if the status is * marked DRAFT.

*/ inline void SetStatus(ManifestStatus&& value) { m_status = std::move(value); } /** *

The state of the vehicle model. If the status is ACTIVE, the * vehicle model can't be edited. You can edit the vehicle model if the status is * marked DRAFT.

*/ inline GetModelManifestResult& WithStatus(const ManifestStatus& value) { SetStatus(value); return *this;} /** *

The state of the vehicle model. If the status is ACTIVE, the * vehicle model can't be edited. You can edit the vehicle model if the status is * marked DRAFT.

*/ inline GetModelManifestResult& WithStatus(ManifestStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The time the vehicle model 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 model 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 model 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 model was created, in seconds since epoch (January 1, * 1970 at midnight UTC time).

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

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

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

The last time the vehicle model was modified.

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

The last time the vehicle model was modified.

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

The last time the vehicle model was modified.

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

The last time the vehicle model was modified.

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

The last time the vehicle model was modified.

*/ inline GetModelManifestResult& 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 GetModelManifestResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetModelManifestResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetModelManifestResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_name; Aws::String m_arn; Aws::String m_description; Aws::String m_signalCatalogArn; ManifestStatus m_status; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_lastModificationTime; Aws::String m_requestId; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws