AWS SDK for C++  1.8.129
AWS SDK for C++
GetPipelineDefinitionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace DataPipeline
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "GetPipelineDefinition"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
45 
49  inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
50 
54  inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
55 
59  inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); }
60 
64  inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
65 
69  inline GetPipelineDefinitionRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
70 
74  inline GetPipelineDefinitionRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
75 
79  inline GetPipelineDefinitionRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
80 
81 
87  inline const Aws::String& GetVersion() const{ return m_version; }
88 
94  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
95 
101  inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
102 
108  inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
109 
115  inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
116 
122  inline GetPipelineDefinitionRequest& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
123 
129  inline GetPipelineDefinitionRequest& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
130 
136  inline GetPipelineDefinitionRequest& WithVersion(const char* value) { SetVersion(value); return *this;}
137 
138  private:
139 
140  Aws::String m_pipelineId;
141  bool m_pipelineIdHasBeenSet;
142 
143  Aws::String m_version;
144  bool m_versionHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace DataPipeline
149 } // namespace Aws
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::SetVersion
void SetVersion(Aws::String &&value)
Definition: GetPipelineDefinitionRequest.h:108
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::SetPipelineId
void SetPipelineId(const char *value)
Definition: GetPipelineDefinitionRequest.h:64
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::PipelineIdHasBeenSet
bool PipelineIdHasBeenSet() const
Definition: GetPipelineDefinitionRequest.h:49
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::WithPipelineId
GetPipelineDefinitionRequest & WithPipelineId(Aws::String &&value)
Definition: GetPipelineDefinitionRequest.h:74
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::WithPipelineId
GetPipelineDefinitionRequest & WithPipelineId(const Aws::String &value)
Definition: GetPipelineDefinitionRequest.h:69
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::GetPipelineDefinitionRequest
GetPipelineDefinitionRequest()
Aws::DataPipeline::Model::GetPipelineDefinitionRequest
Definition: GetPipelineDefinitionRequest.h:26
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::WithVersion
GetPipelineDefinitionRequest & WithVersion(Aws::String &&value)
Definition: GetPipelineDefinitionRequest.h:129
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::SetVersion
void SetVersion(const Aws::String &value)
Definition: GetPipelineDefinitionRequest.h:101
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetPipelineDefinitionRequest.h:34
DataPipeline_EXPORTS.h
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::SetVersion
void SetVersion(const char *value)
Definition: GetPipelineDefinitionRequest.h:115
DataPipelineRequest.h
AWSString.h
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::SetPipelineId
void SetPipelineId(Aws::String &&value)
Definition: GetPipelineDefinitionRequest.h:59
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::WithVersion
GetPipelineDefinitionRequest & WithVersion(const char *value)
Definition: GetPipelineDefinitionRequest.h:136
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::SetPipelineId
void SetPipelineId(const Aws::String &value)
Definition: GetPipelineDefinitionRequest.h:54
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::WithVersion
GetPipelineDefinitionRequest & WithVersion(const Aws::String &value)
Definition: GetPipelineDefinitionRequest.h:122
Aws
Definition: AccessManagementClient.h:15
AWS_DATAPIPELINE_API
#define AWS_DATAPIPELINE_API
Definition: DataPipeline_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DataPipeline::DataPipelineRequest
Definition: DataPipelineRequest.h:17
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::WithPipelineId
GetPipelineDefinitionRequest & WithPipelineId(const char *value)
Definition: GetPipelineDefinitionRequest.h:79
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: GetPipelineDefinitionRequest.h:94
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::GetVersion
const Aws::String & GetVersion() const
Definition: GetPipelineDefinitionRequest.h:87
Aws::DataPipeline::Model::GetPipelineDefinitionRequest::GetPipelineId
const Aws::String & GetPipelineId() const
Definition: GetPipelineDefinitionRequest.h:44