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