AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendPipelineExecutionStepFailureRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "SendPipelineExecutionStepFailure"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetCallbackToken() const{ return m_callbackToken; }
43 inline bool CallbackTokenHasBeenSet() const { return m_callbackTokenHasBeenSet; }
44 inline void SetCallbackToken(const Aws::String& value) { m_callbackTokenHasBeenSet = true; m_callbackToken = value; }
45 inline void SetCallbackToken(Aws::String&& value) { m_callbackTokenHasBeenSet = true; m_callbackToken = std::move(value); }
46 inline void SetCallbackToken(const char* value) { m_callbackTokenHasBeenSet = true; m_callbackToken.assign(value); }
49 inline SendPipelineExecutionStepFailureRequest& WithCallbackToken(const char* value) { SetCallbackToken(value); return *this;}
51
53
56 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
57 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
58 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
59 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
60 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
63 inline SendPipelineExecutionStepFailureRequest& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
65
67
72 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
73 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
74 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
75 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
76 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
81 private:
82
83 Aws::String m_callbackToken;
84 bool m_callbackTokenHasBeenSet = false;
85
86 Aws::String m_failureReason;
87 bool m_failureReasonHasBeenSet = false;
88
89 Aws::String m_clientRequestToken;
90 bool m_clientRequestTokenHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SageMaker
95} // namespace Aws
SendPipelineExecutionStepFailureRequest & WithFailureReason(Aws::String &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
SendPipelineExecutionStepFailureRequest & WithClientRequestToken(const Aws::String &value)
SendPipelineExecutionStepFailureRequest & WithFailureReason(const Aws::String &value)
SendPipelineExecutionStepFailureRequest & WithClientRequestToken(Aws::String &&value)
SendPipelineExecutionStepFailureRequest & WithFailureReason(const char *value)
SendPipelineExecutionStepFailureRequest & WithCallbackToken(const char *value)
SendPipelineExecutionStepFailureRequest & WithCallbackToken(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SendPipelineExecutionStepFailureRequest & WithClientRequestToken(const char *value)
SendPipelineExecutionStepFailureRequest & WithCallbackToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String