7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetJobId(
const char* value) { m_jobIdHasBeenSet =
true; m_jobId.assign(value); }
63 inline void SetReasonCode(
const char* value) { m_reasonCodeHasBeenSet =
true; m_reasonCode.assign(value); }
77 inline void SetComment(
const char* value) { m_commentHasBeenSet =
true; m_comment.assign(value); }
92 inline bool GetForce()
const{
return m_force; }
94 inline void SetForce(
bool value) { m_forceHasBeenSet =
true; m_force = value; }
100 bool m_jobIdHasBeenSet =
false;
103 bool m_reasonCodeHasBeenSet =
false;
106 bool m_commentHasBeenSet =
false;
109 bool m_forceHasBeenSet =
false;
CancelJobRequest & WithForce(bool value)
CancelJobRequest & WithJobId(const Aws::String &value)
void SetReasonCode(const Aws::String &value)
void SetReasonCode(Aws::String &&value)
CancelJobRequest & WithJobId(Aws::String &&value)
void SetJobId(const Aws::String &value)
CancelJobRequest & WithComment(const Aws::String &value)
bool CommentHasBeenSet() const
bool ForceHasBeenSet() const
CancelJobRequest & WithJobId(const char *value)
void SetJobId(Aws::String &&value)
bool ReasonCodeHasBeenSet() const
AWS_IOT_API Aws::String SerializePayload() const override
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CancelJobRequest & WithReasonCode(const Aws::String &value)
AWS_IOT_API CancelJobRequest()
CancelJobRequest & WithReasonCode(const char *value)
const Aws::String & GetComment() const
void SetComment(const char *value)
void SetJobId(const char *value)
bool JobIdHasBeenSet() const
CancelJobRequest & WithReasonCode(Aws::String &&value)
void SetForce(bool value)
const Aws::String & GetJobId() const
void SetComment(Aws::String &&value)
void SetReasonCode(const char *value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetReasonCode() const
void SetComment(const Aws::String &value)
CancelJobRequest & WithComment(Aws::String &&value)
CancelJobRequest & WithComment(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String