/** * 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 UpdateSignalCatalogRequest : public IoTFleetWiseRequest { public: AWS_IOTFLEETWISE_API UpdateSignalCatalogRequest(); // 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 "UpdateSignalCatalog"; } AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override; AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the signal catalog to update.

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

The name of the signal catalog to update.

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

The name of the signal catalog to update.

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

The name of the signal catalog to update.

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

The name of the signal catalog to update.

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

The name of the signal catalog to update.

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

The name of the signal catalog to update.

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

The name of the signal catalog to update.

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

A brief description of the signal catalog to update.

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

A brief description of the signal catalog to update.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A brief description of the signal catalog to update.

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

A brief description of the signal catalog to update.

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

A brief description of the signal catalog to update.

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

A brief description of the signal catalog to update.

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

A brief description of the signal catalog to update.

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

A brief description of the signal catalog to update.

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

A list of information about nodes to add to the signal catalog.

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

A list of information about nodes to add to the signal catalog.

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

A list of information about nodes to add to the signal catalog.

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

A list of information about nodes to add to the signal catalog.

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

A list of information about nodes to add to the signal catalog.

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

A list of information about nodes to add to the signal catalog.

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

A list of information about nodes to add to the signal catalog.

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

A list of information about nodes to add to the signal catalog.

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

A list of information about nodes to update in the signal catalog.

*/ inline const Aws::Vector& GetNodesToUpdate() const{ return m_nodesToUpdate; } /** *

A list of information about nodes to update in the signal catalog.

*/ inline bool NodesToUpdateHasBeenSet() const { return m_nodesToUpdateHasBeenSet; } /** *

A list of information about nodes to update in the signal catalog.

*/ inline void SetNodesToUpdate(const Aws::Vector& value) { m_nodesToUpdateHasBeenSet = true; m_nodesToUpdate = value; } /** *

A list of information about nodes to update in the signal catalog.

*/ inline void SetNodesToUpdate(Aws::Vector&& value) { m_nodesToUpdateHasBeenSet = true; m_nodesToUpdate = std::move(value); } /** *

A list of information about nodes to update in the signal catalog.

*/ inline UpdateSignalCatalogRequest& WithNodesToUpdate(const Aws::Vector& value) { SetNodesToUpdate(value); return *this;} /** *

A list of information about nodes to update in the signal catalog.

*/ inline UpdateSignalCatalogRequest& WithNodesToUpdate(Aws::Vector&& value) { SetNodesToUpdate(std::move(value)); return *this;} /** *

A list of information about nodes to update in the signal catalog.

*/ inline UpdateSignalCatalogRequest& AddNodesToUpdate(const Node& value) { m_nodesToUpdateHasBeenSet = true; m_nodesToUpdate.push_back(value); return *this; } /** *

A list of information about nodes to update in the signal catalog.

*/ inline UpdateSignalCatalogRequest& AddNodesToUpdate(Node&& value) { m_nodesToUpdateHasBeenSet = true; m_nodesToUpdate.push_back(std::move(value)); return *this; } /** *

A list of fullyQualifiedName of nodes to remove from the signal * catalog.

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

A list of fullyQualifiedName of nodes to remove from the signal * catalog.

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

A list of fullyQualifiedName of nodes to remove from the signal * catalog.

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

A list of fullyQualifiedName of nodes to remove from the signal * catalog.

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

A list of fullyQualifiedName of nodes to remove from the signal * catalog.

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

A list of fullyQualifiedName of nodes to remove from the signal * catalog.

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

A list of fullyQualifiedName of nodes to remove from the signal * catalog.

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

A list of fullyQualifiedName of nodes to remove from the signal * catalog.

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

A list of fullyQualifiedName of nodes to remove from the signal * catalog.

*/ inline UpdateSignalCatalogRequest& AddNodesToRemove(const char* value) { m_nodesToRemoveHasBeenSet = true; m_nodesToRemove.push_back(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_nodesToUpdate; bool m_nodesToUpdateHasBeenSet = false; Aws::Vector m_nodesToRemove; bool m_nodesToRemoveHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws