AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
PutPipelineDefinitionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datapipeline/DataPipelineRequest.h>
10#include <aws/datapipeline/DataPipeline_EXPORTS.h>
11#include <aws/datapipeline/model/ParameterObject.h>
12#include <aws/datapipeline/model/ParameterValue.h>
13#include <aws/datapipeline/model/PipelineObject.h>
14
15#include <utility>
16
17namespace Aws {
18namespace DataPipeline {
19namespace Model {
20
28 public:
29 AWS_DATAPIPELINE_API PutPipelineDefinitionRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "PutPipelineDefinition"; }
36
37 AWS_DATAPIPELINE_API Aws::String SerializePayload() const override;
38
39 AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
42
45 inline const Aws::String& GetPipelineId() const { return m_pipelineId; }
46 inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
47 template <typename PipelineIdT = Aws::String>
48 void SetPipelineId(PipelineIdT&& value) {
49 m_pipelineIdHasBeenSet = true;
50 m_pipelineId = std::forward<PipelineIdT>(value);
51 }
52 template <typename PipelineIdT = Aws::String>
54 SetPipelineId(std::forward<PipelineIdT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::Vector<PipelineObject>& GetPipelineObjects() const { return m_pipelineObjects; }
65 inline bool PipelineObjectsHasBeenSet() const { return m_pipelineObjectsHasBeenSet; }
66 template <typename PipelineObjectsT = Aws::Vector<PipelineObject>>
67 void SetPipelineObjects(PipelineObjectsT&& value) {
68 m_pipelineObjectsHasBeenSet = true;
69 m_pipelineObjects = std::forward<PipelineObjectsT>(value);
70 }
71 template <typename PipelineObjectsT = Aws::Vector<PipelineObject>>
73 SetPipelineObjects(std::forward<PipelineObjectsT>(value));
74 return *this;
75 }
76 template <typename PipelineObjectsT = PipelineObject>
78 m_pipelineObjectsHasBeenSet = true;
79 m_pipelineObjects.emplace_back(std::forward<PipelineObjectsT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Vector<ParameterObject>& GetParameterObjects() const { return m_parameterObjects; }
89 inline bool ParameterObjectsHasBeenSet() const { return m_parameterObjectsHasBeenSet; }
90 template <typename ParameterObjectsT = Aws::Vector<ParameterObject>>
91 void SetParameterObjects(ParameterObjectsT&& value) {
92 m_parameterObjectsHasBeenSet = true;
93 m_parameterObjects = std::forward<ParameterObjectsT>(value);
94 }
95 template <typename ParameterObjectsT = Aws::Vector<ParameterObject>>
97 SetParameterObjects(std::forward<ParameterObjectsT>(value));
98 return *this;
99 }
100 template <typename ParameterObjectsT = ParameterObject>
102 m_parameterObjectsHasBeenSet = true;
103 m_parameterObjects.emplace_back(std::forward<ParameterObjectsT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Vector<ParameterValue>& GetParameterValues() const { return m_parameterValues; }
113 inline bool ParameterValuesHasBeenSet() const { return m_parameterValuesHasBeenSet; }
114 template <typename ParameterValuesT = Aws::Vector<ParameterValue>>
115 void SetParameterValues(ParameterValuesT&& value) {
116 m_parameterValuesHasBeenSet = true;
117 m_parameterValues = std::forward<ParameterValuesT>(value);
118 }
119 template <typename ParameterValuesT = Aws::Vector<ParameterValue>>
121 SetParameterValues(std::forward<ParameterValuesT>(value));
122 return *this;
123 }
124 template <typename ParameterValuesT = ParameterValue>
126 m_parameterValuesHasBeenSet = true;
127 m_parameterValues.emplace_back(std::forward<ParameterValuesT>(value));
128 return *this;
129 }
131 private:
132 Aws::String m_pipelineId;
133
134 Aws::Vector<PipelineObject> m_pipelineObjects;
135
136 Aws::Vector<ParameterObject> m_parameterObjects;
137
138 Aws::Vector<ParameterValue> m_parameterValues;
139 bool m_pipelineIdHasBeenSet = false;
140 bool m_pipelineObjectsHasBeenSet = false;
141 bool m_parameterObjectsHasBeenSet = false;
142 bool m_parameterValuesHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace DataPipeline
147} // namespace Aws
const Aws::Vector< ParameterValue > & GetParameterValues() const
AWS_DATAPIPELINE_API PutPipelineDefinitionRequest()=default
AWS_DATAPIPELINE_API Aws::String SerializePayload() const override
PutPipelineDefinitionRequest & WithParameterValues(ParameterValuesT &&value)
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutPipelineDefinitionRequest & WithParameterObjects(ParameterObjectsT &&value)
const Aws::Vector< ParameterObject > & GetParameterObjects() const
const Aws::Vector< PipelineObject > & GetPipelineObjects() const
PutPipelineDefinitionRequest & AddParameterObjects(ParameterObjectsT &&value)
PutPipelineDefinitionRequest & AddParameterValues(ParameterValuesT &&value)
PutPipelineDefinitionRequest & AddPipelineObjects(PipelineObjectsT &&value)
PutPipelineDefinitionRequest & WithPipelineObjects(PipelineObjectsT &&value)
PutPipelineDefinitionRequest & WithPipelineId(PipelineIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector