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

The name of the signal catalog to create.

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

The name of the signal catalog to create.

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

The name of the signal catalog to create.

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

The name of the signal catalog to create.

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

The name of the signal catalog to create.

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

The name of the signal catalog to create.

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

The name of the signal catalog to create.

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

The name of the signal catalog to create.

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

A brief description of the signal catalog.

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

A brief description of the signal catalog.

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

A brief description of the signal catalog.

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

A brief description of the signal catalog.

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

A brief description of the signal catalog.

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

A brief description of the signal catalog.

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

A brief description of the signal catalog.

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

A brief description of the signal catalog.

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

A list of information about nodes, which are a general abstraction of * signals. For more information, see the API data type.

*/ inline const Aws::Vector& GetNodes() const{ return m_nodes; } /** *

A list of information about nodes, which are a general abstraction of * signals. For more information, see the API data type.

*/ inline bool NodesHasBeenSet() const { return m_nodesHasBeenSet; } /** *

A list of information about nodes, which are a general abstraction of * signals. For more information, see the API data type.

*/ inline void SetNodes(const Aws::Vector& value) { m_nodesHasBeenSet = true; m_nodes = value; } /** *

A list of information about nodes, which are a general abstraction of * signals. For more information, see the API data type.

*/ inline void SetNodes(Aws::Vector&& value) { m_nodesHasBeenSet = true; m_nodes = std::move(value); } /** *

A list of information about nodes, which are a general abstraction of * signals. For more information, see the API data type.

*/ inline CreateSignalCatalogRequest& WithNodes(const Aws::Vector& value) { SetNodes(value); return *this;} /** *

A list of information about nodes, which are a general abstraction of * signals. For more information, see the API data type.

*/ inline CreateSignalCatalogRequest& WithNodes(Aws::Vector&& value) { SetNodes(std::move(value)); return *this;} /** *

A list of information about nodes, which are a general abstraction of * signals. For more information, see the API data type.

*/ inline CreateSignalCatalogRequest& AddNodes(const Node& value) { m_nodesHasBeenSet = true; m_nodes.push_back(value); return *this; } /** *

A list of information about nodes, which are a general abstraction of * signals. For more information, see the API data type.

*/ inline CreateSignalCatalogRequest& AddNodes(Node&& value) { m_nodesHasBeenSet = true; m_nodes.push_back(std::move(value)); return *this; } /** *

Metadata that can be used to manage the signal catalog.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

Metadata that can be used to manage the signal catalog.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Metadata that can be used to manage the signal catalog.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Metadata that can be used to manage the signal catalog.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Metadata that can be used to manage the signal catalog.

*/ inline CreateSignalCatalogRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

Metadata that can be used to manage the signal catalog.

*/ inline CreateSignalCatalogRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

Metadata that can be used to manage the signal catalog.

*/ inline CreateSignalCatalogRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

Metadata that can be used to manage the signal catalog.

*/ inline CreateSignalCatalogRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(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_nodes; bool m_nodesHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws