AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
CreateModelManifestRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iotfleetwise/IoTFleetWiseRequest.h>
10#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
11#include <aws/iotfleetwise/model/Tag.h>
12
13#include <utility>
14
15namespace Aws {
16namespace IoTFleetWise {
17namespace Model {
18
22 public:
23 AWS_IOTFLEETWISE_API CreateModelManifestRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateModelManifest"; }
30
31 AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override;
32
33 AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template <typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) {
61 m_descriptionHasBeenSet = true;
62 m_description = std::forward<DescriptionT>(value);
63 }
64 template <typename DescriptionT = Aws::String>
66 SetDescription(std::forward<DescriptionT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Vector<Aws::String>& GetNodes() const { return m_nodes; }
76 inline bool NodesHasBeenSet() const { return m_nodesHasBeenSet; }
77 template <typename NodesT = Aws::Vector<Aws::String>>
78 void SetNodes(NodesT&& value) {
79 m_nodesHasBeenSet = true;
80 m_nodes = std::forward<NodesT>(value);
81 }
82 template <typename NodesT = Aws::Vector<Aws::String>>
84 SetNodes(std::forward<NodesT>(value));
85 return *this;
86 }
87 template <typename NodesT = Aws::String>
89 m_nodesHasBeenSet = true;
90 m_nodes.emplace_back(std::forward<NodesT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetSignalCatalogArn() const { return m_signalCatalogArn; }
100 inline bool SignalCatalogArnHasBeenSet() const { return m_signalCatalogArnHasBeenSet; }
101 template <typename SignalCatalogArnT = Aws::String>
102 void SetSignalCatalogArn(SignalCatalogArnT&& value) {
103 m_signalCatalogArnHasBeenSet = true;
104 m_signalCatalogArn = std::forward<SignalCatalogArnT>(value);
105 }
106 template <typename SignalCatalogArnT = Aws::String>
108 SetSignalCatalogArn(std::forward<SignalCatalogArnT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
118 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
119 template <typename TagsT = Aws::Vector<Tag>>
120 void SetTags(TagsT&& value) {
121 m_tagsHasBeenSet = true;
122 m_tags = std::forward<TagsT>(value);
123 }
124 template <typename TagsT = Aws::Vector<Tag>>
126 SetTags(std::forward<TagsT>(value));
127 return *this;
128 }
129 template <typename TagsT = Tag>
131 m_tagsHasBeenSet = true;
132 m_tags.emplace_back(std::forward<TagsT>(value));
133 return *this;
134 }
136 private:
137 Aws::String m_name;
138
139 Aws::String m_description;
140
142
143 Aws::String m_signalCatalogArn;
144
145 Aws::Vector<Tag> m_tags;
146 bool m_nameHasBeenSet = false;
147 bool m_descriptionHasBeenSet = false;
148 bool m_nodesHasBeenSet = false;
149 bool m_signalCatalogArnHasBeenSet = false;
150 bool m_tagsHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace IoTFleetWise
155} // namespace Aws
CreateModelManifestRequest & AddTags(TagsT &&value)
CreateModelManifestRequest & AddNodes(NodesT &&value)
CreateModelManifestRequest & WithTags(TagsT &&value)
CreateModelManifestRequest & WithName(NameT &&value)
AWS_IOTFLEETWISE_API CreateModelManifestRequest()=default
CreateModelManifestRequest & WithSignalCatalogArn(SignalCatalogArnT &&value)
AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override
AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateModelManifestRequest & WithNodes(NodesT &&value)
CreateModelManifestRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< Aws::String > & GetNodes() const
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