AWS SDK for C++  1.8.71
AWS SDK for C++
ValidatePipelineDefinitionRequest.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 "ValidatePipelineDefinition"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
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 ValidatePipelineDefinitionRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
74 
78  inline ValidatePipelineDefinitionRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
79 
83  inline ValidatePipelineDefinitionRequest& 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 ValidatePipelineDefinitionRequest& WithPipelineObjects(const Aws::Vector<PipelineObject>& value) { SetPipelineObjects(value); return *this;}
115 
120  inline ValidatePipelineDefinitionRequest& WithPipelineObjects(Aws::Vector<PipelineObject>&& value) { SetPipelineObjects(std::move(value)); return *this;}
121 
126  inline ValidatePipelineDefinitionRequest& AddPipelineObjects(const PipelineObject& value) { m_pipelineObjectsHasBeenSet = true; m_pipelineObjects.push_back(value); return *this; }
127 
132  inline ValidatePipelineDefinitionRequest& 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 ValidatePipelineDefinitionRequest& WithParameterObjects(const Aws::Vector<ParameterObject>& value) { SetParameterObjects(value); return *this;}
159 
163  inline ValidatePipelineDefinitionRequest& WithParameterObjects(Aws::Vector<ParameterObject>&& value) { SetParameterObjects(std::move(value)); return *this;}
164 
168  inline ValidatePipelineDefinitionRequest& AddParameterObjects(const ParameterObject& value) { m_parameterObjectsHasBeenSet = true; m_parameterObjects.push_back(value); return *this; }
169 
173  inline ValidatePipelineDefinitionRequest& 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 ValidatePipelineDefinitionRequest& WithParameterValues(const Aws::Vector<ParameterValue>& value) { SetParameterValues(value); return *this;}
200 
204  inline ValidatePipelineDefinitionRequest& WithParameterValues(Aws::Vector<ParameterValue>&& value) { SetParameterValues(std::move(value)); return *this;}
205 
209  inline ValidatePipelineDefinitionRequest& AddParameterValues(const ParameterValue& value) { m_parameterValuesHasBeenSet = true; m_parameterValues.push_back(value); return *this; }
210 
214  inline ValidatePipelineDefinitionRequest& 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
ValidatePipelineDefinitionRequest & WithParameterValues(Aws::Vector< ParameterValue > &&value)
ValidatePipelineDefinitionRequest & WithPipelineObjects(Aws::Vector< PipelineObject > &&value)
void SetParameterObjects(const Aws::Vector< ParameterObject > &value)
ValidatePipelineDefinitionRequest & AddParameterObjects(ParameterObject &&value)
ValidatePipelineDefinitionRequest & AddPipelineObjects(const PipelineObject &value)
ValidatePipelineDefinitionRequest & AddParameterValues(const ParameterValue &value)
ValidatePipelineDefinitionRequest & AddParameterObjects(const ParameterObject &value)
ValidatePipelineDefinitionRequest & WithParameterValues(const Aws::Vector< ParameterValue > &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ValidatePipelineDefinitionRequest & WithPipelineId(const Aws::String &value)
ValidatePipelineDefinitionRequest & WithPipelineId(const char *value)
#define AWS_DATAPIPELINE_API
ValidatePipelineDefinitionRequest & AddPipelineObjects(PipelineObject &&value)
void SetParameterValues(const Aws::Vector< ParameterValue > &value)
ValidatePipelineDefinitionRequest & WithPipelineId(Aws::String &&value)
ValidatePipelineDefinitionRequest & WithParameterObjects(const Aws::Vector< ParameterObject > &value)
ValidatePipelineDefinitionRequest & WithParameterObjects(Aws::Vector< ParameterObject > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ValidatePipelineDefinitionRequest & WithPipelineObjects(const Aws::Vector< PipelineObject > &value)
ValidatePipelineDefinitionRequest & AddParameterValues(ParameterValue &&value)
void SetPipelineObjects(const Aws::Vector< PipelineObject > &value)