AWS SDK for C++

AWS SDK for C++ Version 1.11.688

Loading...
Searching...
No Matches
DeleteJobExecutionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/iot/IoT_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace IoT {
18namespace Model {
19
23 public:
24 AWS_IOT_API DeleteJobExecutionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteJobExecution"; }
31
32 AWS_IOT_API Aws::String SerializePayload() const override;
33
34 AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetJobId() const { return m_jobId; }
41 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
42 template <typename JobIdT = Aws::String>
43 void SetJobId(JobIdT&& value) {
44 m_jobIdHasBeenSet = true;
45 m_jobId = std::forward<JobIdT>(value);
46 }
47 template <typename JobIdT = Aws::String>
49 SetJobId(std::forward<JobIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetThingName() const { return m_thingName; }
59 inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
60 template <typename ThingNameT = Aws::String>
61 void SetThingName(ThingNameT&& value) {
62 m_thingNameHasBeenSet = true;
63 m_thingName = std::forward<ThingNameT>(value);
64 }
65 template <typename ThingNameT = Aws::String>
67 SetThingName(std::forward<ThingNameT>(value));
68 return *this;
69 }
71
73
79 inline long long GetExecutionNumber() const { return m_executionNumber; }
80 inline bool ExecutionNumberHasBeenSet() const { return m_executionNumberHasBeenSet; }
81 inline void SetExecutionNumber(long long value) {
82 m_executionNumberHasBeenSet = true;
83 m_executionNumber = value;
84 }
86 SetExecutionNumber(value);
87 return *this;
88 }
90
92
101 inline bool GetForce() const { return m_force; }
102 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
103 inline void SetForce(bool value) {
104 m_forceHasBeenSet = true;
105 m_force = value;
106 }
108 SetForce(value);
109 return *this;
110 }
112
114
125 inline const Aws::String& GetNamespaceId() const { return m_namespaceId; }
126 inline bool NamespaceIdHasBeenSet() const { return m_namespaceIdHasBeenSet; }
127 template <typename NamespaceIdT = Aws::String>
128 void SetNamespaceId(NamespaceIdT&& value) {
129 m_namespaceIdHasBeenSet = true;
130 m_namespaceId = std::forward<NamespaceIdT>(value);
131 }
132 template <typename NamespaceIdT = Aws::String>
134 SetNamespaceId(std::forward<NamespaceIdT>(value));
135 return *this;
136 }
138 private:
139 Aws::String m_jobId;
140 bool m_jobIdHasBeenSet = false;
141
142 Aws::String m_thingName;
143 bool m_thingNameHasBeenSet = false;
144
145 long long m_executionNumber{0};
146 bool m_executionNumberHasBeenSet = false;
147
148 bool m_force{false};
149 bool m_forceHasBeenSet = false;
150
151 Aws::String m_namespaceId;
152 bool m_namespaceIdHasBeenSet = false;
153};
154
155} // namespace Model
156} // namespace IoT
157} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteJobExecutionRequest & WithJobId(JobIdT &&value)
DeleteJobExecutionRequest & WithForce(bool value)
DeleteJobExecutionRequest & WithExecutionNumber(long long value)
DeleteJobExecutionRequest & WithThingName(ThingNameT &&value)
AWS_IOT_API Aws::String SerializePayload() const override
AWS_IOT_API DeleteJobExecutionRequest()=default
DeleteJobExecutionRequest & WithNamespaceId(NamespaceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String