/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace IoTFleetWise { namespace Model { /** */ class UpdateModelManifestRequest : public IoTFleetWiseRequest { public: AWS_IOTFLEETWISE_API UpdateModelManifestRequest(); // 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 "UpdateModelManifest"; } AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override; AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the vehicle model to update.

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

The name of the vehicle model to update.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the vehicle model to update.

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

The name of the vehicle model to update.

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

The name of the vehicle model to update.

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

The name of the vehicle model to update.

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

The name of the vehicle model to update.

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

The name of the vehicle model to update.

*/ inline UpdateModelManifestRequest& WithName(const char* value) { SetName(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 bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A brief description of the vehicle model.

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

A brief description of the vehicle model.

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

A brief description of the vehicle model.

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

A brief description of the vehicle model.

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

A brief description of the vehicle model.

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

A brief description of the vehicle model.

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

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to add to the vehicle model.

*/ inline const Aws::Vector& GetNodesToAdd() const{ return m_nodesToAdd; } /** *

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to add to the vehicle model.

*/ inline bool NodesToAddHasBeenSet() const { return m_nodesToAddHasBeenSet; } /** *

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to add to the vehicle model.

*/ inline void SetNodesToAdd(const Aws::Vector& value) { m_nodesToAddHasBeenSet = true; m_nodesToAdd = value; } /** *

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to add to the vehicle model.

*/ inline void SetNodesToAdd(Aws::Vector&& value) { m_nodesToAddHasBeenSet = true; m_nodesToAdd = std::move(value); } /** *

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to add to the vehicle model.

*/ inline UpdateModelManifestRequest& WithNodesToAdd(const Aws::Vector& value) { SetNodesToAdd(value); return *this;} /** *

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to add to the vehicle model.

*/ inline UpdateModelManifestRequest& WithNodesToAdd(Aws::Vector&& value) { SetNodesToAdd(std::move(value)); return *this;} /** *

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to add to the vehicle model.

*/ inline UpdateModelManifestRequest& AddNodesToAdd(const Aws::String& value) { m_nodesToAddHasBeenSet = true; m_nodesToAdd.push_back(value); return *this; } /** *

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to add to the vehicle model.

*/ inline UpdateModelManifestRequest& AddNodesToAdd(Aws::String&& value) { m_nodesToAddHasBeenSet = true; m_nodesToAdd.push_back(std::move(value)); return *this; } /** *

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to add to the vehicle model.

*/ inline UpdateModelManifestRequest& AddNodesToAdd(const char* value) { m_nodesToAddHasBeenSet = true; m_nodesToAdd.push_back(value); return *this; } /** *

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to remove from the vehicle model.

*/ inline const Aws::Vector& GetNodesToRemove() const{ return m_nodesToRemove; } /** *

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to remove from the vehicle model.

*/ inline bool NodesToRemoveHasBeenSet() const { return m_nodesToRemoveHasBeenSet; } /** *

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to remove from the vehicle model.

*/ inline void SetNodesToRemove(const Aws::Vector& value) { m_nodesToRemoveHasBeenSet = true; m_nodesToRemove = value; } /** *

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to remove from the vehicle model.

*/ inline void SetNodesToRemove(Aws::Vector&& value) { m_nodesToRemoveHasBeenSet = true; m_nodesToRemove = std::move(value); } /** *

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to remove from the vehicle model.

*/ inline UpdateModelManifestRequest& WithNodesToRemove(const Aws::Vector& value) { SetNodesToRemove(value); return *this;} /** *

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to remove from the vehicle model.

*/ inline UpdateModelManifestRequest& WithNodesToRemove(Aws::Vector&& value) { SetNodesToRemove(std::move(value)); return *this;} /** *

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to remove from the vehicle model.

*/ inline UpdateModelManifestRequest& AddNodesToRemove(const Aws::String& value) { m_nodesToRemoveHasBeenSet = true; m_nodesToRemove.push_back(value); return *this; } /** *

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to remove from the vehicle model.

*/ inline UpdateModelManifestRequest& AddNodesToRemove(Aws::String&& value) { m_nodesToRemoveHasBeenSet = true; m_nodesToRemove.push_back(std::move(value)); return *this; } /** *

A list of fullyQualifiedName of nodes, which are a general * abstraction of signals, to remove from the vehicle model.

*/ inline UpdateModelManifestRequest& AddNodesToRemove(const char* value) { m_nodesToRemoveHasBeenSet = true; m_nodesToRemove.push_back(value); return *this; } /** *

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

*/ 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. If the status is DRAFT, you can edit * the vehicle model.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

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

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

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

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

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

*/ inline UpdateModelManifestRequest& 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. If the status is DRAFT, you can edit * the vehicle model.

*/ inline UpdateModelManifestRequest& WithStatus(ManifestStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_nodesToAdd; bool m_nodesToAddHasBeenSet = false; Aws::Vector m_nodesToRemove; bool m_nodesToRemoveHasBeenSet = false; ManifestStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws