AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSignalCatalogRequest.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/iotfleetwise/IoTFleetWiseRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iotfleetwise/model/Node.h>
12#include <aws/iotfleetwise/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace IoTFleetWise
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_IOTFLEETWISE_API CreateSignalCatalogRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateSignalCatalog"; }
34
35 AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override;
36
37 AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
44 inline const Aws::String& GetName() const{ return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline CreateSignalCatalogRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline CreateSignalCatalogRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline CreateSignalCatalogRequest& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline CreateSignalCatalogRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline CreateSignalCatalogRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline CreateSignalCatalogRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
73 inline const Aws::Vector<Node>& GetNodes() const{ return m_nodes; }
74 inline bool NodesHasBeenSet() const { return m_nodesHasBeenSet; }
75 inline void SetNodes(const Aws::Vector<Node>& value) { m_nodesHasBeenSet = true; m_nodes = value; }
76 inline void SetNodes(Aws::Vector<Node>&& value) { m_nodesHasBeenSet = true; m_nodes = std::move(value); }
77 inline CreateSignalCatalogRequest& WithNodes(const Aws::Vector<Node>& value) { SetNodes(value); return *this;}
78 inline CreateSignalCatalogRequest& WithNodes(Aws::Vector<Node>&& value) { SetNodes(std::move(value)); return *this;}
79 inline CreateSignalCatalogRequest& AddNodes(const Node& value) { m_nodesHasBeenSet = true; m_nodes.push_back(value); return *this; }
80 inline CreateSignalCatalogRequest& AddNodes(Node&& value) { m_nodesHasBeenSet = true; m_nodes.push_back(std::move(value)); return *this; }
82
84
87 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
88 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
89 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
90 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
91 inline CreateSignalCatalogRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
92 inline CreateSignalCatalogRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
93 inline CreateSignalCatalogRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
94 inline CreateSignalCatalogRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
96 private:
97
98 Aws::String m_name;
99 bool m_nameHasBeenSet = false;
100
101 Aws::String m_description;
102 bool m_descriptionHasBeenSet = false;
103
104 Aws::Vector<Node> m_nodes;
105 bool m_nodesHasBeenSet = false;
106
107 Aws::Vector<Tag> m_tags;
108 bool m_tagsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace IoTFleetWise
113} // namespace Aws
AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateSignalCatalogRequest & AddTags(const Tag &value)
CreateSignalCatalogRequest & WithDescription(const Aws::String &value)
CreateSignalCatalogRequest & WithNodes(Aws::Vector< Node > &&value)
CreateSignalCatalogRequest & WithTags(const Aws::Vector< Tag > &value)
CreateSignalCatalogRequest & WithDescription(const char *value)
CreateSignalCatalogRequest & WithName(const char *value)
CreateSignalCatalogRequest & AddNodes(Node &&value)
CreateSignalCatalogRequest & WithDescription(Aws::String &&value)
CreateSignalCatalogRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override
CreateSignalCatalogRequest & WithName(const Aws::String &value)
CreateSignalCatalogRequest & WithName(Aws::String &&value)
CreateSignalCatalogRequest & AddNodes(const Node &value)
CreateSignalCatalogRequest & WithNodes(const Aws::Vector< Node > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector