AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDecoderManifestRequest.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/ManifestStatus.h>
12#include <aws/iotfleetwise/model/SignalDecoder.h>
13#include <aws/iotfleetwise/model/NetworkInterface.h>
14#include <utility>
15
16namespace Aws
17{
18namespace IoTFleetWise
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_IOTFLEETWISE_API UpdateDecoderManifestRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateDecoderManifest"; }
35
36 AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override;
37
38 AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline UpdateDecoderManifestRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline UpdateDecoderManifestRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline UpdateDecoderManifestRequest& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetDescription() const{ return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
62 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
63 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 inline UpdateDecoderManifestRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
65 inline UpdateDecoderManifestRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
66 inline UpdateDecoderManifestRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
68
70
74 inline const Aws::Vector<SignalDecoder>& GetSignalDecodersToAdd() const{ return m_signalDecodersToAdd; }
75 inline bool SignalDecodersToAddHasBeenSet() const { return m_signalDecodersToAddHasBeenSet; }
76 inline void SetSignalDecodersToAdd(const Aws::Vector<SignalDecoder>& value) { m_signalDecodersToAddHasBeenSet = true; m_signalDecodersToAdd = value; }
77 inline void SetSignalDecodersToAdd(Aws::Vector<SignalDecoder>&& value) { m_signalDecodersToAddHasBeenSet = true; m_signalDecodersToAdd = std::move(value); }
80 inline UpdateDecoderManifestRequest& AddSignalDecodersToAdd(const SignalDecoder& value) { m_signalDecodersToAddHasBeenSet = true; m_signalDecodersToAdd.push_back(value); return *this; }
81 inline UpdateDecoderManifestRequest& AddSignalDecodersToAdd(SignalDecoder&& value) { m_signalDecodersToAddHasBeenSet = true; m_signalDecodersToAdd.push_back(std::move(value)); return *this; }
83
85
89 inline const Aws::Vector<SignalDecoder>& GetSignalDecodersToUpdate() const{ return m_signalDecodersToUpdate; }
90 inline bool SignalDecodersToUpdateHasBeenSet() const { return m_signalDecodersToUpdateHasBeenSet; }
91 inline void SetSignalDecodersToUpdate(const Aws::Vector<SignalDecoder>& value) { m_signalDecodersToUpdateHasBeenSet = true; m_signalDecodersToUpdate = value; }
92 inline void SetSignalDecodersToUpdate(Aws::Vector<SignalDecoder>&& value) { m_signalDecodersToUpdateHasBeenSet = true; m_signalDecodersToUpdate = std::move(value); }
95 inline UpdateDecoderManifestRequest& AddSignalDecodersToUpdate(const SignalDecoder& value) { m_signalDecodersToUpdateHasBeenSet = true; m_signalDecodersToUpdate.push_back(value); return *this; }
96 inline UpdateDecoderManifestRequest& AddSignalDecodersToUpdate(SignalDecoder&& value) { m_signalDecodersToUpdateHasBeenSet = true; m_signalDecodersToUpdate.push_back(std::move(value)); return *this; }
98
100
103 inline const Aws::Vector<Aws::String>& GetSignalDecodersToRemove() const{ return m_signalDecodersToRemove; }
104 inline bool SignalDecodersToRemoveHasBeenSet() const { return m_signalDecodersToRemoveHasBeenSet; }
105 inline void SetSignalDecodersToRemove(const Aws::Vector<Aws::String>& value) { m_signalDecodersToRemoveHasBeenSet = true; m_signalDecodersToRemove = value; }
106 inline void SetSignalDecodersToRemove(Aws::Vector<Aws::String>&& value) { m_signalDecodersToRemoveHasBeenSet = true; m_signalDecodersToRemove = std::move(value); }
109 inline UpdateDecoderManifestRequest& AddSignalDecodersToRemove(const Aws::String& value) { m_signalDecodersToRemoveHasBeenSet = true; m_signalDecodersToRemove.push_back(value); return *this; }
110 inline UpdateDecoderManifestRequest& AddSignalDecodersToRemove(Aws::String&& value) { m_signalDecodersToRemoveHasBeenSet = true; m_signalDecodersToRemove.push_back(std::move(value)); return *this; }
111 inline UpdateDecoderManifestRequest& AddSignalDecodersToRemove(const char* value) { m_signalDecodersToRemoveHasBeenSet = true; m_signalDecodersToRemove.push_back(value); return *this; }
113
115
119 inline const Aws::Vector<NetworkInterface>& GetNetworkInterfacesToAdd() const{ return m_networkInterfacesToAdd; }
120 inline bool NetworkInterfacesToAddHasBeenSet() const { return m_networkInterfacesToAddHasBeenSet; }
121 inline void SetNetworkInterfacesToAdd(const Aws::Vector<NetworkInterface>& value) { m_networkInterfacesToAddHasBeenSet = true; m_networkInterfacesToAdd = value; }
122 inline void SetNetworkInterfacesToAdd(Aws::Vector<NetworkInterface>&& value) { m_networkInterfacesToAddHasBeenSet = true; m_networkInterfacesToAdd = std::move(value); }
125 inline UpdateDecoderManifestRequest& AddNetworkInterfacesToAdd(const NetworkInterface& value) { m_networkInterfacesToAddHasBeenSet = true; m_networkInterfacesToAdd.push_back(value); return *this; }
126 inline UpdateDecoderManifestRequest& AddNetworkInterfacesToAdd(NetworkInterface&& value) { m_networkInterfacesToAddHasBeenSet = true; m_networkInterfacesToAdd.push_back(std::move(value)); return *this; }
128
130
134 inline const Aws::Vector<NetworkInterface>& GetNetworkInterfacesToUpdate() const{ return m_networkInterfacesToUpdate; }
135 inline bool NetworkInterfacesToUpdateHasBeenSet() const { return m_networkInterfacesToUpdateHasBeenSet; }
136 inline void SetNetworkInterfacesToUpdate(const Aws::Vector<NetworkInterface>& value) { m_networkInterfacesToUpdateHasBeenSet = true; m_networkInterfacesToUpdate = value; }
137 inline void SetNetworkInterfacesToUpdate(Aws::Vector<NetworkInterface>&& value) { m_networkInterfacesToUpdateHasBeenSet = true; m_networkInterfacesToUpdate = std::move(value); }
140 inline UpdateDecoderManifestRequest& AddNetworkInterfacesToUpdate(const NetworkInterface& value) { m_networkInterfacesToUpdateHasBeenSet = true; m_networkInterfacesToUpdate.push_back(value); return *this; }
141 inline UpdateDecoderManifestRequest& AddNetworkInterfacesToUpdate(NetworkInterface&& value) { m_networkInterfacesToUpdateHasBeenSet = true; m_networkInterfacesToUpdate.push_back(std::move(value)); return *this; }
143
145
148 inline const Aws::Vector<Aws::String>& GetNetworkInterfacesToRemove() const{ return m_networkInterfacesToRemove; }
149 inline bool NetworkInterfacesToRemoveHasBeenSet() const { return m_networkInterfacesToRemoveHasBeenSet; }
150 inline void SetNetworkInterfacesToRemove(const Aws::Vector<Aws::String>& value) { m_networkInterfacesToRemoveHasBeenSet = true; m_networkInterfacesToRemove = value; }
151 inline void SetNetworkInterfacesToRemove(Aws::Vector<Aws::String>&& value) { m_networkInterfacesToRemoveHasBeenSet = true; m_networkInterfacesToRemove = std::move(value); }
154 inline UpdateDecoderManifestRequest& AddNetworkInterfacesToRemove(const Aws::String& value) { m_networkInterfacesToRemoveHasBeenSet = true; m_networkInterfacesToRemove.push_back(value); return *this; }
155 inline UpdateDecoderManifestRequest& AddNetworkInterfacesToRemove(Aws::String&& value) { m_networkInterfacesToRemoveHasBeenSet = true; m_networkInterfacesToRemove.push_back(std::move(value)); return *this; }
156 inline UpdateDecoderManifestRequest& AddNetworkInterfacesToRemove(const char* value) { m_networkInterfacesToRemoveHasBeenSet = true; m_networkInterfacesToRemove.push_back(value); return *this; }
158
160
165 inline const ManifestStatus& GetStatus() const{ return m_status; }
166 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
167 inline void SetStatus(const ManifestStatus& value) { m_statusHasBeenSet = true; m_status = value; }
168 inline void SetStatus(ManifestStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
169 inline UpdateDecoderManifestRequest& WithStatus(const ManifestStatus& value) { SetStatus(value); return *this;}
170 inline UpdateDecoderManifestRequest& WithStatus(ManifestStatus&& value) { SetStatus(std::move(value)); return *this;}
172 private:
173
174 Aws::String m_name;
175 bool m_nameHasBeenSet = false;
176
177 Aws::String m_description;
178 bool m_descriptionHasBeenSet = false;
179
180 Aws::Vector<SignalDecoder> m_signalDecodersToAdd;
181 bool m_signalDecodersToAddHasBeenSet = false;
182
183 Aws::Vector<SignalDecoder> m_signalDecodersToUpdate;
184 bool m_signalDecodersToUpdateHasBeenSet = false;
185
186 Aws::Vector<Aws::String> m_signalDecodersToRemove;
187 bool m_signalDecodersToRemoveHasBeenSet = false;
188
189 Aws::Vector<NetworkInterface> m_networkInterfacesToAdd;
190 bool m_networkInterfacesToAddHasBeenSet = false;
191
192 Aws::Vector<NetworkInterface> m_networkInterfacesToUpdate;
193 bool m_networkInterfacesToUpdateHasBeenSet = false;
194
195 Aws::Vector<Aws::String> m_networkInterfacesToRemove;
196 bool m_networkInterfacesToRemoveHasBeenSet = false;
197
198 ManifestStatus m_status;
199 bool m_statusHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace IoTFleetWise
204} // namespace Aws
void SetNetworkInterfacesToAdd(Aws::Vector< NetworkInterface > &&value)
UpdateDecoderManifestRequest & AddNetworkInterfacesToRemove(Aws::String &&value)
UpdateDecoderManifestRequest & WithNetworkInterfacesToAdd(Aws::Vector< NetworkInterface > &&value)
UpdateDecoderManifestRequest & WithSignalDecodersToUpdate(Aws::Vector< SignalDecoder > &&value)
const Aws::Vector< NetworkInterface > & GetNetworkInterfacesToUpdate() const
const Aws::Vector< SignalDecoder > & GetSignalDecodersToUpdate() const
UpdateDecoderManifestRequest & AddNetworkInterfacesToAdd(NetworkInterface &&value)
void SetNetworkInterfacesToUpdate(Aws::Vector< NetworkInterface > &&value)
void SetNetworkInterfacesToUpdate(const Aws::Vector< NetworkInterface > &value)
UpdateDecoderManifestRequest & AddNetworkInterfacesToUpdate(NetworkInterface &&value)
UpdateDecoderManifestRequest & WithDescription(const char *value)
UpdateDecoderManifestRequest & AddSignalDecodersToAdd(const SignalDecoder &value)
UpdateDecoderManifestRequest & WithNetworkInterfacesToUpdate(const Aws::Vector< NetworkInterface > &value)
UpdateDecoderManifestRequest & WithNetworkInterfacesToRemove(const Aws::Vector< Aws::String > &value)
UpdateDecoderManifestRequest & WithDescription(Aws::String &&value)
const Aws::Vector< NetworkInterface > & GetNetworkInterfacesToAdd() const
UpdateDecoderManifestRequest & WithStatus(ManifestStatus &&value)
UpdateDecoderManifestRequest & WithSignalDecodersToRemove(Aws::Vector< Aws::String > &&value)
UpdateDecoderManifestRequest & AddNetworkInterfacesToUpdate(const NetworkInterface &value)
void SetSignalDecodersToRemove(Aws::Vector< Aws::String > &&value)
UpdateDecoderManifestRequest & AddSignalDecodersToRemove(Aws::String &&value)
void SetNetworkInterfacesToRemove(const Aws::Vector< Aws::String > &value)
void SetSignalDecodersToAdd(const Aws::Vector< SignalDecoder > &value)
UpdateDecoderManifestRequest & AddSignalDecodersToUpdate(SignalDecoder &&value)
UpdateDecoderManifestRequest & WithSignalDecodersToUpdate(const Aws::Vector< SignalDecoder > &value)
UpdateDecoderManifestRequest & WithSignalDecodersToAdd(Aws::Vector< SignalDecoder > &&value)
const Aws::Vector< Aws::String > & GetNetworkInterfacesToRemove() const
UpdateDecoderManifestRequest & WithSignalDecodersToAdd(const Aws::Vector< SignalDecoder > &value)
UpdateDecoderManifestRequest & WithName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSignalDecodersToRemove() const
void SetNetworkInterfacesToRemove(Aws::Vector< Aws::String > &&value)
UpdateDecoderManifestRequest & AddSignalDecodersToUpdate(const SignalDecoder &value)
void SetSignalDecodersToAdd(Aws::Vector< SignalDecoder > &&value)
UpdateDecoderManifestRequest & WithNetworkInterfacesToUpdate(Aws::Vector< NetworkInterface > &&value)
UpdateDecoderManifestRequest & WithName(const char *value)
void SetSignalDecodersToUpdate(Aws::Vector< SignalDecoder > &&value)
UpdateDecoderManifestRequest & AddNetworkInterfacesToRemove(const Aws::String &value)
UpdateDecoderManifestRequest & WithStatus(const ManifestStatus &value)
UpdateDecoderManifestRequest & AddNetworkInterfacesToAdd(const NetworkInterface &value)
void SetSignalDecodersToUpdate(const Aws::Vector< SignalDecoder > &value)
void SetNetworkInterfacesToAdd(const Aws::Vector< NetworkInterface > &value)
UpdateDecoderManifestRequest & WithNetworkInterfacesToRemove(Aws::Vector< Aws::String > &&value)
const Aws::Vector< SignalDecoder > & GetSignalDecodersToAdd() const
UpdateDecoderManifestRequest & WithName(const Aws::String &value)
UpdateDecoderManifestRequest & WithSignalDecodersToRemove(const Aws::Vector< Aws::String > &value)
UpdateDecoderManifestRequest & WithNetworkInterfacesToAdd(const Aws::Vector< NetworkInterface > &value)
AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override
void SetSignalDecodersToRemove(const Aws::Vector< Aws::String > &value)
UpdateDecoderManifestRequest & AddSignalDecodersToRemove(const Aws::String &value)
UpdateDecoderManifestRequest & AddSignalDecodersToRemove(const char *value)
UpdateDecoderManifestRequest & AddNetworkInterfacesToRemove(const char *value)
AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDecoderManifestRequest & WithDescription(const Aws::String &value)
UpdateDecoderManifestRequest & AddSignalDecodersToAdd(SignalDecoder &&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