AWS SDK for C++  1.8.129
AWS SDK for C++
PutPipelineDefinitionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace DataPipeline
19 {
20 namespace Model
21 {
22 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "PutPipelineDefinition"; }
39 
40  Aws::String SerializePayload() const override;
41 
43 
44 
48  inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
49 
53  inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
54 
58  inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
59 
63  inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); }
64 
68  inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
69 
73  inline PutPipelineDefinitionRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
74 
78  inline PutPipelineDefinitionRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
79 
83  inline PutPipelineDefinitionRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
84 
85 
90  inline const Aws::Vector<PipelineObject>& GetPipelineObjects() const{ return m_pipelineObjects; }
91 
96  inline bool PipelineObjectsHasBeenSet() const { return m_pipelineObjectsHasBeenSet; }
97 
102  inline void SetPipelineObjects(const Aws::Vector<PipelineObject>& value) { m_pipelineObjectsHasBeenSet = true; m_pipelineObjects = value; }
103 
108  inline void SetPipelineObjects(Aws::Vector<PipelineObject>&& value) { m_pipelineObjectsHasBeenSet = true; m_pipelineObjects = std::move(value); }
109 
114  inline PutPipelineDefinitionRequest& WithPipelineObjects(const Aws::Vector<PipelineObject>& value) { SetPipelineObjects(value); return *this;}
115 
120  inline PutPipelineDefinitionRequest& WithPipelineObjects(Aws::Vector<PipelineObject>&& value) { SetPipelineObjects(std::move(value)); return *this;}
121 
126  inline PutPipelineDefinitionRequest& AddPipelineObjects(const PipelineObject& value) { m_pipelineObjectsHasBeenSet = true; m_pipelineObjects.push_back(value); return *this; }
127 
132  inline PutPipelineDefinitionRequest& AddPipelineObjects(PipelineObject&& value) { m_pipelineObjectsHasBeenSet = true; m_pipelineObjects.push_back(std::move(value)); return *this; }
133 
134 
138  inline const Aws::Vector<ParameterObject>& GetParameterObjects() const{ return m_parameterObjects; }
139 
143  inline bool ParameterObjectsHasBeenSet() const { return m_parameterObjectsHasBeenSet; }
144 
148  inline void SetParameterObjects(const Aws::Vector<ParameterObject>& value) { m_parameterObjectsHasBeenSet = true; m_parameterObjects = value; }
149 
153  inline void SetParameterObjects(Aws::Vector<ParameterObject>&& value) { m_parameterObjectsHasBeenSet = true; m_parameterObjects = std::move(value); }
154 
158  inline PutPipelineDefinitionRequest& WithParameterObjects(const Aws::Vector<ParameterObject>& value) { SetParameterObjects(value); return *this;}
159 
163  inline PutPipelineDefinitionRequest& WithParameterObjects(Aws::Vector<ParameterObject>&& value) { SetParameterObjects(std::move(value)); return *this;}
164 
168  inline PutPipelineDefinitionRequest& AddParameterObjects(const ParameterObject& value) { m_parameterObjectsHasBeenSet = true; m_parameterObjects.push_back(value); return *this; }
169 
173  inline PutPipelineDefinitionRequest& AddParameterObjects(ParameterObject&& value) { m_parameterObjectsHasBeenSet = true; m_parameterObjects.push_back(std::move(value)); return *this; }
174 
175 
179  inline const Aws::Vector<ParameterValue>& GetParameterValues() const{ return m_parameterValues; }
180 
184  inline bool ParameterValuesHasBeenSet() const { return m_parameterValuesHasBeenSet; }
185 
189  inline void SetParameterValues(const Aws::Vector<ParameterValue>& value) { m_parameterValuesHasBeenSet = true; m_parameterValues = value; }
190 
194  inline void SetParameterValues(Aws::Vector<ParameterValue>&& value) { m_parameterValuesHasBeenSet = true; m_parameterValues = std::move(value); }
195 
199  inline PutPipelineDefinitionRequest& WithParameterValues(const Aws::Vector<ParameterValue>& value) { SetParameterValues(value); return *this;}
200 
204  inline PutPipelineDefinitionRequest& WithParameterValues(Aws::Vector<ParameterValue>&& value) { SetParameterValues(std::move(value)); return *this;}
205 
209  inline PutPipelineDefinitionRequest& AddParameterValues(const ParameterValue& value) { m_parameterValuesHasBeenSet = true; m_parameterValues.push_back(value); return *this; }
210 
214  inline PutPipelineDefinitionRequest& AddParameterValues(ParameterValue&& value) { m_parameterValuesHasBeenSet = true; m_parameterValues.push_back(std::move(value)); return *this; }
215 
216  private:
217 
218  Aws::String m_pipelineId;
219  bool m_pipelineIdHasBeenSet;
220 
221  Aws::Vector<PipelineObject> m_pipelineObjects;
222  bool m_pipelineObjectsHasBeenSet;
223 
224  Aws::Vector<ParameterObject> m_parameterObjects;
225  bool m_parameterObjectsHasBeenSet;
226 
227  Aws::Vector<ParameterValue> m_parameterValues;
228  bool m_parameterValuesHasBeenSet;
229  };
230 
231 } // namespace Model
232 } // namespace DataPipeline
233 } // namespace Aws
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::SerializePayload
Aws::String SerializePayload() const override
ParameterObject.h
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::SetParameterValues
void SetParameterValues(const Aws::Vector< ParameterValue > &value)
Definition: PutPipelineDefinitionRequest.h:189
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::SetParameterObjects
void SetParameterObjects(Aws::Vector< ParameterObject > &&value)
Definition: PutPipelineDefinitionRequest.h:153
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::SetPipelineId
void SetPipelineId(const char *value)
Definition: PutPipelineDefinitionRequest.h:68
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::WithParameterObjects
PutPipelineDefinitionRequest & WithParameterObjects(const Aws::Vector< ParameterObject > &value)
Definition: PutPipelineDefinitionRequest.h:158
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::WithParameterValues
PutPipelineDefinitionRequest & WithParameterValues(Aws::Vector< ParameterValue > &&value)
Definition: PutPipelineDefinitionRequest.h:204
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::WithPipelineObjects
PutPipelineDefinitionRequest & WithPipelineObjects(Aws::Vector< PipelineObject > &&value)
Definition: PutPipelineDefinitionRequest.h:120
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::PipelineIdHasBeenSet
bool PipelineIdHasBeenSet() const
Definition: PutPipelineDefinitionRequest.h:53
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::WithPipelineObjects
PutPipelineDefinitionRequest & WithPipelineObjects(const Aws::Vector< PipelineObject > &value)
Definition: PutPipelineDefinitionRequest.h:114
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::SetPipelineObjects
void SetPipelineObjects(const Aws::Vector< PipelineObject > &value)
Definition: PutPipelineDefinitionRequest.h:102
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutPipelineDefinitionRequest.h:38
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::PutPipelineDefinitionRequest
PutPipelineDefinitionRequest()
PipelineObject.h
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSVector.h
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::AddPipelineObjects
PutPipelineDefinitionRequest & AddPipelineObjects(const PipelineObject &value)
Definition: PutPipelineDefinitionRequest.h:126
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::ParameterObjectsHasBeenSet
bool ParameterObjectsHasBeenSet() const
Definition: PutPipelineDefinitionRequest.h:143
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::GetParameterValues
const Aws::Vector< ParameterValue > & GetParameterValues() const
Definition: PutPipelineDefinitionRequest.h:179
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::PipelineObjectsHasBeenSet
bool PipelineObjectsHasBeenSet() const
Definition: PutPipelineDefinitionRequest.h:96
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::GetPipelineObjects
const Aws::Vector< PipelineObject > & GetPipelineObjects() const
Definition: PutPipelineDefinitionRequest.h:90
DataPipeline_EXPORTS.h
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::AddParameterObjects
PutPipelineDefinitionRequest & AddParameterObjects(const ParameterObject &value)
Definition: PutPipelineDefinitionRequest.h:168
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::SetParameterObjects
void SetParameterObjects(const Aws::Vector< ParameterObject > &value)
Definition: PutPipelineDefinitionRequest.h:148
DataPipelineRequest.h
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::WithPipelineId
PutPipelineDefinitionRequest & WithPipelineId(Aws::String &&value)
Definition: PutPipelineDefinitionRequest.h:78
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::AddPipelineObjects
PutPipelineDefinitionRequest & AddPipelineObjects(PipelineObject &&value)
Definition: PutPipelineDefinitionRequest.h:132
Aws::DataPipeline::Model::PipelineObject
Definition: PipelineObject.h:36
AWSString.h
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::ParameterValuesHasBeenSet
bool ParameterValuesHasBeenSet() const
Definition: PutPipelineDefinitionRequest.h:184
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::AddParameterValues
PutPipelineDefinitionRequest & AddParameterValues(ParameterValue &&value)
Definition: PutPipelineDefinitionRequest.h:214
Aws::DataPipeline::Model::ParameterObject
Definition: ParameterObject.h:34
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::GetPipelineId
const Aws::String & GetPipelineId() const
Definition: PutPipelineDefinitionRequest.h:48
Aws::DataPipeline::Model::ParameterValue
Definition: ParameterValue.h:32
ParameterValue.h
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::SetPipelineId
void SetPipelineId(const Aws::String &value)
Definition: PutPipelineDefinitionRequest.h:58
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::AddParameterValues
PutPipelineDefinitionRequest & AddParameterValues(const ParameterValue &value)
Definition: PutPipelineDefinitionRequest.h:209
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::AddParameterObjects
PutPipelineDefinitionRequest & AddParameterObjects(ParameterObject &&value)
Definition: PutPipelineDefinitionRequest.h:173
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::SetParameterValues
void SetParameterValues(Aws::Vector< ParameterValue > &&value)
Definition: PutPipelineDefinitionRequest.h:194
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::SetPipelineId
void SetPipelineId(Aws::String &&value)
Definition: PutPipelineDefinitionRequest.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::WithPipelineId
PutPipelineDefinitionRequest & WithPipelineId(const char *value)
Definition: PutPipelineDefinitionRequest.h:83
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::GetParameterObjects
const Aws::Vector< ParameterObject > & GetParameterObjects() const
Definition: PutPipelineDefinitionRequest.h:138
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::PutPipelineDefinitionRequest::WithParameterObjects
PutPipelineDefinitionRequest & WithParameterObjects(Aws::Vector< ParameterObject > &&value)
Definition: PutPipelineDefinitionRequest.h:163
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::SetPipelineObjects
void SetPipelineObjects(Aws::Vector< PipelineObject > &&value)
Definition: PutPipelineDefinitionRequest.h:108
Aws::DataPipeline::DataPipelineRequest
Definition: DataPipelineRequest.h:17
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::WithPipelineId
PutPipelineDefinitionRequest & WithPipelineId(const Aws::String &value)
Definition: PutPipelineDefinitionRequest.h:73
Aws::DataPipeline::Model::PutPipelineDefinitionRequest::WithParameterValues
PutPipelineDefinitionRequest & WithParameterValues(const Aws::Vector< ParameterValue > &value)
Definition: PutPipelineDefinitionRequest.h:199
Aws::DataPipeline::Model::PutPipelineDefinitionRequest
Definition: PutPipelineDefinitionRequest.h:30