AWS SDK for C++  1.9.132
AWS SDK for C++
CreateOTAUpdateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
17 #include <aws/iot/model/Protocol.h>
19 #include <aws/iot/model/Tag.h>
20 #include <utility>
21 
22 namespace Aws
23 {
24 namespace IoT
25 {
26 namespace Model
27 {
28 
32  {
33  public:
35 
36  // Service request name is the Operation name which will send this request out,
37  // each operation should has unique request name, so that we can get operation's name from this request.
38  // Note: this is not true for response, multiple operations may have the same response name,
39  // so we can not get operation's name from response.
40  inline virtual const char* GetServiceRequestName() const override { return "CreateOTAUpdate"; }
41 
42  Aws::String SerializePayload() const override;
43 
44 
48  inline const Aws::String& GetOtaUpdateId() const{ return m_otaUpdateId; }
49 
53  inline bool OtaUpdateIdHasBeenSet() const { return m_otaUpdateIdHasBeenSet; }
54 
58  inline void SetOtaUpdateId(const Aws::String& value) { m_otaUpdateIdHasBeenSet = true; m_otaUpdateId = value; }
59 
63  inline void SetOtaUpdateId(Aws::String&& value) { m_otaUpdateIdHasBeenSet = true; m_otaUpdateId = std::move(value); }
64 
68  inline void SetOtaUpdateId(const char* value) { m_otaUpdateIdHasBeenSet = true; m_otaUpdateId.assign(value); }
69 
73  inline CreateOTAUpdateRequest& WithOtaUpdateId(const Aws::String& value) { SetOtaUpdateId(value); return *this;}
74 
78  inline CreateOTAUpdateRequest& WithOtaUpdateId(Aws::String&& value) { SetOtaUpdateId(std::move(value)); return *this;}
79 
83  inline CreateOTAUpdateRequest& WithOtaUpdateId(const char* value) { SetOtaUpdateId(value); return *this;}
84 
85 
89  inline const Aws::String& GetDescription() const{ return m_description; }
90 
94  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 
99  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
100 
104  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
105 
109  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
110 
114  inline CreateOTAUpdateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
115 
119  inline CreateOTAUpdateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
120 
124  inline CreateOTAUpdateRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
125 
126 
130  inline const Aws::Vector<Aws::String>& GetTargets() const{ return m_targets; }
131 
135  inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
136 
140  inline void SetTargets(const Aws::Vector<Aws::String>& value) { m_targetsHasBeenSet = true; m_targets = value; }
141 
145  inline void SetTargets(Aws::Vector<Aws::String>&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
146 
150  inline CreateOTAUpdateRequest& WithTargets(const Aws::Vector<Aws::String>& value) { SetTargets(value); return *this;}
151 
155  inline CreateOTAUpdateRequest& WithTargets(Aws::Vector<Aws::String>&& value) { SetTargets(std::move(value)); return *this;}
156 
160  inline CreateOTAUpdateRequest& AddTargets(const Aws::String& value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; }
161 
165  inline CreateOTAUpdateRequest& AddTargets(Aws::String&& value) { m_targetsHasBeenSet = true; m_targets.push_back(std::move(value)); return *this; }
166 
170  inline CreateOTAUpdateRequest& AddTargets(const char* value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; }
171 
172 
178  inline const Aws::Vector<Protocol>& GetProtocols() const{ return m_protocols; }
179 
185  inline bool ProtocolsHasBeenSet() const { return m_protocolsHasBeenSet; }
186 
192  inline void SetProtocols(const Aws::Vector<Protocol>& value) { m_protocolsHasBeenSet = true; m_protocols = value; }
193 
199  inline void SetProtocols(Aws::Vector<Protocol>&& value) { m_protocolsHasBeenSet = true; m_protocols = std::move(value); }
200 
206  inline CreateOTAUpdateRequest& WithProtocols(const Aws::Vector<Protocol>& value) { SetProtocols(value); return *this;}
207 
213  inline CreateOTAUpdateRequest& WithProtocols(Aws::Vector<Protocol>&& value) { SetProtocols(std::move(value)); return *this;}
214 
220  inline CreateOTAUpdateRequest& AddProtocols(const Protocol& value) { m_protocolsHasBeenSet = true; m_protocols.push_back(value); return *this; }
221 
227  inline CreateOTAUpdateRequest& AddProtocols(Protocol&& value) { m_protocolsHasBeenSet = true; m_protocols.push_back(std::move(value)); return *this; }
228 
229 
238  inline const TargetSelection& GetTargetSelection() const{ return m_targetSelection; }
239 
248  inline bool TargetSelectionHasBeenSet() const { return m_targetSelectionHasBeenSet; }
249 
258  inline void SetTargetSelection(const TargetSelection& value) { m_targetSelectionHasBeenSet = true; m_targetSelection = value; }
259 
268  inline void SetTargetSelection(TargetSelection&& value) { m_targetSelectionHasBeenSet = true; m_targetSelection = std::move(value); }
269 
278  inline CreateOTAUpdateRequest& WithTargetSelection(const TargetSelection& value) { SetTargetSelection(value); return *this;}
279 
288  inline CreateOTAUpdateRequest& WithTargetSelection(TargetSelection&& value) { SetTargetSelection(std::move(value)); return *this;}
289 
290 
294  inline const AwsJobExecutionsRolloutConfig& GetAwsJobExecutionsRolloutConfig() const{ return m_awsJobExecutionsRolloutConfig; }
295 
299  inline bool AwsJobExecutionsRolloutConfigHasBeenSet() const { return m_awsJobExecutionsRolloutConfigHasBeenSet; }
300 
304  inline void SetAwsJobExecutionsRolloutConfig(const AwsJobExecutionsRolloutConfig& value) { m_awsJobExecutionsRolloutConfigHasBeenSet = true; m_awsJobExecutionsRolloutConfig = value; }
305 
309  inline void SetAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig&& value) { m_awsJobExecutionsRolloutConfigHasBeenSet = true; m_awsJobExecutionsRolloutConfig = std::move(value); }
310 
314  inline CreateOTAUpdateRequest& WithAwsJobExecutionsRolloutConfig(const AwsJobExecutionsRolloutConfig& value) { SetAwsJobExecutionsRolloutConfig(value); return *this;}
315 
319  inline CreateOTAUpdateRequest& WithAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig&& value) { SetAwsJobExecutionsRolloutConfig(std::move(value)); return *this;}
320 
321 
325  inline const AwsJobPresignedUrlConfig& GetAwsJobPresignedUrlConfig() const{ return m_awsJobPresignedUrlConfig; }
326 
330  inline bool AwsJobPresignedUrlConfigHasBeenSet() const { return m_awsJobPresignedUrlConfigHasBeenSet; }
331 
335  inline void SetAwsJobPresignedUrlConfig(const AwsJobPresignedUrlConfig& value) { m_awsJobPresignedUrlConfigHasBeenSet = true; m_awsJobPresignedUrlConfig = value; }
336 
340  inline void SetAwsJobPresignedUrlConfig(AwsJobPresignedUrlConfig&& value) { m_awsJobPresignedUrlConfigHasBeenSet = true; m_awsJobPresignedUrlConfig = std::move(value); }
341 
345  inline CreateOTAUpdateRequest& WithAwsJobPresignedUrlConfig(const AwsJobPresignedUrlConfig& value) { SetAwsJobPresignedUrlConfig(value); return *this;}
346 
350  inline CreateOTAUpdateRequest& WithAwsJobPresignedUrlConfig(AwsJobPresignedUrlConfig&& value) { SetAwsJobPresignedUrlConfig(std::move(value)); return *this;}
351 
352 
356  inline const AwsJobAbortConfig& GetAwsJobAbortConfig() const{ return m_awsJobAbortConfig; }
357 
361  inline bool AwsJobAbortConfigHasBeenSet() const { return m_awsJobAbortConfigHasBeenSet; }
362 
366  inline void SetAwsJobAbortConfig(const AwsJobAbortConfig& value) { m_awsJobAbortConfigHasBeenSet = true; m_awsJobAbortConfig = value; }
367 
371  inline void SetAwsJobAbortConfig(AwsJobAbortConfig&& value) { m_awsJobAbortConfigHasBeenSet = true; m_awsJobAbortConfig = std::move(value); }
372 
376  inline CreateOTAUpdateRequest& WithAwsJobAbortConfig(const AwsJobAbortConfig& value) { SetAwsJobAbortConfig(value); return *this;}
377 
381  inline CreateOTAUpdateRequest& WithAwsJobAbortConfig(AwsJobAbortConfig&& value) { SetAwsJobAbortConfig(std::move(value)); return *this;}
382 
383 
391  inline const AwsJobTimeoutConfig& GetAwsJobTimeoutConfig() const{ return m_awsJobTimeoutConfig; }
392 
400  inline bool AwsJobTimeoutConfigHasBeenSet() const { return m_awsJobTimeoutConfigHasBeenSet; }
401 
409  inline void SetAwsJobTimeoutConfig(const AwsJobTimeoutConfig& value) { m_awsJobTimeoutConfigHasBeenSet = true; m_awsJobTimeoutConfig = value; }
410 
418  inline void SetAwsJobTimeoutConfig(AwsJobTimeoutConfig&& value) { m_awsJobTimeoutConfigHasBeenSet = true; m_awsJobTimeoutConfig = std::move(value); }
419 
427  inline CreateOTAUpdateRequest& WithAwsJobTimeoutConfig(const AwsJobTimeoutConfig& value) { SetAwsJobTimeoutConfig(value); return *this;}
428 
436  inline CreateOTAUpdateRequest& WithAwsJobTimeoutConfig(AwsJobTimeoutConfig&& value) { SetAwsJobTimeoutConfig(std::move(value)); return *this;}
437 
438 
442  inline const Aws::Vector<OTAUpdateFile>& GetFiles() const{ return m_files; }
443 
447  inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; }
448 
452  inline void SetFiles(const Aws::Vector<OTAUpdateFile>& value) { m_filesHasBeenSet = true; m_files = value; }
453 
457  inline void SetFiles(Aws::Vector<OTAUpdateFile>&& value) { m_filesHasBeenSet = true; m_files = std::move(value); }
458 
462  inline CreateOTAUpdateRequest& WithFiles(const Aws::Vector<OTAUpdateFile>& value) { SetFiles(value); return *this;}
463 
467  inline CreateOTAUpdateRequest& WithFiles(Aws::Vector<OTAUpdateFile>&& value) { SetFiles(std::move(value)); return *this;}
468 
472  inline CreateOTAUpdateRequest& AddFiles(const OTAUpdateFile& value) { m_filesHasBeenSet = true; m_files.push_back(value); return *this; }
473 
477  inline CreateOTAUpdateRequest& AddFiles(OTAUpdateFile&& value) { m_filesHasBeenSet = true; m_files.push_back(std::move(value)); return *this; }
478 
479 
485  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
486 
492  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
493 
499  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
500 
506  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
507 
513  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
514 
520  inline CreateOTAUpdateRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
521 
527  inline CreateOTAUpdateRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
528 
534  inline CreateOTAUpdateRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
535 
536 
540  inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalParameters() const{ return m_additionalParameters; }
541 
545  inline bool AdditionalParametersHasBeenSet() const { return m_additionalParametersHasBeenSet; }
546 
550  inline void SetAdditionalParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalParametersHasBeenSet = true; m_additionalParameters = value; }
551 
555  inline void SetAdditionalParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalParametersHasBeenSet = true; m_additionalParameters = std::move(value); }
556 
560  inline CreateOTAUpdateRequest& WithAdditionalParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetAdditionalParameters(value); return *this;}
561 
565  inline CreateOTAUpdateRequest& WithAdditionalParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetAdditionalParameters(std::move(value)); return *this;}
566 
570  inline CreateOTAUpdateRequest& AddAdditionalParameters(const Aws::String& key, const Aws::String& value) { m_additionalParametersHasBeenSet = true; m_additionalParameters.emplace(key, value); return *this; }
571 
575  inline CreateOTAUpdateRequest& AddAdditionalParameters(Aws::String&& key, const Aws::String& value) { m_additionalParametersHasBeenSet = true; m_additionalParameters.emplace(std::move(key), value); return *this; }
576 
580  inline CreateOTAUpdateRequest& AddAdditionalParameters(const Aws::String& key, Aws::String&& value) { m_additionalParametersHasBeenSet = true; m_additionalParameters.emplace(key, std::move(value)); return *this; }
581 
585  inline CreateOTAUpdateRequest& AddAdditionalParameters(Aws::String&& key, Aws::String&& value) { m_additionalParametersHasBeenSet = true; m_additionalParameters.emplace(std::move(key), std::move(value)); return *this; }
586 
590  inline CreateOTAUpdateRequest& AddAdditionalParameters(const char* key, Aws::String&& value) { m_additionalParametersHasBeenSet = true; m_additionalParameters.emplace(key, std::move(value)); return *this; }
591 
595  inline CreateOTAUpdateRequest& AddAdditionalParameters(Aws::String&& key, const char* value) { m_additionalParametersHasBeenSet = true; m_additionalParameters.emplace(std::move(key), value); return *this; }
596 
600  inline CreateOTAUpdateRequest& AddAdditionalParameters(const char* key, const char* value) { m_additionalParametersHasBeenSet = true; m_additionalParameters.emplace(key, value); return *this; }
601 
602 
606  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
607 
611  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
612 
616  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
617 
621  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
622 
626  inline CreateOTAUpdateRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
627 
631  inline CreateOTAUpdateRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
632 
636  inline CreateOTAUpdateRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
637 
641  inline CreateOTAUpdateRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
642 
643  private:
644 
645  Aws::String m_otaUpdateId;
646  bool m_otaUpdateIdHasBeenSet;
647 
648  Aws::String m_description;
649  bool m_descriptionHasBeenSet;
650 
651  Aws::Vector<Aws::String> m_targets;
652  bool m_targetsHasBeenSet;
653 
654  Aws::Vector<Protocol> m_protocols;
655  bool m_protocolsHasBeenSet;
656 
657  TargetSelection m_targetSelection;
658  bool m_targetSelectionHasBeenSet;
659 
660  AwsJobExecutionsRolloutConfig m_awsJobExecutionsRolloutConfig;
661  bool m_awsJobExecutionsRolloutConfigHasBeenSet;
662 
663  AwsJobPresignedUrlConfig m_awsJobPresignedUrlConfig;
664  bool m_awsJobPresignedUrlConfigHasBeenSet;
665 
666  AwsJobAbortConfig m_awsJobAbortConfig;
667  bool m_awsJobAbortConfigHasBeenSet;
668 
669  AwsJobTimeoutConfig m_awsJobTimeoutConfig;
670  bool m_awsJobTimeoutConfigHasBeenSet;
671 
673  bool m_filesHasBeenSet;
674 
675  Aws::String m_roleArn;
676  bool m_roleArnHasBeenSet;
677 
678  Aws::Map<Aws::String, Aws::String> m_additionalParameters;
679  bool m_additionalParametersHasBeenSet;
680 
681  Aws::Vector<Tag> m_tags;
682  bool m_tagsHasBeenSet;
683  };
684 
685 } // namespace Model
686 } // namespace IoT
687 } // namespace Aws
Aws::IoT::Model::CreateOTAUpdateRequest::WithTags
CreateOTAUpdateRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateOTAUpdateRequest.h:626
Aws::IoT::Model::CreateOTAUpdateRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: CreateOTAUpdateRequest.h:513
AwsJobAbortConfig.h
Aws::IoT::Model::CreateOTAUpdateRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateOTAUpdateRequest.h:99
Aws::IoT::Model::CreateOTAUpdateRequest::WithAwsJobExecutionsRolloutConfig
CreateOTAUpdateRequest & WithAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig &&value)
Definition: CreateOTAUpdateRequest.h:319
AwsJobTimeoutConfig.h
Aws::IoT::Model::CreateOTAUpdateRequest::AddTargets
CreateOTAUpdateRequest & AddTargets(const char *value)
Definition: CreateOTAUpdateRequest.h:170
Aws::IoT::Model::CreateOTAUpdateRequest::WithAwsJobExecutionsRolloutConfig
CreateOTAUpdateRequest & WithAwsJobExecutionsRolloutConfig(const AwsJobExecutionsRolloutConfig &value)
Definition: CreateOTAUpdateRequest.h:314
Aws::IoT::Model::CreateOTAUpdateRequest::WithTargetSelection
CreateOTAUpdateRequest & WithTargetSelection(const TargetSelection &value)
Definition: CreateOTAUpdateRequest.h:278
Protocol.h
AwsJobPresignedUrlConfig.h
Aws::IoT::Model::CreateOTAUpdateRequest::SetTargets
void SetTargets(Aws::Vector< Aws::String > &&value)
Definition: CreateOTAUpdateRequest.h:145
Aws::IoT::Model::CreateOTAUpdateRequest::GetFiles
const Aws::Vector< OTAUpdateFile > & GetFiles() const
Definition: CreateOTAUpdateRequest.h:442
Aws::IoT::Model::CreateOTAUpdateRequest::AddAdditionalParameters
CreateOTAUpdateRequest & AddAdditionalParameters(Aws::String &&key, Aws::String &&value)
Definition: CreateOTAUpdateRequest.h:585
Aws::IoT::Model::CreateOTAUpdateRequest::AwsJobExecutionsRolloutConfigHasBeenSet
bool AwsJobExecutionsRolloutConfigHasBeenSet() const
Definition: CreateOTAUpdateRequest.h:299
Aws::IoT::Model::CreateOTAUpdateRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateOTAUpdateRequest.h:616
Aws::IoT::Model::CreateOTAUpdateRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: CreateOTAUpdateRequest.h:485
Aws::IoT::Model::CreateOTAUpdateRequest::WithAwsJobTimeoutConfig
CreateOTAUpdateRequest & WithAwsJobTimeoutConfig(const AwsJobTimeoutConfig &value)
Definition: CreateOTAUpdateRequest.h:427
Aws::IoT::Model::CreateOTAUpdateRequest::SetAdditionalParameters
void SetAdditionalParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateOTAUpdateRequest.h:550
Aws::IoT::Model::CreateOTAUpdateRequest::AddAdditionalParameters
CreateOTAUpdateRequest & AddAdditionalParameters(const char *key, const char *value)
Definition: CreateOTAUpdateRequest.h:600
Aws::IoT::Model::CreateOTAUpdateRequest::FilesHasBeenSet
bool FilesHasBeenSet() const
Definition: CreateOTAUpdateRequest.h:447
Aws::IoT::Model::CreateOTAUpdateRequest::AddTargets
CreateOTAUpdateRequest & AddTargets(const Aws::String &value)
Definition: CreateOTAUpdateRequest.h:160
Aws::IoT::Model::CreateOTAUpdateRequest::SetAwsJobAbortConfig
void SetAwsJobAbortConfig(AwsJobAbortConfig &&value)
Definition: CreateOTAUpdateRequest.h:371
Aws::IoT::Model::CreateOTAUpdateRequest::AddTags
CreateOTAUpdateRequest & AddTags(const Tag &value)
Definition: CreateOTAUpdateRequest.h:636
Aws::IoT::Model::CreateOTAUpdateRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateOTAUpdateRequest.h:94
Aws::IoT::Model::CreateOTAUpdateRequest::AddTargets
CreateOTAUpdateRequest & AddTargets(Aws::String &&value)
Definition: CreateOTAUpdateRequest.h:165
Aws::IoT::Model::CreateOTAUpdateRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: CreateOTAUpdateRequest.h:492
Aws::IoT::Model::CreateOTAUpdateRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateOTAUpdateRequest.h:89
Aws::IoT::Model::CreateOTAUpdateRequest::SetAwsJobTimeoutConfig
void SetAwsJobTimeoutConfig(const AwsJobTimeoutConfig &value)
Definition: CreateOTAUpdateRequest.h:409
Aws::IoT::Model::CreateOTAUpdateRequest::AdditionalParametersHasBeenSet
bool AdditionalParametersHasBeenSet() const
Definition: CreateOTAUpdateRequest.h:545
Aws::IoT::Model::CreateOTAUpdateRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateOTAUpdateRequest.h:109
Aws::IoT::Model::CreateOTAUpdateRequest::GetAdditionalParameters
const Aws::Map< Aws::String, Aws::String > & GetAdditionalParameters() const
Definition: CreateOTAUpdateRequest.h:540
Aws::IoT::Model::CreateOTAUpdateRequest::AddFiles
CreateOTAUpdateRequest & AddFiles(const OTAUpdateFile &value)
Definition: CreateOTAUpdateRequest.h:472
Aws::IoT::Model::CreateOTAUpdateRequest::SetOtaUpdateId
void SetOtaUpdateId(const char *value)
Definition: CreateOTAUpdateRequest.h:68
Aws::IoT::Model::CreateOTAUpdateRequest::SetFiles
void SetFiles(Aws::Vector< OTAUpdateFile > &&value)
Definition: CreateOTAUpdateRequest.h:457
Aws::IoT::Model::CreateOTAUpdateRequest::WithAdditionalParameters
CreateOTAUpdateRequest & WithAdditionalParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateOTAUpdateRequest.h:560
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::CreateOTAUpdateRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateOTAUpdateRequest.h:621
Aws::IoT::Model::CreateOTAUpdateRequest::GetAwsJobTimeoutConfig
const AwsJobTimeoutConfig & GetAwsJobTimeoutConfig() const
Definition: CreateOTAUpdateRequest.h:391
Aws::IoT::Model::CreateOTAUpdateRequest::SetAwsJobExecutionsRolloutConfig
void SetAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig &&value)
Definition: CreateOTAUpdateRequest.h:309
Aws::IoT::Model::CreateOTAUpdateRequest::ProtocolsHasBeenSet
bool ProtocolsHasBeenSet() const
Definition: CreateOTAUpdateRequest.h:185
AWSVector.h
Aws::IoT::Model::CreateOTAUpdateRequest::SetProtocols
void SetProtocols(Aws::Vector< Protocol > &&value)
Definition: CreateOTAUpdateRequest.h:199
Aws::IoT::Model::AwsJobExecutionsRolloutConfig
Definition: AwsJobExecutionsRolloutConfig.h:32
Aws::IoT::Model::CreateOTAUpdateRequest::SetProtocols
void SetProtocols(const Aws::Vector< Protocol > &value)
Definition: CreateOTAUpdateRequest.h:192
Aws::IoT::Model::CreateOTAUpdateRequest::AddProtocols
CreateOTAUpdateRequest & AddProtocols(const Protocol &value)
Definition: CreateOTAUpdateRequest.h:220
Aws::IoT::Model::CreateOTAUpdateRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateOTAUpdateRequest.h:611
OTAUpdateFile.h
Aws::IoT::Model::AwsJobAbortConfig
Definition: AwsJobAbortConfig.h:34
Aws::IoT::Model::CreateOTAUpdateRequest::SetFiles
void SetFiles(const Aws::Vector< OTAUpdateFile > &value)
Definition: CreateOTAUpdateRequest.h:452
Aws::IoT::Model::CreateOTAUpdateRequest::SetTargets
void SetTargets(const Aws::Vector< Aws::String > &value)
Definition: CreateOTAUpdateRequest.h:140
Aws::IoT::Model::CreateOTAUpdateRequest::GetAwsJobAbortConfig
const AwsJobAbortConfig & GetAwsJobAbortConfig() const
Definition: CreateOTAUpdateRequest.h:356
Aws::IoT::Model::CreateOTAUpdateRequest::SetAwsJobAbortConfig
void SetAwsJobAbortConfig(const AwsJobAbortConfig &value)
Definition: CreateOTAUpdateRequest.h:366
Aws::IoT::Model::CreateOTAUpdateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::CreateOTAUpdateRequest::SetAdditionalParameters
void SetAdditionalParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateOTAUpdateRequest.h:555
Aws::IoT::Model::CreateOTAUpdateRequest::GetProtocols
const Aws::Vector< Protocol > & GetProtocols() const
Definition: CreateOTAUpdateRequest.h:178
Aws::IoT::Model::Tag
Definition: Tag.h:33
Aws::IoT::Model::CreateOTAUpdateRequest::WithTargets
CreateOTAUpdateRequest & WithTargets(const Aws::Vector< Aws::String > &value)
Definition: CreateOTAUpdateRequest.h:150
Aws::IoT::Model::CreateOTAUpdateRequest::TargetSelectionHasBeenSet
bool TargetSelectionHasBeenSet() const
Definition: CreateOTAUpdateRequest.h:248
Aws::IoT::Model::OTAUpdateFile
Definition: OTAUpdateFile.h:36
Aws::IoT::Model::CreateOTAUpdateRequest::GetAwsJobExecutionsRolloutConfig
const AwsJobExecutionsRolloutConfig & GetAwsJobExecutionsRolloutConfig() const
Definition: CreateOTAUpdateRequest.h:294
Aws::IoT::Model::CreateOTAUpdateRequest::CreateOTAUpdateRequest
CreateOTAUpdateRequest()
Aws::IoT::Model::CreateOTAUpdateRequest::WithOtaUpdateId
CreateOTAUpdateRequest & WithOtaUpdateId(const Aws::String &value)
Definition: CreateOTAUpdateRequest.h:73
TargetSelection.h
Aws::IoT::Model::CreateOTAUpdateRequest::AddAdditionalParameters
CreateOTAUpdateRequest & AddAdditionalParameters(Aws::String &&key, const char *value)
Definition: CreateOTAUpdateRequest.h:595
Aws::IoT::Model::CreateOTAUpdateRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: CreateOTAUpdateRequest.h:499
Aws::IoT::Model::CreateOTAUpdateRequest::SetTargetSelection
void SetTargetSelection(TargetSelection &&value)
Definition: CreateOTAUpdateRequest.h:268
Aws::IoT::Model::CreateOTAUpdateRequest::AwsJobTimeoutConfigHasBeenSet
bool AwsJobTimeoutConfigHasBeenSet() const
Definition: CreateOTAUpdateRequest.h:400
Aws::IoT::Model::AwsJobPresignedUrlConfig
Definition: AwsJobPresignedUrlConfig.h:31
Aws::IoT::Model::CreateOTAUpdateRequest::WithDescription
CreateOTAUpdateRequest & WithDescription(Aws::String &&value)
Definition: CreateOTAUpdateRequest.h:119
Aws::IoT::Model::CreateOTAUpdateRequest::WithRoleArn
CreateOTAUpdateRequest & WithRoleArn(const char *value)
Definition: CreateOTAUpdateRequest.h:534
Aws::IoT::Model::CreateOTAUpdateRequest::GetTargetSelection
const TargetSelection & GetTargetSelection() const
Definition: CreateOTAUpdateRequest.h:238
AWSString.h
Aws::IoT::Model::CreateOTAUpdateRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateOTAUpdateRequest.h:104
Aws::IoT::Model::CreateOTAUpdateRequest::WithRoleArn
CreateOTAUpdateRequest & WithRoleArn(const Aws::String &value)
Definition: CreateOTAUpdateRequest.h:520
Aws::IoT::Model::CreateOTAUpdateRequest::WithDescription
CreateOTAUpdateRequest & WithDescription(const char *value)
Definition: CreateOTAUpdateRequest.h:124
Aws::IoT::Model::CreateOTAUpdateRequest::WithTags
CreateOTAUpdateRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateOTAUpdateRequest.h:631
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::CreateOTAUpdateRequest::SetAwsJobPresignedUrlConfig
void SetAwsJobPresignedUrlConfig(AwsJobPresignedUrlConfig &&value)
Definition: CreateOTAUpdateRequest.h:340
Aws::IoT::Model::CreateOTAUpdateRequest::WithAwsJobTimeoutConfig
CreateOTAUpdateRequest & WithAwsJobTimeoutConfig(AwsJobTimeoutConfig &&value)
Definition: CreateOTAUpdateRequest.h:436
Aws::IoT::Model::CreateOTAUpdateRequest::WithTargets
CreateOTAUpdateRequest & WithTargets(Aws::Vector< Aws::String > &&value)
Definition: CreateOTAUpdateRequest.h:155
Aws::IoT::Model::CreateOTAUpdateRequest::SetOtaUpdateId
void SetOtaUpdateId(Aws::String &&value)
Definition: CreateOTAUpdateRequest.h:63
Aws::IoT::Model::CreateOTAUpdateRequest::AwsJobAbortConfigHasBeenSet
bool AwsJobAbortConfigHasBeenSet() const
Definition: CreateOTAUpdateRequest.h:361
Aws::IoT::Model::CreateOTAUpdateRequest::AddProtocols
CreateOTAUpdateRequest & AddProtocols(Protocol &&value)
Definition: CreateOTAUpdateRequest.h:227
Aws::IoT::Model::CreateOTAUpdateRequest::OtaUpdateIdHasBeenSet
bool OtaUpdateIdHasBeenSet() const
Definition: CreateOTAUpdateRequest.h:53
Aws::IoT::Model::CreateOTAUpdateRequest::SetTargetSelection
void SetTargetSelection(const TargetSelection &value)
Definition: CreateOTAUpdateRequest.h:258
Aws::IoT::Model::CreateOTAUpdateRequest::SetAwsJobExecutionsRolloutConfig
void SetAwsJobExecutionsRolloutConfig(const AwsJobExecutionsRolloutConfig &value)
Definition: CreateOTAUpdateRequest.h:304
Aws::IoT::Model::CreateOTAUpdateRequest::WithProtocols
CreateOTAUpdateRequest & WithProtocols(const Aws::Vector< Protocol > &value)
Definition: CreateOTAUpdateRequest.h:206
Aws::IoT::Model::CreateOTAUpdateRequest::TargetsHasBeenSet
bool TargetsHasBeenSet() const
Definition: CreateOTAUpdateRequest.h:135
Aws::IoT::Model::CreateOTAUpdateRequest::WithAwsJobPresignedUrlConfig
CreateOTAUpdateRequest & WithAwsJobPresignedUrlConfig(AwsJobPresignedUrlConfig &&value)
Definition: CreateOTAUpdateRequest.h:350
Aws::IoT::Model::CreateOTAUpdateRequest::AwsJobPresignedUrlConfigHasBeenSet
bool AwsJobPresignedUrlConfigHasBeenSet() const
Definition: CreateOTAUpdateRequest.h:330
Aws::IoT::Model::CreateOTAUpdateRequest::AddAdditionalParameters
CreateOTAUpdateRequest & AddAdditionalParameters(const char *key, Aws::String &&value)
Definition: CreateOTAUpdateRequest.h:590
Aws::IoT::Model::CreateOTAUpdateRequest::WithFiles
CreateOTAUpdateRequest & WithFiles(Aws::Vector< OTAUpdateFile > &&value)
Definition: CreateOTAUpdateRequest.h:467
Aws::IoT::Model::CreateOTAUpdateRequest::WithOtaUpdateId
CreateOTAUpdateRequest & WithOtaUpdateId(const char *value)
Definition: CreateOTAUpdateRequest.h:83
Aws::IoT::Model::CreateOTAUpdateRequest::GetTargets
const Aws::Vector< Aws::String > & GetTargets() const
Definition: CreateOTAUpdateRequest.h:130
Aws::IoT::Model::CreateOTAUpdateRequest::GetAwsJobPresignedUrlConfig
const AwsJobPresignedUrlConfig & GetAwsJobPresignedUrlConfig() const
Definition: CreateOTAUpdateRequest.h:325
Aws::IoT::Model::CreateOTAUpdateRequest::WithAwsJobAbortConfig
CreateOTAUpdateRequest & WithAwsJobAbortConfig(const AwsJobAbortConfig &value)
Definition: CreateOTAUpdateRequest.h:376
Aws::IoT::Model::CreateOTAUpdateRequest::SetOtaUpdateId
void SetOtaUpdateId(const Aws::String &value)
Definition: CreateOTAUpdateRequest.h:58
Aws::IoT::Model::CreateOTAUpdateRequest::WithFiles
CreateOTAUpdateRequest & WithFiles(const Aws::Vector< OTAUpdateFile > &value)
Definition: CreateOTAUpdateRequest.h:462
Aws::IoT::Model::CreateOTAUpdateRequest::WithOtaUpdateId
CreateOTAUpdateRequest & WithOtaUpdateId(Aws::String &&value)
Definition: CreateOTAUpdateRequest.h:78
Aws::IoT::Model::CreateOTAUpdateRequest::WithAdditionalParameters
CreateOTAUpdateRequest & WithAdditionalParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateOTAUpdateRequest.h:565
Aws::IoT::Model::CreateOTAUpdateRequest::WithProtocols
CreateOTAUpdateRequest & WithProtocols(Aws::Vector< Protocol > &&value)
Definition: CreateOTAUpdateRequest.h:213
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::CreateOTAUpdateRequest::WithTargetSelection
CreateOTAUpdateRequest & WithTargetSelection(TargetSelection &&value)
Definition: CreateOTAUpdateRequest.h:288
Aws::IoT::Model::CreateOTAUpdateRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: CreateOTAUpdateRequest.h:506
Aws::IoT::Model::CreateOTAUpdateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateOTAUpdateRequest.h:40
Aws::IoT::Model::CreateOTAUpdateRequest::AddAdditionalParameters
CreateOTAUpdateRequest & AddAdditionalParameters(const Aws::String &key, Aws::String &&value)
Definition: CreateOTAUpdateRequest.h:580
Aws::IoT::Model::CreateOTAUpdateRequest
Definition: CreateOTAUpdateRequest.h:32
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::CreateOTAUpdateRequest::AddTags
CreateOTAUpdateRequest & AddTags(Tag &&value)
Definition: CreateOTAUpdateRequest.h:641
Aws::IoT::Model::CreateOTAUpdateRequest::AddFiles
CreateOTAUpdateRequest & AddFiles(OTAUpdateFile &&value)
Definition: CreateOTAUpdateRequest.h:477
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::CreateOTAUpdateRequest::WithDescription
CreateOTAUpdateRequest & WithDescription(const Aws::String &value)
Definition: CreateOTAUpdateRequest.h:114
Aws::IoT::Model::AwsJobTimeoutConfig
Definition: AwsJobTimeoutConfig.h:34
IoTRequest.h
Aws::IoT::Model::CreateOTAUpdateRequest::AddAdditionalParameters
CreateOTAUpdateRequest & AddAdditionalParameters(const Aws::String &key, const Aws::String &value)
Definition: CreateOTAUpdateRequest.h:570
Aws::IoT::Model::TargetSelection
TargetSelection
Definition: TargetSelection.h:17
AwsJobExecutionsRolloutConfig.h
Aws::IoT::Model::CreateOTAUpdateRequest::WithAwsJobAbortConfig
CreateOTAUpdateRequest & WithAwsJobAbortConfig(AwsJobAbortConfig &&value)
Definition: CreateOTAUpdateRequest.h:381
Aws::IoT::Model::CreateOTAUpdateRequest::AddAdditionalParameters
CreateOTAUpdateRequest & AddAdditionalParameters(Aws::String &&key, const Aws::String &value)
Definition: CreateOTAUpdateRequest.h:575
Aws::IoT::Model::CreateOTAUpdateRequest::SetAwsJobTimeoutConfig
void SetAwsJobTimeoutConfig(AwsJobTimeoutConfig &&value)
Definition: CreateOTAUpdateRequest.h:418
Aws::IoT::Model::CreateOTAUpdateRequest::WithAwsJobPresignedUrlConfig
CreateOTAUpdateRequest & WithAwsJobPresignedUrlConfig(const AwsJobPresignedUrlConfig &value)
Definition: CreateOTAUpdateRequest.h:345
AWSMap.h
Aws::IoT::Model::CreateOTAUpdateRequest::SetAwsJobPresignedUrlConfig
void SetAwsJobPresignedUrlConfig(const AwsJobPresignedUrlConfig &value)
Definition: CreateOTAUpdateRequest.h:335
Aws::IoT::Model::CreateOTAUpdateRequest::WithRoleArn
CreateOTAUpdateRequest & WithRoleArn(Aws::String &&value)
Definition: CreateOTAUpdateRequest.h:527
Aws::IoT::Model::Protocol
Protocol
Definition: Protocol.h:17
Aws::IoT::Model::CreateOTAUpdateRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateOTAUpdateRequest.h:606
Aws::IoT::Model::CreateOTAUpdateRequest::GetOtaUpdateId
const Aws::String & GetOtaUpdateId() const
Definition: CreateOTAUpdateRequest.h:48
Tag.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
IoT_EXPORTS.h