AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeletePipelineRequest.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:
25 AWS_SAGEMAKER_API DeletePipelineRequest() = default;
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 "DeletePipeline"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetPipelineName() const { return m_pipelineName; }
43 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
44 template<typename PipelineNameT = Aws::String>
45 void SetPipelineName(PipelineNameT&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::forward<PipelineNameT>(value); }
46 template<typename PipelineNameT = Aws::String>
47 DeletePipelineRequest& WithPipelineName(PipelineNameT&& value) { SetPipelineName(std::forward<PipelineNameT>(value)); return *this;}
49
51
56 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
57 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
58 template<typename ClientRequestTokenT = Aws::String>
59 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
60 template<typename ClientRequestTokenT = Aws::String>
61 DeletePipelineRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
63 private:
64
65 Aws::String m_pipelineName;
66 bool m_pipelineNameHasBeenSet = false;
67
68 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
69 bool m_clientRequestTokenHasBeenSet = true;
70 };
71
72} // namespace Model
73} // namespace SageMaker
74} // 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