AWS SDK for C++  1.9.133
AWS SDK for C++
UpdateJobRequest.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>
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Http
19 {
20  class URI;
21 } //namespace Http
22 namespace IoT
23 {
24 namespace Model
25 {
26 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "UpdateJob"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
48  inline const Aws::String& GetJobId() const{ return m_jobId; }
49 
53  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
54 
58  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
59 
63  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
64 
68  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
69 
73  inline UpdateJobRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
74 
78  inline UpdateJobRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
79 
83  inline UpdateJobRequest& WithJobId(const char* value) { SetJobId(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 UpdateJobRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
115 
119  inline UpdateJobRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
120 
124  inline UpdateJobRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
125 
126 
130  inline const PresignedUrlConfig& GetPresignedUrlConfig() const{ return m_presignedUrlConfig; }
131 
135  inline bool PresignedUrlConfigHasBeenSet() const { return m_presignedUrlConfigHasBeenSet; }
136 
140  inline void SetPresignedUrlConfig(const PresignedUrlConfig& value) { m_presignedUrlConfigHasBeenSet = true; m_presignedUrlConfig = value; }
141 
145  inline void SetPresignedUrlConfig(PresignedUrlConfig&& value) { m_presignedUrlConfigHasBeenSet = true; m_presignedUrlConfig = std::move(value); }
146 
150  inline UpdateJobRequest& WithPresignedUrlConfig(const PresignedUrlConfig& value) { SetPresignedUrlConfig(value); return *this;}
151 
155  inline UpdateJobRequest& WithPresignedUrlConfig(PresignedUrlConfig&& value) { SetPresignedUrlConfig(std::move(value)); return *this;}
156 
157 
161  inline const JobExecutionsRolloutConfig& GetJobExecutionsRolloutConfig() const{ return m_jobExecutionsRolloutConfig; }
162 
166  inline bool JobExecutionsRolloutConfigHasBeenSet() const { return m_jobExecutionsRolloutConfigHasBeenSet; }
167 
171  inline void SetJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig& value) { m_jobExecutionsRolloutConfigHasBeenSet = true; m_jobExecutionsRolloutConfig = value; }
172 
176  inline void SetJobExecutionsRolloutConfig(JobExecutionsRolloutConfig&& value) { m_jobExecutionsRolloutConfigHasBeenSet = true; m_jobExecutionsRolloutConfig = std::move(value); }
177 
181  inline UpdateJobRequest& WithJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig& value) { SetJobExecutionsRolloutConfig(value); return *this;}
182 
186  inline UpdateJobRequest& WithJobExecutionsRolloutConfig(JobExecutionsRolloutConfig&& value) { SetJobExecutionsRolloutConfig(std::move(value)); return *this;}
187 
188 
192  inline const AbortConfig& GetAbortConfig() const{ return m_abortConfig; }
193 
197  inline bool AbortConfigHasBeenSet() const { return m_abortConfigHasBeenSet; }
198 
202  inline void SetAbortConfig(const AbortConfig& value) { m_abortConfigHasBeenSet = true; m_abortConfig = value; }
203 
207  inline void SetAbortConfig(AbortConfig&& value) { m_abortConfigHasBeenSet = true; m_abortConfig = std::move(value); }
208 
212  inline UpdateJobRequest& WithAbortConfig(const AbortConfig& value) { SetAbortConfig(value); return *this;}
213 
217  inline UpdateJobRequest& WithAbortConfig(AbortConfig&& value) { SetAbortConfig(std::move(value)); return *this;}
218 
219 
227  inline const TimeoutConfig& GetTimeoutConfig() const{ return m_timeoutConfig; }
228 
236  inline bool TimeoutConfigHasBeenSet() const { return m_timeoutConfigHasBeenSet; }
237 
245  inline void SetTimeoutConfig(const TimeoutConfig& value) { m_timeoutConfigHasBeenSet = true; m_timeoutConfig = value; }
246 
254  inline void SetTimeoutConfig(TimeoutConfig&& value) { m_timeoutConfigHasBeenSet = true; m_timeoutConfig = std::move(value); }
255 
263  inline UpdateJobRequest& WithTimeoutConfig(const TimeoutConfig& value) { SetTimeoutConfig(value); return *this;}
264 
272  inline UpdateJobRequest& WithTimeoutConfig(TimeoutConfig&& value) { SetTimeoutConfig(std::move(value)); return *this;}
273 
274 
284  inline const Aws::String& GetNamespaceId() const{ return m_namespaceId; }
285 
295  inline bool NamespaceIdHasBeenSet() const { return m_namespaceIdHasBeenSet; }
296 
306  inline void SetNamespaceId(const Aws::String& value) { m_namespaceIdHasBeenSet = true; m_namespaceId = value; }
307 
317  inline void SetNamespaceId(Aws::String&& value) { m_namespaceIdHasBeenSet = true; m_namespaceId = std::move(value); }
318 
328  inline void SetNamespaceId(const char* value) { m_namespaceIdHasBeenSet = true; m_namespaceId.assign(value); }
329 
339  inline UpdateJobRequest& WithNamespaceId(const Aws::String& value) { SetNamespaceId(value); return *this;}
340 
350  inline UpdateJobRequest& WithNamespaceId(Aws::String&& value) { SetNamespaceId(std::move(value)); return *this;}
351 
361  inline UpdateJobRequest& WithNamespaceId(const char* value) { SetNamespaceId(value); return *this;}
362 
363  private:
364 
365  Aws::String m_jobId;
366  bool m_jobIdHasBeenSet;
367 
368  Aws::String m_description;
369  bool m_descriptionHasBeenSet;
370 
371  PresignedUrlConfig m_presignedUrlConfig;
372  bool m_presignedUrlConfigHasBeenSet;
373 
374  JobExecutionsRolloutConfig m_jobExecutionsRolloutConfig;
375  bool m_jobExecutionsRolloutConfigHasBeenSet;
376 
377  AbortConfig m_abortConfig;
378  bool m_abortConfigHasBeenSet;
379 
380  TimeoutConfig m_timeoutConfig;
381  bool m_timeoutConfigHasBeenSet;
382 
383  Aws::String m_namespaceId;
384  bool m_namespaceIdHasBeenSet;
385  };
386 
387 } // namespace Model
388 } // namespace IoT
389 } // namespace Aws
Aws::IoT::Model::UpdateJobRequest::SetTimeoutConfig
void SetTimeoutConfig(const TimeoutConfig &value)
Definition: UpdateJobRequest.h:245
Aws::IoT::Model::UpdateJobRequest::TimeoutConfigHasBeenSet
bool TimeoutConfigHasBeenSet() const
Definition: UpdateJobRequest.h:236
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::UpdateJobRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateJobRequest.h:104
Aws::IoT::Model::UpdateJobRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoT::Model::UpdateJobRequest::PresignedUrlConfigHasBeenSet
bool PresignedUrlConfigHasBeenSet() const
Definition: UpdateJobRequest.h:135
Aws::IoT::Model::UpdateJobRequest::GetPresignedUrlConfig
const PresignedUrlConfig & GetPresignedUrlConfig() const
Definition: UpdateJobRequest.h:130
Aws::IoT::Model::UpdateJobRequest::WithDescription
UpdateJobRequest & WithDescription(const char *value)
Definition: UpdateJobRequest.h:124
Aws::IoT::Model::UpdateJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateJobRequest.h:38
Aws::IoT::Model::UpdateJobRequest::WithPresignedUrlConfig
UpdateJobRequest & WithPresignedUrlConfig(const PresignedUrlConfig &value)
Definition: UpdateJobRequest.h:150
Aws::IoT::Model::UpdateJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::TimeoutConfig
Definition: TimeoutConfig.h:34
Aws::IoT::Model::UpdateJobRequest::WithNamespaceId
UpdateJobRequest & WithNamespaceId(const char *value)
Definition: UpdateJobRequest.h:361
Aws::IoT::Model::UpdateJobRequest::SetTimeoutConfig
void SetTimeoutConfig(TimeoutConfig &&value)
Definition: UpdateJobRequest.h:254
Aws::IoT::Model::UpdateJobRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: UpdateJobRequest.h:58
Aws::IoT::Model::UpdateJobRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateJobRequest.h:94
Aws::IoT::Model::UpdateJobRequest::SetAbortConfig
void SetAbortConfig(AbortConfig &&value)
Definition: UpdateJobRequest.h:207
JobExecutionsRolloutConfig.h
Aws::IoT::Model::UpdateJobRequest::SetNamespaceId
void SetNamespaceId(const Aws::String &value)
Definition: UpdateJobRequest.h:306
Aws::IoT::Model::UpdateJobRequest::WithPresignedUrlConfig
UpdateJobRequest & WithPresignedUrlConfig(PresignedUrlConfig &&value)
Definition: UpdateJobRequest.h:155
Aws::IoT::Model::UpdateJobRequest::SetPresignedUrlConfig
void SetPresignedUrlConfig(PresignedUrlConfig &&value)
Definition: UpdateJobRequest.h:145
Aws::IoT::Model::UpdateJobRequest::WithTimeoutConfig
UpdateJobRequest & WithTimeoutConfig(TimeoutConfig &&value)
Definition: UpdateJobRequest.h:272
Aws::IoT::Model::UpdateJobRequest::WithDescription
UpdateJobRequest & WithDescription(Aws::String &&value)
Definition: UpdateJobRequest.h:119
Aws::IoT::Model::UpdateJobRequest::SetNamespaceId
void SetNamespaceId(const char *value)
Definition: UpdateJobRequest.h:328
Aws::IoT::Model::UpdateJobRequest::WithJobId
UpdateJobRequest & WithJobId(const char *value)
Definition: UpdateJobRequest.h:83
Aws::IoT::Model::AbortConfig
Definition: AbortConfig.h:34
Aws::IoT::Model::UpdateJobRequest::WithJobExecutionsRolloutConfig
UpdateJobRequest & WithJobExecutionsRolloutConfig(JobExecutionsRolloutConfig &&value)
Definition: UpdateJobRequest.h:186
Aws::IoT::Model::PresignedUrlConfig
Definition: PresignedUrlConfig.h:32
Aws::IoT::Model::UpdateJobRequest::SetJobExecutionsRolloutConfig
void SetJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig &value)
Definition: UpdateJobRequest.h:171
Aws::IoT::Model::UpdateJobRequest::GetAbortConfig
const AbortConfig & GetAbortConfig() const
Definition: UpdateJobRequest.h:192
Aws::IoT::Model::UpdateJobRequest::GetTimeoutConfig
const TimeoutConfig & GetTimeoutConfig() const
Definition: UpdateJobRequest.h:227
Aws::IoT::Model::UpdateJobRequest::JobExecutionsRolloutConfigHasBeenSet
bool JobExecutionsRolloutConfigHasBeenSet() const
Definition: UpdateJobRequest.h:166
Aws::IoT::Model::UpdateJobRequest::GetJobId
const Aws::String & GetJobId() const
Definition: UpdateJobRequest.h:48
Aws::IoT::Model::UpdateJobRequest::SetPresignedUrlConfig
void SetPresignedUrlConfig(const PresignedUrlConfig &value)
Definition: UpdateJobRequest.h:140
Aws::IoT::Model::UpdateJobRequest::WithTimeoutConfig
UpdateJobRequest & WithTimeoutConfig(const TimeoutConfig &value)
Definition: UpdateJobRequest.h:263
Aws::IoT::Model::UpdateJobRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateJobRequest.h:109
Aws::IoT::Model::UpdateJobRequest::SetJobExecutionsRolloutConfig
void SetJobExecutionsRolloutConfig(JobExecutionsRolloutConfig &&value)
Definition: UpdateJobRequest.h:176
Aws::IoT::Model::UpdateJobRequest::GetNamespaceId
const Aws::String & GetNamespaceId() const
Definition: UpdateJobRequest.h:284
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::UpdateJobRequest::SetNamespaceId
void SetNamespaceId(Aws::String &&value)
Definition: UpdateJobRequest.h:317
PresignedUrlConfig.h
Aws::IoT::Model::UpdateJobRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateJobRequest.h:89
Aws::IoT::Model::UpdateJobRequest::WithDescription
UpdateJobRequest & WithDescription(const Aws::String &value)
Definition: UpdateJobRequest.h:114
TimeoutConfig.h
Aws::IoT::Model::UpdateJobRequest::UpdateJobRequest
UpdateJobRequest()
Aws::IoT::Model::UpdateJobRequest::WithAbortConfig
UpdateJobRequest & WithAbortConfig(AbortConfig &&value)
Definition: UpdateJobRequest.h:217
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::UpdateJobRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateJobRequest.h:99
Aws::IoT::Model::UpdateJobRequest::NamespaceIdHasBeenSet
bool NamespaceIdHasBeenSet() const
Definition: UpdateJobRequest.h:295
Aws::IoT::Model::UpdateJobRequest::WithJobExecutionsRolloutConfig
UpdateJobRequest & WithJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig &value)
Definition: UpdateJobRequest.h:181
Aws::IoT::Model::UpdateJobRequest::WithJobId
UpdateJobRequest & WithJobId(Aws::String &&value)
Definition: UpdateJobRequest.h:78
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::UpdateJobRequest::GetJobExecutionsRolloutConfig
const JobExecutionsRolloutConfig & GetJobExecutionsRolloutConfig() const
Definition: UpdateJobRequest.h:161
Aws::IoT::Model::UpdateJobRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: UpdateJobRequest.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::UpdateJobRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: UpdateJobRequest.h:53
AbortConfig.h
Aws::IoT::Model::UpdateJobRequest::SetJobId
void SetJobId(const char *value)
Definition: UpdateJobRequest.h:68
Aws::IoT::Model::UpdateJobRequest::WithAbortConfig
UpdateJobRequest & WithAbortConfig(const AbortConfig &value)
Definition: UpdateJobRequest.h:212
Aws::IoT::Model::UpdateJobRequest::AbortConfigHasBeenSet
bool AbortConfigHasBeenSet() const
Definition: UpdateJobRequest.h:197
IoTRequest.h
Aws::IoT::Model::UpdateJobRequest::WithNamespaceId
UpdateJobRequest & WithNamespaceId(const Aws::String &value)
Definition: UpdateJobRequest.h:339
Aws::IoT::Model::UpdateJobRequest::WithJobId
UpdateJobRequest & WithJobId(const Aws::String &value)
Definition: UpdateJobRequest.h:73
Aws::IoT::Model::UpdateJobRequest
Definition: UpdateJobRequest.h:30
Aws::IoT::Model::UpdateJobRequest::SetAbortConfig
void SetAbortConfig(const AbortConfig &value)
Definition: UpdateJobRequest.h:202
IoT_EXPORTS.h
Aws::IoT::Model::UpdateJobRequest::WithNamespaceId
UpdateJobRequest & WithNamespaceId(Aws::String &&value)
Definition: UpdateJobRequest.h:350
Aws::IoT::Model::JobExecutionsRolloutConfig
Definition: JobExecutionsRolloutConfig.h:32