7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoTRequest.h>
10#include <aws/iot/IoT_EXPORTS.h>
43 template <
typename JobIdT = Aws::String>
45 m_jobIdHasBeenSet =
true;
46 m_jobId = std::forward<JobIdT>(value);
48 template <
typename JobIdT = Aws::String>
50 SetJobId(std::forward<JobIdT>(value));
61 template <
typename ThingNameT = Aws::String>
63 m_thingNameHasBeenSet =
true;
64 m_thingName = std::forward<ThingNameT>(value);
66 template <
typename ThingNameT = Aws::String>
84 inline bool GetForce()
const {
return m_force; }
87 m_forceHasBeenSet =
true;
109 m_expectedVersionHasBeenSet =
true;
110 m_expectedVersion = value;
126 template <
typename StatusDetailsT = Aws::Map<Aws::String, Aws::String>>
128 m_statusDetailsHasBeenSet =
true;
129 m_statusDetails = std::forward<StatusDetailsT>(value);
131 template <
typename StatusDetailsT = Aws::Map<Aws::String, Aws::String>>
136 template <
typename StatusDetailsKeyT = Aws::String,
typename StatusDetailsValueT = Aws::String>
138 m_statusDetailsHasBeenSet =
true;
139 m_statusDetails.emplace(std::forward<StatusDetailsKeyT>(key), std::forward<StatusDetailsValueT>(value));
145 bool m_jobIdHasBeenSet =
false;
148 bool m_thingNameHasBeenSet =
false;
151 bool m_forceHasBeenSet =
false;
153 long long m_expectedVersion{0};
154 bool m_expectedVersionHasBeenSet =
false;
157 bool m_statusDetailsHasBeenSet =
false;
CancelJobExecutionRequest & WithExpectedVersion(long long value)
CancelJobExecutionRequest & WithStatusDetails(StatusDetailsT &&value)
bool ExpectedVersionHasBeenSet() const
CancelJobExecutionRequest & AddStatusDetails(StatusDetailsKeyT &&key, StatusDetailsValueT &&value)
void SetJobId(JobIdT &&value)
const Aws::String & GetJobId() const
void SetThingName(ThingNameT &&value)
long long GetExpectedVersion() const
bool JobIdHasBeenSet() const
CancelJobExecutionRequest & WithJobId(JobIdT &&value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetStatusDetails(StatusDetailsT &&value)
const Aws::String & GetThingName() const
bool ThingNameHasBeenSet() const
AWS_IOT_API CancelJobExecutionRequest()=default
void SetForce(bool value)
bool ForceHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CancelJobExecutionRequest & WithThingName(ThingNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetStatusDetails() const
AWS_IOT_API Aws::String SerializePayload() const override
bool StatusDetailsHasBeenSet() const
void SetExpectedVersion(long long value)
CancelJobExecutionRequest & WithForce(bool 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