AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SendPipelineExecutionStepSuccessRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/OutputParameter.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API SendPipelineExecutionStepSuccessRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "SendPipelineExecutionStepSuccess"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetCallbackToken() const { return m_callbackToken; }
45 inline bool CallbackTokenHasBeenSet() const { return m_callbackTokenHasBeenSet; }
46 template<typename CallbackTokenT = Aws::String>
47 void SetCallbackToken(CallbackTokenT&& value) { m_callbackTokenHasBeenSet = true; m_callbackToken = std::forward<CallbackTokenT>(value); }
48 template<typename CallbackTokenT = Aws::String>
49 SendPipelineExecutionStepSuccessRequest& WithCallbackToken(CallbackTokenT&& value) { SetCallbackToken(std::forward<CallbackTokenT>(value)); return *this;}
51
53
56 inline const Aws::Vector<OutputParameter>& GetOutputParameters() const { return m_outputParameters; }
57 inline bool OutputParametersHasBeenSet() const { return m_outputParametersHasBeenSet; }
58 template<typename OutputParametersT = Aws::Vector<OutputParameter>>
59 void SetOutputParameters(OutputParametersT&& value) { m_outputParametersHasBeenSet = true; m_outputParameters = std::forward<OutputParametersT>(value); }
60 template<typename OutputParametersT = Aws::Vector<OutputParameter>>
61 SendPipelineExecutionStepSuccessRequest& WithOutputParameters(OutputParametersT&& value) { SetOutputParameters(std::forward<OutputParametersT>(value)); return *this;}
62 template<typename OutputParametersT = OutputParameter>
63 SendPipelineExecutionStepSuccessRequest& AddOutputParameters(OutputParametersT&& value) { m_outputParametersHasBeenSet = true; m_outputParameters.emplace_back(std::forward<OutputParametersT>(value)); return *this; }
65
67
72 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
73 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
74 template<typename ClientRequestTokenT = Aws::String>
75 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
76 template<typename ClientRequestTokenT = Aws::String>
77 SendPipelineExecutionStepSuccessRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
79 private:
80
81 Aws::String m_callbackToken;
82 bool m_callbackTokenHasBeenSet = false;
83
84 Aws::Vector<OutputParameter> m_outputParameters;
85 bool m_outputParametersHasBeenSet = false;
86
87 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
88 bool m_clientRequestTokenHasBeenSet = true;
89 };
90
91} // namespace Model
92} // namespace SageMaker
93} // namespace Aws
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
SendPipelineExecutionStepSuccessRequest & WithOutputParameters(OutputParametersT &&value)
SendPipelineExecutionStepSuccessRequest & AddOutputParameters(OutputParametersT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SendPipelineExecutionStepSuccessRequest & WithCallbackToken(CallbackTokenT &&value)
SendPipelineExecutionStepSuccessRequest & WithClientRequestToken(ClientRequestTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector