7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/states/SFNRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetTaskToken(
const char* value) { m_taskTokenHasBeenSet =
true; m_taskToken.assign(value); }
63 inline void SetError(
const char* value) { m_errorHasBeenSet =
true; m_error.assign(value); }
77 inline void SetCause(
const char* value) { m_causeHasBeenSet =
true; m_cause.assign(value); }
85 bool m_taskTokenHasBeenSet =
false;
88 bool m_errorHasBeenSet =
false;
91 bool m_causeHasBeenSet =
false;
AWS_SFN_API SendTaskFailureRequest()
SendTaskFailureRequest & WithTaskToken(const char *value)
const Aws::String & GetError() const
bool CauseHasBeenSet() const
bool ErrorHasBeenSet() const
SendTaskFailureRequest & WithCause(Aws::String &&value)
void SetCause(const char *value)
AWS_SFN_API Aws::String SerializePayload() const override
void SetTaskToken(const Aws::String &value)
void SetError(const char *value)
const Aws::String & GetCause() const
void SetTaskToken(Aws::String &&value)
void SetError(const Aws::String &value)
SendTaskFailureRequest & WithError(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
SendTaskFailureRequest & WithTaskToken(const Aws::String &value)
bool TaskTokenHasBeenSet() const
void SetCause(const Aws::String &value)
SendTaskFailureRequest & WithError(const char *value)
SendTaskFailureRequest & WithCause(const Aws::String &value)
SendTaskFailureRequest & WithCause(const char *value)
const Aws::String & GetTaskToken() const
SendTaskFailureRequest & WithTaskToken(Aws::String &&value)
AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetError(Aws::String &&value)
SendTaskFailureRequest & WithError(const Aws::String &value)
void SetCause(Aws::String &&value)
void SetTaskToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String