7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/UUID.h>
31 inline virtual const char*
GetServiceRequestName()
const override {
return "SendPipelineExecutionStepFailure"; }
44 template<
typename CallbackTokenT = Aws::String>
45 void SetCallbackToken(CallbackTokenT&& value) { m_callbackTokenHasBeenSet =
true; m_callbackToken = std::forward<CallbackTokenT>(value); }
46 template<
typename CallbackTokenT = Aws::String>
56 template<
typename FailureReasonT = Aws::String>
57 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
58 template<
typename FailureReasonT = Aws::String>
70 template<
typename ClientRequestTokenT = Aws::String>
71 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
72 template<
typename ClientRequestTokenT = Aws::String>
78 bool m_callbackTokenHasBeenSet =
false;
81 bool m_failureReasonHasBeenSet =
false;
84 bool m_clientRequestTokenHasBeenSet =
true;
bool CallbackTokenHasBeenSet() const
void SetFailureReason(FailureReasonT &&value)
const Aws::String & GetFailureReason() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetClientRequestToken(ClientRequestTokenT &&value)
bool ClientRequestTokenHasBeenSet() const
const Aws::String & GetClientRequestToken() const
SendPipelineExecutionStepFailureRequest & WithCallbackToken(CallbackTokenT &&value)
SendPipelineExecutionStepFailureRequest & WithClientRequestToken(ClientRequestTokenT &&value)
void SetCallbackToken(CallbackTokenT &&value)
SendPipelineExecutionStepFailureRequest & WithFailureReason(FailureReasonT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetCallbackToken() const
virtual const char * GetServiceRequestName() const override
bool FailureReasonHasBeenSet() const
AWS_SAGEMAKER_API SendPipelineExecutionStepFailureRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String