AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OTAUpdateInfo.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iot/model/AwsJobExecutionsRolloutConfig.h>
12#include <aws/iot/model/AwsJobPresignedUrlConfig.h>
13#include <aws/iot/model/TargetSelection.h>
14#include <aws/iot/model/OTAUpdateStatus.h>
15#include <aws/iot/model/ErrorInfo.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/iot/model/Protocol.h>
18#include <aws/iot/model/OTAUpdateFile.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace IoT
32{
33namespace Model
34{
35
42 {
43 public:
44 AWS_IOT_API OTAUpdateInfo();
48
49
51
54 inline const Aws::String& GetOtaUpdateId() const{ return m_otaUpdateId; }
55 inline bool OtaUpdateIdHasBeenSet() const { return m_otaUpdateIdHasBeenSet; }
56 inline void SetOtaUpdateId(const Aws::String& value) { m_otaUpdateIdHasBeenSet = true; m_otaUpdateId = value; }
57 inline void SetOtaUpdateId(Aws::String&& value) { m_otaUpdateIdHasBeenSet = true; m_otaUpdateId = std::move(value); }
58 inline void SetOtaUpdateId(const char* value) { m_otaUpdateIdHasBeenSet = true; m_otaUpdateId.assign(value); }
59 inline OTAUpdateInfo& WithOtaUpdateId(const Aws::String& value) { SetOtaUpdateId(value); return *this;}
60 inline OTAUpdateInfo& WithOtaUpdateId(Aws::String&& value) { SetOtaUpdateId(std::move(value)); return *this;}
61 inline OTAUpdateInfo& WithOtaUpdateId(const char* value) { SetOtaUpdateId(value); return *this;}
63
65
68 inline const Aws::String& GetOtaUpdateArn() const{ return m_otaUpdateArn; }
69 inline bool OtaUpdateArnHasBeenSet() const { return m_otaUpdateArnHasBeenSet; }
70 inline void SetOtaUpdateArn(const Aws::String& value) { m_otaUpdateArnHasBeenSet = true; m_otaUpdateArn = value; }
71 inline void SetOtaUpdateArn(Aws::String&& value) { m_otaUpdateArnHasBeenSet = true; m_otaUpdateArn = std::move(value); }
72 inline void SetOtaUpdateArn(const char* value) { m_otaUpdateArnHasBeenSet = true; m_otaUpdateArn.assign(value); }
73 inline OTAUpdateInfo& WithOtaUpdateArn(const Aws::String& value) { SetOtaUpdateArn(value); return *this;}
74 inline OTAUpdateInfo& WithOtaUpdateArn(Aws::String&& value) { SetOtaUpdateArn(std::move(value)); return *this;}
75 inline OTAUpdateInfo& WithOtaUpdateArn(const char* value) { SetOtaUpdateArn(value); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
83 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
84 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
85 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
86 inline OTAUpdateInfo& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
87 inline OTAUpdateInfo& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
95 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
96 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
97 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
98 inline OTAUpdateInfo& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
99 inline OTAUpdateInfo& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
101
103
106 inline const Aws::String& GetDescription() const{ return m_description; }
107 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
108 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
109 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
110 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
111 inline OTAUpdateInfo& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
112 inline OTAUpdateInfo& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
113 inline OTAUpdateInfo& WithDescription(const char* value) { SetDescription(value); return *this;}
115
117
120 inline const Aws::Vector<Aws::String>& GetTargets() const{ return m_targets; }
121 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
122 inline void SetTargets(const Aws::Vector<Aws::String>& value) { m_targetsHasBeenSet = true; m_targets = value; }
123 inline void SetTargets(Aws::Vector<Aws::String>&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
124 inline OTAUpdateInfo& WithTargets(const Aws::Vector<Aws::String>& value) { SetTargets(value); return *this;}
125 inline OTAUpdateInfo& WithTargets(Aws::Vector<Aws::String>&& value) { SetTargets(std::move(value)); return *this;}
126 inline OTAUpdateInfo& AddTargets(const Aws::String& value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; }
127 inline OTAUpdateInfo& AddTargets(Aws::String&& value) { m_targetsHasBeenSet = true; m_targets.push_back(std::move(value)); return *this; }
128 inline OTAUpdateInfo& AddTargets(const char* value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; }
130
132
137 inline const Aws::Vector<Protocol>& GetProtocols() const{ return m_protocols; }
138 inline bool ProtocolsHasBeenSet() const { return m_protocolsHasBeenSet; }
139 inline void SetProtocols(const Aws::Vector<Protocol>& value) { m_protocolsHasBeenSet = true; m_protocols = value; }
140 inline void SetProtocols(Aws::Vector<Protocol>&& value) { m_protocolsHasBeenSet = true; m_protocols = std::move(value); }
141 inline OTAUpdateInfo& WithProtocols(const Aws::Vector<Protocol>& value) { SetProtocols(value); return *this;}
142 inline OTAUpdateInfo& WithProtocols(Aws::Vector<Protocol>&& value) { SetProtocols(std::move(value)); return *this;}
143 inline OTAUpdateInfo& AddProtocols(const Protocol& value) { m_protocolsHasBeenSet = true; m_protocols.push_back(value); return *this; }
144 inline OTAUpdateInfo& AddProtocols(Protocol&& value) { m_protocolsHasBeenSet = true; m_protocols.push_back(std::move(value)); return *this; }
146
148
151 inline const AwsJobExecutionsRolloutConfig& GetAwsJobExecutionsRolloutConfig() const{ return m_awsJobExecutionsRolloutConfig; }
152 inline bool AwsJobExecutionsRolloutConfigHasBeenSet() const { return m_awsJobExecutionsRolloutConfigHasBeenSet; }
153 inline void SetAwsJobExecutionsRolloutConfig(const AwsJobExecutionsRolloutConfig& value) { m_awsJobExecutionsRolloutConfigHasBeenSet = true; m_awsJobExecutionsRolloutConfig = value; }
154 inline void SetAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig&& value) { m_awsJobExecutionsRolloutConfigHasBeenSet = true; m_awsJobExecutionsRolloutConfig = std::move(value); }
158
160
164 inline const AwsJobPresignedUrlConfig& GetAwsJobPresignedUrlConfig() const{ return m_awsJobPresignedUrlConfig; }
165 inline bool AwsJobPresignedUrlConfigHasBeenSet() const { return m_awsJobPresignedUrlConfigHasBeenSet; }
166 inline void SetAwsJobPresignedUrlConfig(const AwsJobPresignedUrlConfig& value) { m_awsJobPresignedUrlConfigHasBeenSet = true; m_awsJobPresignedUrlConfig = value; }
167 inline void SetAwsJobPresignedUrlConfig(AwsJobPresignedUrlConfig&& value) { m_awsJobPresignedUrlConfigHasBeenSet = true; m_awsJobPresignedUrlConfig = std::move(value); }
171
173
181 inline const TargetSelection& GetTargetSelection() const{ return m_targetSelection; }
182 inline bool TargetSelectionHasBeenSet() const { return m_targetSelectionHasBeenSet; }
183 inline void SetTargetSelection(const TargetSelection& value) { m_targetSelectionHasBeenSet = true; m_targetSelection = value; }
184 inline void SetTargetSelection(TargetSelection&& value) { m_targetSelectionHasBeenSet = true; m_targetSelection = std::move(value); }
185 inline OTAUpdateInfo& WithTargetSelection(const TargetSelection& value) { SetTargetSelection(value); return *this;}
186 inline OTAUpdateInfo& WithTargetSelection(TargetSelection&& value) { SetTargetSelection(std::move(value)); return *this;}
188
190
193 inline const Aws::Vector<OTAUpdateFile>& GetOtaUpdateFiles() const{ return m_otaUpdateFiles; }
194 inline bool OtaUpdateFilesHasBeenSet() const { return m_otaUpdateFilesHasBeenSet; }
195 inline void SetOtaUpdateFiles(const Aws::Vector<OTAUpdateFile>& value) { m_otaUpdateFilesHasBeenSet = true; m_otaUpdateFiles = value; }
196 inline void SetOtaUpdateFiles(Aws::Vector<OTAUpdateFile>&& value) { m_otaUpdateFilesHasBeenSet = true; m_otaUpdateFiles = std::move(value); }
198 inline OTAUpdateInfo& WithOtaUpdateFiles(Aws::Vector<OTAUpdateFile>&& value) { SetOtaUpdateFiles(std::move(value)); return *this;}
199 inline OTAUpdateInfo& AddOtaUpdateFiles(const OTAUpdateFile& value) { m_otaUpdateFilesHasBeenSet = true; m_otaUpdateFiles.push_back(value); return *this; }
200 inline OTAUpdateInfo& AddOtaUpdateFiles(OTAUpdateFile&& value) { m_otaUpdateFilesHasBeenSet = true; m_otaUpdateFiles.push_back(std::move(value)); return *this; }
202
204
207 inline const OTAUpdateStatus& GetOtaUpdateStatus() const{ return m_otaUpdateStatus; }
208 inline bool OtaUpdateStatusHasBeenSet() const { return m_otaUpdateStatusHasBeenSet; }
209 inline void SetOtaUpdateStatus(const OTAUpdateStatus& value) { m_otaUpdateStatusHasBeenSet = true; m_otaUpdateStatus = value; }
210 inline void SetOtaUpdateStatus(OTAUpdateStatus&& value) { m_otaUpdateStatusHasBeenSet = true; m_otaUpdateStatus = std::move(value); }
211 inline OTAUpdateInfo& WithOtaUpdateStatus(const OTAUpdateStatus& value) { SetOtaUpdateStatus(value); return *this;}
212 inline OTAUpdateInfo& WithOtaUpdateStatus(OTAUpdateStatus&& value) { SetOtaUpdateStatus(std::move(value)); return *this;}
214
216
219 inline const Aws::String& GetAwsIotJobId() const{ return m_awsIotJobId; }
220 inline bool AwsIotJobIdHasBeenSet() const { return m_awsIotJobIdHasBeenSet; }
221 inline void SetAwsIotJobId(const Aws::String& value) { m_awsIotJobIdHasBeenSet = true; m_awsIotJobId = value; }
222 inline void SetAwsIotJobId(Aws::String&& value) { m_awsIotJobIdHasBeenSet = true; m_awsIotJobId = std::move(value); }
223 inline void SetAwsIotJobId(const char* value) { m_awsIotJobIdHasBeenSet = true; m_awsIotJobId.assign(value); }
224 inline OTAUpdateInfo& WithAwsIotJobId(const Aws::String& value) { SetAwsIotJobId(value); return *this;}
225 inline OTAUpdateInfo& WithAwsIotJobId(Aws::String&& value) { SetAwsIotJobId(std::move(value)); return *this;}
226 inline OTAUpdateInfo& WithAwsIotJobId(const char* value) { SetAwsIotJobId(value); return *this;}
228
230
233 inline const Aws::String& GetAwsIotJobArn() const{ return m_awsIotJobArn; }
234 inline bool AwsIotJobArnHasBeenSet() const { return m_awsIotJobArnHasBeenSet; }
235 inline void SetAwsIotJobArn(const Aws::String& value) { m_awsIotJobArnHasBeenSet = true; m_awsIotJobArn = value; }
236 inline void SetAwsIotJobArn(Aws::String&& value) { m_awsIotJobArnHasBeenSet = true; m_awsIotJobArn = std::move(value); }
237 inline void SetAwsIotJobArn(const char* value) { m_awsIotJobArnHasBeenSet = true; m_awsIotJobArn.assign(value); }
238 inline OTAUpdateInfo& WithAwsIotJobArn(const Aws::String& value) { SetAwsIotJobArn(value); return *this;}
239 inline OTAUpdateInfo& WithAwsIotJobArn(Aws::String&& value) { SetAwsIotJobArn(std::move(value)); return *this;}
240 inline OTAUpdateInfo& WithAwsIotJobArn(const char* value) { SetAwsIotJobArn(value); return *this;}
242
244
247 inline const ErrorInfo& GetErrorInfo() const{ return m_errorInfo; }
248 inline bool ErrorInfoHasBeenSet() const { return m_errorInfoHasBeenSet; }
249 inline void SetErrorInfo(const ErrorInfo& value) { m_errorInfoHasBeenSet = true; m_errorInfo = value; }
250 inline void SetErrorInfo(ErrorInfo&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::move(value); }
251 inline OTAUpdateInfo& WithErrorInfo(const ErrorInfo& value) { SetErrorInfo(value); return *this;}
252 inline OTAUpdateInfo& WithErrorInfo(ErrorInfo&& value) { SetErrorInfo(std::move(value)); return *this;}
254
256
259 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalParameters() const{ return m_additionalParameters; }
260 inline bool AdditionalParametersHasBeenSet() const { return m_additionalParametersHasBeenSet; }
261 inline void SetAdditionalParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalParametersHasBeenSet = true; m_additionalParameters = value; }
262 inline void SetAdditionalParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalParametersHasBeenSet = true; m_additionalParameters = std::move(value); }
265 inline OTAUpdateInfo& AddAdditionalParameters(const Aws::String& key, const Aws::String& value) { m_additionalParametersHasBeenSet = true; m_additionalParameters.emplace(key, value); return *this; }
266 inline OTAUpdateInfo& AddAdditionalParameters(Aws::String&& key, const Aws::String& value) { m_additionalParametersHasBeenSet = true; m_additionalParameters.emplace(std::move(key), value); return *this; }
267 inline OTAUpdateInfo& AddAdditionalParameters(const Aws::String& key, Aws::String&& value) { m_additionalParametersHasBeenSet = true; m_additionalParameters.emplace(key, std::move(value)); return *this; }
268 inline OTAUpdateInfo& AddAdditionalParameters(Aws::String&& key, Aws::String&& value) { m_additionalParametersHasBeenSet = true; m_additionalParameters.emplace(std::move(key), std::move(value)); return *this; }
269 inline OTAUpdateInfo& AddAdditionalParameters(const char* key, Aws::String&& value) { m_additionalParametersHasBeenSet = true; m_additionalParameters.emplace(key, std::move(value)); return *this; }
270 inline OTAUpdateInfo& AddAdditionalParameters(Aws::String&& key, const char* value) { m_additionalParametersHasBeenSet = true; m_additionalParameters.emplace(std::move(key), value); return *this; }
271 inline OTAUpdateInfo& AddAdditionalParameters(const char* key, const char* value) { m_additionalParametersHasBeenSet = true; m_additionalParameters.emplace(key, value); return *this; }
273 private:
274
275 Aws::String m_otaUpdateId;
276 bool m_otaUpdateIdHasBeenSet = false;
277
278 Aws::String m_otaUpdateArn;
279 bool m_otaUpdateArnHasBeenSet = false;
280
281 Aws::Utils::DateTime m_creationDate;
282 bool m_creationDateHasBeenSet = false;
283
284 Aws::Utils::DateTime m_lastModifiedDate;
285 bool m_lastModifiedDateHasBeenSet = false;
286
287 Aws::String m_description;
288 bool m_descriptionHasBeenSet = false;
289
290 Aws::Vector<Aws::String> m_targets;
291 bool m_targetsHasBeenSet = false;
292
293 Aws::Vector<Protocol> m_protocols;
294 bool m_protocolsHasBeenSet = false;
295
296 AwsJobExecutionsRolloutConfig m_awsJobExecutionsRolloutConfig;
297 bool m_awsJobExecutionsRolloutConfigHasBeenSet = false;
298
299 AwsJobPresignedUrlConfig m_awsJobPresignedUrlConfig;
300 bool m_awsJobPresignedUrlConfigHasBeenSet = false;
301
302 TargetSelection m_targetSelection;
303 bool m_targetSelectionHasBeenSet = false;
304
305 Aws::Vector<OTAUpdateFile> m_otaUpdateFiles;
306 bool m_otaUpdateFilesHasBeenSet = false;
307
308 OTAUpdateStatus m_otaUpdateStatus;
309 bool m_otaUpdateStatusHasBeenSet = false;
310
311 Aws::String m_awsIotJobId;
312 bool m_awsIotJobIdHasBeenSet = false;
313
314 Aws::String m_awsIotJobArn;
315 bool m_awsIotJobArnHasBeenSet = false;
316
317 ErrorInfo m_errorInfo;
318 bool m_errorInfoHasBeenSet = false;
319
320 Aws::Map<Aws::String, Aws::String> m_additionalParameters;
321 bool m_additionalParametersHasBeenSet = false;
322 };
323
324} // namespace Model
325} // namespace IoT
326} // namespace Aws
OTAUpdateInfo & WithTargetSelection(TargetSelection &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
bool AwsJobExecutionsRolloutConfigHasBeenSet() const
bool AdditionalParametersHasBeenSet() const
const Aws::Vector< Protocol > & GetProtocols() const
AWS_IOT_API OTAUpdateInfo(Aws::Utils::Json::JsonView jsonValue)
OTAUpdateInfo & WithOtaUpdateStatus(OTAUpdateStatus &&value)
OTAUpdateInfo & WithOtaUpdateFiles(const Aws::Vector< OTAUpdateFile > &value)
AWS_IOT_API OTAUpdateInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
OTAUpdateInfo & WithErrorInfo(ErrorInfo &&value)
OTAUpdateInfo & WithAwsJobPresignedUrlConfig(const AwsJobPresignedUrlConfig &value)
OTAUpdateInfo & WithTargets(const Aws::Vector< Aws::String > &value)
OTAUpdateInfo & AddTargets(const char *value)
OTAUpdateInfo & AddProtocols(const Protocol &value)
void SetOtaUpdateArn(const Aws::String &value)
void SetOtaUpdateId(const Aws::String &value)
const OTAUpdateStatus & GetOtaUpdateStatus() const
void SetTargetSelection(TargetSelection &&value)
OTAUpdateInfo & AddTargets(const Aws::String &value)
OTAUpdateInfo & WithProtocols(const Aws::Vector< Protocol > &value)
void SetAwsIotJobArn(Aws::String &&value)
void SetAwsIotJobId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetTargets() const
void SetOtaUpdateArn(Aws::String &&value)
void SetDescription(const Aws::String &value)
OTAUpdateInfo & WithErrorInfo(const ErrorInfo &value)
OTAUpdateInfo & AddAdditionalParameters(const Aws::String &key, const Aws::String &value)
void SetErrorInfo(ErrorInfo &&value)
OTAUpdateInfo & AddTargets(Aws::String &&value)
void SetAwsIotJobArn(const Aws::String &value)
const TargetSelection & GetTargetSelection() const
OTAUpdateInfo & WithAwsIotJobArn(const Aws::String &value)
OTAUpdateInfo & WithCreationDate(const Aws::Utils::DateTime &value)
OTAUpdateInfo & WithDescription(Aws::String &&value)
const Aws::String & GetOtaUpdateId() const
OTAUpdateInfo & WithAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig &&value)
OTAUpdateInfo & WithLastModifiedDate(const Aws::Utils::DateTime &value)
OTAUpdateInfo & WithProtocols(Aws::Vector< Protocol > &&value)
OTAUpdateInfo & WithOtaUpdateArn(Aws::String &&value)
const Aws::String & GetAwsIotJobId() const
OTAUpdateInfo & WithAwsIotJobArn(Aws::String &&value)
const Aws::String & GetAwsIotJobArn() const
OTAUpdateInfo & WithOtaUpdateId(const char *value)
void SetOtaUpdateFiles(const Aws::Vector< OTAUpdateFile > &value)
OTAUpdateInfo & AddAdditionalParameters(const char *key, Aws::String &&value)
void SetOtaUpdateFiles(Aws::Vector< OTAUpdateFile > &&value)
OTAUpdateInfo & AddAdditionalParameters(const char *key, const char *value)
const ErrorInfo & GetErrorInfo() const
OTAUpdateInfo & WithDescription(const Aws::String &value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
OTAUpdateInfo & WithOtaUpdateArn(const Aws::String &value)
const Aws::String & GetOtaUpdateArn() const
OTAUpdateInfo & WithOtaUpdateId(Aws::String &&value)
OTAUpdateInfo & WithTargetSelection(const TargetSelection &value)
OTAUpdateInfo & WithAdditionalParameters(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetAwsIotJobId(const char *value)
OTAUpdateInfo & WithAwsIotJobArn(const char *value)
const Aws::String & GetDescription() const
void SetProtocols(Aws::Vector< Protocol > &&value)
void SetTargets(const Aws::Vector< Aws::String > &value)
void SetTargets(Aws::Vector< Aws::String > &&value)
OTAUpdateInfo & WithOtaUpdateArn(const char *value)
void SetOtaUpdateStatus(OTAUpdateStatus &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
OTAUpdateInfo & AddAdditionalParameters(Aws::String &&key, Aws::String &&value)
OTAUpdateInfo & WithLastModifiedDate(Aws::Utils::DateTime &&value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
OTAUpdateInfo & AddOtaUpdateFiles(const OTAUpdateFile &value)
bool AwsJobPresignedUrlConfigHasBeenSet() const
void SetOtaUpdateStatus(const OTAUpdateStatus &value)
void SetOtaUpdateId(Aws::String &&value)
const Aws::Vector< OTAUpdateFile > & GetOtaUpdateFiles() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
OTAUpdateInfo & WithAwsJobPresignedUrlConfig(AwsJobPresignedUrlConfig &&value)
OTAUpdateInfo & WithOtaUpdateFiles(Aws::Vector< OTAUpdateFile > &&value)
OTAUpdateInfo & WithOtaUpdateId(const Aws::String &value)
void SetAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig &&value)
OTAUpdateInfo & AddAdditionalParameters(Aws::String &&key, const Aws::String &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
OTAUpdateInfo & AddOtaUpdateFiles(OTAUpdateFile &&value)
void SetAwsJobPresignedUrlConfig(const AwsJobPresignedUrlConfig &value)
OTAUpdateInfo & WithAwsJobExecutionsRolloutConfig(const AwsJobExecutionsRolloutConfig &value)
void SetOtaUpdateArn(const char *value)
OTAUpdateInfo & WithTargets(Aws::Vector< Aws::String > &&value)
void SetErrorInfo(const ErrorInfo &value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalParameters() const
void SetAdditionalParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetTargetSelection(const TargetSelection &value)
OTAUpdateInfo & WithAdditionalParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetDescription(const char *value)
OTAUpdateInfo & AddAdditionalParameters(Aws::String &&key, const char *value)
void SetAdditionalParameters(const Aws::Map< Aws::String, Aws::String > &value)
OTAUpdateInfo & WithAwsIotJobId(Aws::String &&value)
const AwsJobPresignedUrlConfig & GetAwsJobPresignedUrlConfig() const
void SetDescription(Aws::String &&value)
void SetOtaUpdateId(const char *value)
OTAUpdateInfo & WithOtaUpdateStatus(const OTAUpdateStatus &value)
void SetAwsIotJobArn(const char *value)
OTAUpdateInfo & WithAwsIotJobId(const Aws::String &value)
void SetAwsJobExecutionsRolloutConfig(const AwsJobExecutionsRolloutConfig &value)
OTAUpdateInfo & WithAwsIotJobId(const char *value)
const AwsJobExecutionsRolloutConfig & GetAwsJobExecutionsRolloutConfig() const
OTAUpdateInfo & AddAdditionalParameters(const Aws::String &key, Aws::String &&value)
OTAUpdateInfo & WithCreationDate(Aws::Utils::DateTime &&value)
void SetAwsIotJobId(Aws::String &&value)
OTAUpdateInfo & AddProtocols(Protocol &&value)
OTAUpdateInfo & WithDescription(const char *value)
void SetAwsJobPresignedUrlConfig(AwsJobPresignedUrlConfig &&value)
void SetProtocols(const Aws::Vector< Protocol > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue