AWS SDK for C++  1.9.154
AWS SDK for C++
SendPipelineExecutionStepFailureRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 #include <aws/core/utils/UUID.h>
12 
13 namespace Aws
14 {
15 namespace SageMaker
16 {
17 namespace 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::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetCallbackToken() const{ return m_callbackToken; }
42 
46  inline bool CallbackTokenHasBeenSet() const { return m_callbackTokenHasBeenSet; }
47 
51  inline void SetCallbackToken(const Aws::String& value) { m_callbackTokenHasBeenSet = true; m_callbackToken = value; }
52 
56  inline void SetCallbackToken(Aws::String&& value) { m_callbackTokenHasBeenSet = true; m_callbackToken = std::move(value); }
57 
61  inline void SetCallbackToken(const char* value) { m_callbackTokenHasBeenSet = true; m_callbackToken.assign(value); }
62 
66  inline SendPipelineExecutionStepFailureRequest& WithCallbackToken(const Aws::String& value) { SetCallbackToken(value); return *this;}
67 
71  inline SendPipelineExecutionStepFailureRequest& WithCallbackToken(Aws::String&& value) { SetCallbackToken(std::move(value)); return *this;}
72 
76  inline SendPipelineExecutionStepFailureRequest& WithCallbackToken(const char* value) { SetCallbackToken(value); return *this;}
77 
78 
82  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
83 
87  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
88 
92  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
93 
97  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
98 
102  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
103 
107  inline SendPipelineExecutionStepFailureRequest& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
108 
112  inline SendPipelineExecutionStepFailureRequest& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
113 
117  inline SendPipelineExecutionStepFailureRequest& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
118 
119 
125  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
126 
132  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
133 
139  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
140 
146  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
147 
153  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
154 
160  inline SendPipelineExecutionStepFailureRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
161 
167  inline SendPipelineExecutionStepFailureRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
168 
174  inline SendPipelineExecutionStepFailureRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
175 
176  private:
177 
178  Aws::String m_callbackToken;
179  bool m_callbackTokenHasBeenSet;
180 
181  Aws::String m_failureReason;
182  bool m_failureReasonHasBeenSet;
183 
184  Aws::String m_clientRequestToken;
185  bool m_clientRequestTokenHasBeenSet;
186  };
187 
188 } // namespace Model
189 } // namespace SageMaker
190 } // namespace Aws
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: SendPipelineExecutionStepFailureRequest.h:82
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: SendPipelineExecutionStepFailureRequest.h:87
SageMaker_EXPORTS.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: SendPipelineExecutionStepFailureRequest.h:97
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: SendPipelineExecutionStepFailureRequest.h:146
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::WithFailureReason
SendPipelineExecutionStepFailureRequest & WithFailureReason(const Aws::String &value)
Definition: SendPipelineExecutionStepFailureRequest.h:107
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::SetCallbackToken
void SetCallbackToken(const char *value)
Definition: SendPipelineExecutionStepFailureRequest.h:61
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::SetFailureReason
void SetFailureReason(const char *value)
Definition: SendPipelineExecutionStepFailureRequest.h:102
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: SendPipelineExecutionStepFailureRequest.h:125
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: SendPipelineExecutionStepFailureRequest.h:153
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::SetCallbackToken
void SetCallbackToken(Aws::String &&value)
Definition: SendPipelineExecutionStepFailureRequest.h:56
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::WithCallbackToken
SendPipelineExecutionStepFailureRequest & WithCallbackToken(Aws::String &&value)
Definition: SendPipelineExecutionStepFailureRequest.h:71
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::WithClientRequestToken
SendPipelineExecutionStepFailureRequest & WithClientRequestToken(Aws::String &&value)
Definition: SendPipelineExecutionStepFailureRequest.h:167
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SendPipelineExecutionStepFailureRequest.h:31
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::WithClientRequestToken
SendPipelineExecutionStepFailureRequest & WithClientRequestToken(const Aws::String &value)
Definition: SendPipelineExecutionStepFailureRequest.h:160
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest
Definition: SendPipelineExecutionStepFailureRequest.h:23
AWSString.h
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::WithFailureReason
SendPipelineExecutionStepFailureRequest & WithFailureReason(const char *value)
Definition: SendPipelineExecutionStepFailureRequest.h:117
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::GetCallbackToken
const Aws::String & GetCallbackToken() const
Definition: SendPipelineExecutionStepFailureRequest.h:41
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: SendPipelineExecutionStepFailureRequest.h:139
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::SetCallbackToken
void SetCallbackToken(const Aws::String &value)
Definition: SendPipelineExecutionStepFailureRequest.h:51
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::WithClientRequestToken
SendPipelineExecutionStepFailureRequest & WithClientRequestToken(const char *value)
Definition: SendPipelineExecutionStepFailureRequest.h:174
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::CallbackTokenHasBeenSet
bool CallbackTokenHasBeenSet() const
Definition: SendPipelineExecutionStepFailureRequest.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: SendPipelineExecutionStepFailureRequest.h:132
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::WithFailureReason
SendPipelineExecutionStepFailureRequest & WithFailureReason(Aws::String &&value)
Definition: SendPipelineExecutionStepFailureRequest.h:112
UUID.h
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::SendPipelineExecutionStepFailureRequest
SendPipelineExecutionStepFailureRequest()
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: SendPipelineExecutionStepFailureRequest.h:92
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::WithCallbackToken
SendPipelineExecutionStepFailureRequest & WithCallbackToken(const Aws::String &value)
Definition: SendPipelineExecutionStepFailureRequest.h:66
Aws::SageMaker::Model::SendPipelineExecutionStepFailureRequest::WithCallbackToken
SendPipelineExecutionStepFailureRequest & WithCallbackToken(const char *value)
Definition: SendPipelineExecutionStepFailureRequest.h:76