AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateDecoderManifestRequest.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/DefaultForUnmappedSignalsType.h>
12#include <aws/iotfleetwise/model/SignalDecoder.h>
13#include <aws/iotfleetwise/model/NetworkInterface.h>
14#include <aws/iotfleetwise/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace IoTFleetWise
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_IOTFLEETWISE_API CreateDecoderManifestRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateDecoderManifest"; }
36
37 AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override;
38
39 AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 CreateDecoderManifestRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template<typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
62 template<typename DescriptionT = Aws::String>
63 CreateDecoderManifestRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
65
67
70 inline const Aws::String& GetModelManifestArn() const { return m_modelManifestArn; }
71 inline bool ModelManifestArnHasBeenSet() const { return m_modelManifestArnHasBeenSet; }
72 template<typename ModelManifestArnT = Aws::String>
73 void SetModelManifestArn(ModelManifestArnT&& value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn = std::forward<ModelManifestArnT>(value); }
74 template<typename ModelManifestArnT = Aws::String>
75 CreateDecoderManifestRequest& WithModelManifestArn(ModelManifestArnT&& value) { SetModelManifestArn(std::forward<ModelManifestArnT>(value)); return *this;}
77
79
82 inline const Aws::Vector<SignalDecoder>& GetSignalDecoders() const { return m_signalDecoders; }
83 inline bool SignalDecodersHasBeenSet() const { return m_signalDecodersHasBeenSet; }
84 template<typename SignalDecodersT = Aws::Vector<SignalDecoder>>
85 void SetSignalDecoders(SignalDecodersT&& value) { m_signalDecodersHasBeenSet = true; m_signalDecoders = std::forward<SignalDecodersT>(value); }
86 template<typename SignalDecodersT = Aws::Vector<SignalDecoder>>
87 CreateDecoderManifestRequest& WithSignalDecoders(SignalDecodersT&& value) { SetSignalDecoders(std::forward<SignalDecodersT>(value)); return *this;}
88 template<typename SignalDecodersT = SignalDecoder>
89 CreateDecoderManifestRequest& AddSignalDecoders(SignalDecodersT&& value) { m_signalDecodersHasBeenSet = true; m_signalDecoders.emplace_back(std::forward<SignalDecodersT>(value)); return *this; }
91
93
96 inline const Aws::Vector<NetworkInterface>& GetNetworkInterfaces() const { return m_networkInterfaces; }
97 inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
98 template<typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
99 void SetNetworkInterfaces(NetworkInterfacesT&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::forward<NetworkInterfacesT>(value); }
100 template<typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
101 CreateDecoderManifestRequest& WithNetworkInterfaces(NetworkInterfacesT&& value) { SetNetworkInterfaces(std::forward<NetworkInterfacesT>(value)); return *this;}
102 template<typename NetworkInterfacesT = NetworkInterface>
103 CreateDecoderManifestRequest& AddNetworkInterfaces(NetworkInterfacesT&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.emplace_back(std::forward<NetworkInterfacesT>(value)); return *this; }
105
107
116 inline DefaultForUnmappedSignalsType GetDefaultForUnmappedSignals() const { return m_defaultForUnmappedSignals; }
117 inline bool DefaultForUnmappedSignalsHasBeenSet() const { return m_defaultForUnmappedSignalsHasBeenSet; }
118 inline void SetDefaultForUnmappedSignals(DefaultForUnmappedSignalsType value) { m_defaultForUnmappedSignalsHasBeenSet = true; m_defaultForUnmappedSignals = value; }
121
123
126 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
127 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
128 template<typename TagsT = Aws::Vector<Tag>>
129 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
130 template<typename TagsT = Aws::Vector<Tag>>
131 CreateDecoderManifestRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
132 template<typename TagsT = Tag>
133 CreateDecoderManifestRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
135 private:
136
137 Aws::String m_name;
138 bool m_nameHasBeenSet = false;
139
140 Aws::String m_description;
141 bool m_descriptionHasBeenSet = false;
142
143 Aws::String m_modelManifestArn;
144 bool m_modelManifestArnHasBeenSet = false;
145
146 Aws::Vector<SignalDecoder> m_signalDecoders;
147 bool m_signalDecodersHasBeenSet = false;
148
149 Aws::Vector<NetworkInterface> m_networkInterfaces;
150 bool m_networkInterfacesHasBeenSet = false;
151
153 bool m_defaultForUnmappedSignalsHasBeenSet = false;
154
155 Aws::Vector<Tag> m_tags;
156 bool m_tagsHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace IoTFleetWise
161} // 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