AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribePipelineRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SageMaker {
15namespace Model {
16
20 public:
21 AWS_SAGEMAKER_API DescribePipelineRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribePipeline"; }
28
29 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetPipelineName() const { return m_pipelineName; }
38 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
39 template <typename PipelineNameT = Aws::String>
40 void SetPipelineName(PipelineNameT&& value) {
41 m_pipelineNameHasBeenSet = true;
42 m_pipelineName = std::forward<PipelineNameT>(value);
43 }
44 template <typename PipelineNameT = Aws::String>
45 DescribePipelineRequest& WithPipelineName(PipelineNameT&& value) {
46 SetPipelineName(std::forward<PipelineNameT>(value));
47 return *this;
48 }
50
52
55 inline long long GetPipelineVersionId() const { return m_pipelineVersionId; }
56 inline bool PipelineVersionIdHasBeenSet() const { return m_pipelineVersionIdHasBeenSet; }
57 inline void SetPipelineVersionId(long long value) {
58 m_pipelineVersionIdHasBeenSet = true;
59 m_pipelineVersionId = value;
60 }
63 return *this;
64 }
66 private:
67 Aws::String m_pipelineName;
68
69 long long m_pipelineVersionId{0};
70 bool m_pipelineNameHasBeenSet = false;
71 bool m_pipelineVersionIdHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace SageMaker
76} // namespace Aws
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
DescribePipelineRequest & WithPipelineName(PipelineNameT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
DescribePipelineRequest & WithPipelineVersionId(long long value)
AWS_SAGEMAKER_API DescribePipelineRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String