AWS SDK for C++  1.9.132
AWS SDK for C++
DeleteJobExecutionRequest.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>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace IoT
19 {
20 namespace Model
21 {
22 
26  {
27  public:
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 "DeleteJobExecution"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetJobId() const{ return m_jobId; }
45 
49  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
50 
54  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
55 
59  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
60 
64  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
65 
69  inline DeleteJobExecutionRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
70 
74  inline DeleteJobExecutionRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
75 
79  inline DeleteJobExecutionRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
80 
81 
85  inline const Aws::String& GetThingName() const{ return m_thingName; }
86 
90  inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
91 
95  inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
96 
100  inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
101 
105  inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
106 
110  inline DeleteJobExecutionRequest& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
111 
115  inline DeleteJobExecutionRequest& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
116 
120  inline DeleteJobExecutionRequest& WithThingName(const char* value) { SetThingName(value); return *this;}
121 
122 
129  inline long long GetExecutionNumber() const{ return m_executionNumber; }
130 
137  inline bool ExecutionNumberHasBeenSet() const { return m_executionNumberHasBeenSet; }
138 
145  inline void SetExecutionNumber(long long value) { m_executionNumberHasBeenSet = true; m_executionNumber = value; }
146 
153  inline DeleteJobExecutionRequest& WithExecutionNumber(long long value) { SetExecutionNumber(value); return *this;}
154 
155 
165  inline bool GetForce() const{ return m_force; }
166 
176  inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
177 
187  inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
188 
198  inline DeleteJobExecutionRequest& WithForce(bool value) { SetForce(value); return *this;}
199 
200 
210  inline const Aws::String& GetNamespaceId() const{ return m_namespaceId; }
211 
221  inline bool NamespaceIdHasBeenSet() const { return m_namespaceIdHasBeenSet; }
222 
232  inline void SetNamespaceId(const Aws::String& value) { m_namespaceIdHasBeenSet = true; m_namespaceId = value; }
233 
243  inline void SetNamespaceId(Aws::String&& value) { m_namespaceIdHasBeenSet = true; m_namespaceId = std::move(value); }
244 
254  inline void SetNamespaceId(const char* value) { m_namespaceIdHasBeenSet = true; m_namespaceId.assign(value); }
255 
265  inline DeleteJobExecutionRequest& WithNamespaceId(const Aws::String& value) { SetNamespaceId(value); return *this;}
266 
276  inline DeleteJobExecutionRequest& WithNamespaceId(Aws::String&& value) { SetNamespaceId(std::move(value)); return *this;}
277 
287  inline DeleteJobExecutionRequest& WithNamespaceId(const char* value) { SetNamespaceId(value); return *this;}
288 
289  private:
290 
291  Aws::String m_jobId;
292  bool m_jobIdHasBeenSet;
293 
294  Aws::String m_thingName;
295  bool m_thingNameHasBeenSet;
296 
297  long long m_executionNumber;
298  bool m_executionNumberHasBeenSet;
299 
300  bool m_force;
301  bool m_forceHasBeenSet;
302 
303  Aws::String m_namespaceId;
304  bool m_namespaceIdHasBeenSet;
305  };
306 
307 } // namespace Model
308 } // namespace IoT
309 } // namespace Aws
Aws::IoT::Model::DeleteJobExecutionRequest::SetJobId
void SetJobId(const char *value)
Definition: DeleteJobExecutionRequest.h:64
Aws::IoT::Model::DeleteJobExecutionRequest::SetThingName
void SetThingName(const Aws::String &value)
Definition: DeleteJobExecutionRequest.h:95
Aws::IoT::Model::DeleteJobExecutionRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: DeleteJobExecutionRequest.h:59
Aws::IoT::Model::DeleteJobExecutionRequest::WithJobId
DeleteJobExecutionRequest & WithJobId(Aws::String &&value)
Definition: DeleteJobExecutionRequest.h:74
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::DeleteJobExecutionRequest::SetNamespaceId
void SetNamespaceId(Aws::String &&value)
Definition: DeleteJobExecutionRequest.h:243
Aws::IoT::Model::DeleteJobExecutionRequest::SetThingName
void SetThingName(const char *value)
Definition: DeleteJobExecutionRequest.h:105
Aws::IoT::Model::DeleteJobExecutionRequest::ThingNameHasBeenSet
bool ThingNameHasBeenSet() const
Definition: DeleteJobExecutionRequest.h:90
Aws::IoT::Model::DeleteJobExecutionRequest::SetThingName
void SetThingName(Aws::String &&value)
Definition: DeleteJobExecutionRequest.h:100
Aws::IoT::Model::DeleteJobExecutionRequest::WithThingName
DeleteJobExecutionRequest & WithThingName(const char *value)
Definition: DeleteJobExecutionRequest.h:120
Aws::IoT::Model::DeleteJobExecutionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::DeleteJobExecutionRequest::WithThingName
DeleteJobExecutionRequest & WithThingName(Aws::String &&value)
Definition: DeleteJobExecutionRequest.h:115
Aws::IoT::Model::DeleteJobExecutionRequest::WithJobId
DeleteJobExecutionRequest & WithJobId(const char *value)
Definition: DeleteJobExecutionRequest.h:79
Aws::IoT::Model::DeleteJobExecutionRequest::GetExecutionNumber
long long GetExecutionNumber() const
Definition: DeleteJobExecutionRequest.h:129
Aws::IoT::Model::DeleteJobExecutionRequest::ExecutionNumberHasBeenSet
bool ExecutionNumberHasBeenSet() const
Definition: DeleteJobExecutionRequest.h:137
Aws::IoT::Model::DeleteJobExecutionRequest::SetNamespaceId
void SetNamespaceId(const Aws::String &value)
Definition: DeleteJobExecutionRequest.h:232
Aws::IoT::Model::DeleteJobExecutionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteJobExecutionRequest.h:34
Aws::IoT::Model::DeleteJobExecutionRequest::SetExecutionNumber
void SetExecutionNumber(long long value)
Definition: DeleteJobExecutionRequest.h:145
Aws::IoT::Model::DeleteJobExecutionRequest::WithNamespaceId
DeleteJobExecutionRequest & WithNamespaceId(const Aws::String &value)
Definition: DeleteJobExecutionRequest.h:265
Aws::IoT::Model::DeleteJobExecutionRequest::WithJobId
DeleteJobExecutionRequest & WithJobId(const Aws::String &value)
Definition: DeleteJobExecutionRequest.h:69
Aws::IoT::Model::DeleteJobExecutionRequest::DeleteJobExecutionRequest
DeleteJobExecutionRequest()
Aws::IoT::Model::DeleteJobExecutionRequest::WithNamespaceId
DeleteJobExecutionRequest & WithNamespaceId(Aws::String &&value)
Definition: DeleteJobExecutionRequest.h:276
Aws::IoT::Model::DeleteJobExecutionRequest::WithThingName
DeleteJobExecutionRequest & WithThingName(const Aws::String &value)
Definition: DeleteJobExecutionRequest.h:110
Aws::IoT::Model::DeleteJobExecutionRequest::NamespaceIdHasBeenSet
bool NamespaceIdHasBeenSet() const
Definition: DeleteJobExecutionRequest.h:221
Aws::IoT::Model::DeleteJobExecutionRequest
Definition: DeleteJobExecutionRequest.h:26
Aws::IoT::Model::DeleteJobExecutionRequest::WithNamespaceId
DeleteJobExecutionRequest & WithNamespaceId(const char *value)
Definition: DeleteJobExecutionRequest.h:287
Aws::IoT::Model::DeleteJobExecutionRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: DeleteJobExecutionRequest.h:49
Aws::IoT::Model::DeleteJobExecutionRequest::ForceHasBeenSet
bool ForceHasBeenSet() const
Definition: DeleteJobExecutionRequest.h:176
Aws::IoT::Model::DeleteJobExecutionRequest::SetForce
void SetForce(bool value)
Definition: DeleteJobExecutionRequest.h:187
Aws::IoT::Model::DeleteJobExecutionRequest::WithForce
DeleteJobExecutionRequest & WithForce(bool value)
Definition: DeleteJobExecutionRequest.h:198
Aws::IoT::Model::DeleteJobExecutionRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::DeleteJobExecutionRequest::GetThingName
const Aws::String & GetThingName() const
Definition: DeleteJobExecutionRequest.h:85
Aws::IoT::Model::DeleteJobExecutionRequest::GetNamespaceId
const Aws::String & GetNamespaceId() const
Definition: DeleteJobExecutionRequest.h:210
Aws::IoT::Model::DeleteJobExecutionRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: DeleteJobExecutionRequest.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DeleteJobExecutionRequest::SetNamespaceId
void SetNamespaceId(const char *value)
Definition: DeleteJobExecutionRequest.h:254
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::DeleteJobExecutionRequest::GetForce
bool GetForce() const
Definition: DeleteJobExecutionRequest.h:165
Aws::IoT::Model::DeleteJobExecutionRequest::GetJobId
const Aws::String & GetJobId() const
Definition: DeleteJobExecutionRequest.h:44
IoTRequest.h
IoT_EXPORTS.h
Aws::IoT::Model::DeleteJobExecutionRequest::WithExecutionNumber
DeleteJobExecutionRequest & WithExecutionNumber(long long value)
Definition: DeleteJobExecutionRequest.h:153