7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename JobIdT = Aws::String>
48 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
49 template<
typename JobIdT = Aws::String>
59 template<
typename ReasonCodeT = Aws::String>
60 void SetReasonCode(ReasonCodeT&& value) { m_reasonCodeHasBeenSet =
true; m_reasonCode = std::forward<ReasonCodeT>(value); }
61 template<
typename ReasonCodeT = Aws::String>
71 template<
typename CommentT = Aws::String>
72 void SetComment(CommentT&& value) { m_commentHasBeenSet =
true; m_comment = std::forward<CommentT>(value); }
73 template<
typename CommentT = Aws::String>
86 inline bool GetForce()
const {
return m_force; }
88 inline void SetForce(
bool value) { m_forceHasBeenSet =
true; m_force = value; }
94 bool m_jobIdHasBeenSet =
false;
97 bool m_reasonCodeHasBeenSet =
false;
100 bool m_commentHasBeenSet =
false;
103 bool m_forceHasBeenSet =
false;
CancelJobRequest & WithForce(bool value)
CancelJobRequest & WithReasonCode(ReasonCodeT &&value)
bool CommentHasBeenSet() const
void SetComment(CommentT &&value)
bool ForceHasBeenSet() const
CancelJobRequest & WithJobId(JobIdT &&value)
bool ReasonCodeHasBeenSet() const
AWS_IOT_API Aws::String SerializePayload() const override
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetComment() const
AWS_IOT_API CancelJobRequest()=default
bool JobIdHasBeenSet() const
void SetReasonCode(ReasonCodeT &&value)
void SetJobId(JobIdT &&value)
CancelJobRequest & WithComment(CommentT &&value)
void SetForce(bool value)
const Aws::String & GetJobId() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetReasonCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String