AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DeletePipelineRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SageMaker {
16namespace Model {
17
21 public:
22 AWS_SAGEMAKER_API DeletePipelineRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DeletePipeline"; }
29
30 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetPipelineName() const { return m_pipelineName; }
39 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
40 template <typename PipelineNameT = Aws::String>
41 void SetPipelineName(PipelineNameT&& value) {
42 m_pipelineNameHasBeenSet = true;
43 m_pipelineName = std::forward<PipelineNameT>(value);
44 }
45 template <typename PipelineNameT = Aws::String>
46 DeletePipelineRequest& WithPipelineName(PipelineNameT&& value) {
47 SetPipelineName(std::forward<PipelineNameT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
59 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
60 template <typename ClientRequestTokenT = Aws::String>
61 void SetClientRequestToken(ClientRequestTokenT&& value) {
62 m_clientRequestTokenHasBeenSet = true;
63 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
64 }
65 template <typename ClientRequestTokenT = Aws::String>
66 DeletePipelineRequest& WithClientRequestToken(ClientRequestTokenT&& value) {
67 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_pipelineName;
73
74 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
75 bool m_pipelineNameHasBeenSet = false;
76 bool m_clientRequestTokenHasBeenSet = true;
77};
78
79} // namespace Model
80} // namespace SageMaker
81} // namespace Aws
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
DeletePipelineRequest & WithClientRequestToken(ClientRequestTokenT &&value)
DeletePipelineRequest & WithPipelineName(PipelineNameT &&value)
AWS_SAGEMAKER_API DeletePipelineRequest()=default
void SetClientRequestToken(ClientRequestTokenT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String