AWS SDK for C++  1.9.154
AWS SDK for C++
DeletePipelineRequest.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 "DeletePipeline"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetPipelineName() const{ return m_pipelineName; }
42 
46  inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
47 
51  inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
52 
56  inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
57 
61  inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
62 
66  inline DeletePipelineRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
67 
71  inline DeletePipelineRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
72 
76  inline DeletePipelineRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
77 
78 
84  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
85 
91  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
92 
98  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
99 
105  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
106 
112  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
113 
119  inline DeletePipelineRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
120 
126  inline DeletePipelineRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
127 
133  inline DeletePipelineRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
134 
135  private:
136 
137  Aws::String m_pipelineName;
138  bool m_pipelineNameHasBeenSet;
139 
140  Aws::String m_clientRequestToken;
141  bool m_clientRequestTokenHasBeenSet;
142  };
143 
144 } // namespace Model
145 } // namespace SageMaker
146 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DeletePipelineRequest
Definition: DeletePipelineRequest.h:23
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::DeletePipelineRequest::WithClientRequestToken
DeletePipelineRequest & WithClientRequestToken(const char *value)
Definition: DeletePipelineRequest.h:133
Aws::SageMaker::Model::DeletePipelineRequest::SetPipelineName
void SetPipelineName(const char *value)
Definition: DeletePipelineRequest.h:61
Aws::SageMaker::Model::DeletePipelineRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: DeletePipelineRequest.h:98
Aws::SageMaker::Model::DeletePipelineRequest::WithPipelineName
DeletePipelineRequest & WithPipelineName(const char *value)
Definition: DeletePipelineRequest.h:76
Aws::SageMaker::Model::DeletePipelineRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::DeletePipelineRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: DeletePipelineRequest.h:112
Aws::SageMaker::Model::DeletePipelineRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::DeletePipelineRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeletePipelineRequest.h:31
Aws::SageMaker::Model::DeletePipelineRequest::PipelineNameHasBeenSet
bool PipelineNameHasBeenSet() const
Definition: DeletePipelineRequest.h:46
Aws::SageMaker::Model::DeletePipelineRequest::WithClientRequestToken
DeletePipelineRequest & WithClientRequestToken(const Aws::String &value)
Definition: DeletePipelineRequest.h:119
Aws::SageMaker::Model::DeletePipelineRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: DeletePipelineRequest.h:105
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DeletePipelineRequest::GetPipelineName
const Aws::String & GetPipelineName() const
Definition: DeletePipelineRequest.h:41
AWSString.h
Aws::SageMaker::Model::DeletePipelineRequest::SetPipelineName
void SetPipelineName(const Aws::String &value)
Definition: DeletePipelineRequest.h:51
Aws::SageMaker::Model::DeletePipelineRequest::WithPipelineName
DeletePipelineRequest & WithPipelineName(Aws::String &&value)
Definition: DeletePipelineRequest.h:71
Aws::SageMaker::Model::DeletePipelineRequest::WithClientRequestToken
DeletePipelineRequest & WithClientRequestToken(Aws::String &&value)
Definition: DeletePipelineRequest.h:126
Aws::SageMaker::Model::DeletePipelineRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: DeletePipelineRequest.h:91
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DeletePipelineRequest::SetPipelineName
void SetPipelineName(Aws::String &&value)
Definition: DeletePipelineRequest.h:56
SageMakerRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DeletePipelineRequest::DeletePipelineRequest
DeletePipelineRequest()
UUID.h
Aws::SageMaker::Model::DeletePipelineRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: DeletePipelineRequest.h:84
Aws::SageMaker::Model::DeletePipelineRequest::WithPipelineName
DeletePipelineRequest & WithPipelineName(const Aws::String &value)
Definition: DeletePipelineRequest.h:66