AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
CreateDecoderManifestRequest.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/DefaultForUnmappedSignalsType.h>
12#include <aws/iotfleetwise/model/NetworkInterface.h>
13#include <aws/iotfleetwise/model/SignalDecoder.h>
14#include <aws/iotfleetwise/model/Tag.h>
15
16#include <utility>
17
18namespace Aws {
19namespace IoTFleetWise {
20namespace Model {
21
25 public:
26 AWS_IOTFLEETWISE_API CreateDecoderManifestRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateDecoderManifest"; }
33
34 AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override;
35
36 AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetDescription() const { return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 template <typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) {
64 m_descriptionHasBeenSet = true;
65 m_description = std::forward<DescriptionT>(value);
66 }
67 template <typename DescriptionT = Aws::String>
69 SetDescription(std::forward<DescriptionT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetModelManifestArn() const { return m_modelManifestArn; }
79 inline bool ModelManifestArnHasBeenSet() const { return m_modelManifestArnHasBeenSet; }
80 template <typename ModelManifestArnT = Aws::String>
81 void SetModelManifestArn(ModelManifestArnT&& value) {
82 m_modelManifestArnHasBeenSet = true;
83 m_modelManifestArn = std::forward<ModelManifestArnT>(value);
84 }
85 template <typename ModelManifestArnT = Aws::String>
87 SetModelManifestArn(std::forward<ModelManifestArnT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::Vector<SignalDecoder>& GetSignalDecoders() const { return m_signalDecoders; }
97 inline bool SignalDecodersHasBeenSet() const { return m_signalDecodersHasBeenSet; }
98 template <typename SignalDecodersT = Aws::Vector<SignalDecoder>>
99 void SetSignalDecoders(SignalDecodersT&& value) {
100 m_signalDecodersHasBeenSet = true;
101 m_signalDecoders = std::forward<SignalDecodersT>(value);
102 }
103 template <typename SignalDecodersT = Aws::Vector<SignalDecoder>>
105 SetSignalDecoders(std::forward<SignalDecodersT>(value));
106 return *this;
107 }
108 template <typename SignalDecodersT = SignalDecoder>
110 m_signalDecodersHasBeenSet = true;
111 m_signalDecoders.emplace_back(std::forward<SignalDecodersT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::Vector<NetworkInterface>& GetNetworkInterfaces() const { return m_networkInterfaces; }
121 inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
122 template <typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
123 void SetNetworkInterfaces(NetworkInterfacesT&& value) {
124 m_networkInterfacesHasBeenSet = true;
125 m_networkInterfaces = std::forward<NetworkInterfacesT>(value);
126 }
127 template <typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
129 SetNetworkInterfaces(std::forward<NetworkInterfacesT>(value));
130 return *this;
131 }
132 template <typename NetworkInterfacesT = NetworkInterface>
134 m_networkInterfacesHasBeenSet = true;
135 m_networkInterfaces.emplace_back(std::forward<NetworkInterfacesT>(value));
136 return *this;
137 }
139
141
150 inline DefaultForUnmappedSignalsType GetDefaultForUnmappedSignals() const { return m_defaultForUnmappedSignals; }
151 inline bool DefaultForUnmappedSignalsHasBeenSet() const { return m_defaultForUnmappedSignalsHasBeenSet; }
153 m_defaultForUnmappedSignalsHasBeenSet = true;
154 m_defaultForUnmappedSignals = value;
155 }
161
163
166 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
167 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
168 template <typename TagsT = Aws::Vector<Tag>>
169 void SetTags(TagsT&& value) {
170 m_tagsHasBeenSet = true;
171 m_tags = std::forward<TagsT>(value);
172 }
173 template <typename TagsT = Aws::Vector<Tag>>
175 SetTags(std::forward<TagsT>(value));
176 return *this;
177 }
178 template <typename TagsT = Tag>
180 m_tagsHasBeenSet = true;
181 m_tags.emplace_back(std::forward<TagsT>(value));
182 return *this;
183 }
185 private:
186 Aws::String m_name;
187
188 Aws::String m_description;
189
190 Aws::String m_modelManifestArn;
191
192 Aws::Vector<SignalDecoder> m_signalDecoders;
193
194 Aws::Vector<NetworkInterface> m_networkInterfaces;
195
197
198 Aws::Vector<Tag> m_tags;
199 bool m_nameHasBeenSet = false;
200 bool m_descriptionHasBeenSet = false;
201 bool m_modelManifestArnHasBeenSet = false;
202 bool m_signalDecodersHasBeenSet = false;
203 bool m_networkInterfacesHasBeenSet = false;
204 bool m_defaultForUnmappedSignalsHasBeenSet = false;
205 bool m_tagsHasBeenSet = false;
206};
207
208} // namespace Model
209} // namespace IoTFleetWise
210} // namespace Aws
AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override
AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDecoderManifestRequest & AddSignalDecoders(SignalDecodersT &&value)
CreateDecoderManifestRequest & AddNetworkInterfaces(NetworkInterfacesT &&value)
CreateDecoderManifestRequest & WithNetworkInterfaces(NetworkInterfacesT &&value)
CreateDecoderManifestRequest & WithName(NameT &&value)
const Aws::Vector< SignalDecoder > & GetSignalDecoders() const
CreateDecoderManifestRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
void SetDefaultForUnmappedSignals(DefaultForUnmappedSignalsType value)
CreateDecoderManifestRequest & WithSignalDecoders(SignalDecodersT &&value)
CreateDecoderManifestRequest & WithModelManifestArn(ModelManifestArnT &&value)
CreateDecoderManifestRequest & WithDefaultForUnmappedSignals(DefaultForUnmappedSignalsType value)
AWS_IOTFLEETWISE_API CreateDecoderManifestRequest()=default
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