AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutPipelineDefinitionRequest.h
1
6#pragma once
7#include <aws/datapipeline/DataPipeline_EXPORTS.h>
8#include <aws/datapipeline/DataPipelineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datapipeline/model/PipelineObject.h>
12#include <aws/datapipeline/model/ParameterObject.h>
13#include <aws/datapipeline/model/ParameterValue.h>
14#include <utility>
15
16namespace Aws
17{
18namespace DataPipeline
19{
20namespace Model
21{
22
30 {
31 public:
32 AWS_DATAPIPELINE_API PutPipelineDefinitionRequest();
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_DATAPIPELINE_API Aws::String SerializePayload() const override;
41
42 AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
43
44
46
49 inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
50 inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
51 inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
52 inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); }
53 inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
54 inline PutPipelineDefinitionRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
55 inline PutPipelineDefinitionRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
56 inline PutPipelineDefinitionRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
58
60
64 inline const Aws::Vector<PipelineObject>& GetPipelineObjects() const{ return m_pipelineObjects; }
65 inline bool PipelineObjectsHasBeenSet() const { return m_pipelineObjectsHasBeenSet; }
66 inline void SetPipelineObjects(const Aws::Vector<PipelineObject>& value) { m_pipelineObjectsHasBeenSet = true; m_pipelineObjects = value; }
67 inline void SetPipelineObjects(Aws::Vector<PipelineObject>&& value) { m_pipelineObjectsHasBeenSet = true; m_pipelineObjects = std::move(value); }
70 inline PutPipelineDefinitionRequest& AddPipelineObjects(const PipelineObject& value) { m_pipelineObjectsHasBeenSet = true; m_pipelineObjects.push_back(value); return *this; }
71 inline PutPipelineDefinitionRequest& AddPipelineObjects(PipelineObject&& value) { m_pipelineObjectsHasBeenSet = true; m_pipelineObjects.push_back(std::move(value)); return *this; }
73
75
78 inline const Aws::Vector<ParameterObject>& GetParameterObjects() const{ return m_parameterObjects; }
79 inline bool ParameterObjectsHasBeenSet() const { return m_parameterObjectsHasBeenSet; }
80 inline void SetParameterObjects(const Aws::Vector<ParameterObject>& value) { m_parameterObjectsHasBeenSet = true; m_parameterObjects = value; }
81 inline void SetParameterObjects(Aws::Vector<ParameterObject>&& value) { m_parameterObjectsHasBeenSet = true; m_parameterObjects = std::move(value); }
84 inline PutPipelineDefinitionRequest& AddParameterObjects(const ParameterObject& value) { m_parameterObjectsHasBeenSet = true; m_parameterObjects.push_back(value); return *this; }
85 inline PutPipelineDefinitionRequest& AddParameterObjects(ParameterObject&& value) { m_parameterObjectsHasBeenSet = true; m_parameterObjects.push_back(std::move(value)); return *this; }
87
89
92 inline const Aws::Vector<ParameterValue>& GetParameterValues() const{ return m_parameterValues; }
93 inline bool ParameterValuesHasBeenSet() const { return m_parameterValuesHasBeenSet; }
94 inline void SetParameterValues(const Aws::Vector<ParameterValue>& value) { m_parameterValuesHasBeenSet = true; m_parameterValues = value; }
95 inline void SetParameterValues(Aws::Vector<ParameterValue>&& value) { m_parameterValuesHasBeenSet = true; m_parameterValues = std::move(value); }
98 inline PutPipelineDefinitionRequest& AddParameterValues(const ParameterValue& value) { m_parameterValuesHasBeenSet = true; m_parameterValues.push_back(value); return *this; }
99 inline PutPipelineDefinitionRequest& AddParameterValues(ParameterValue&& value) { m_parameterValuesHasBeenSet = true; m_parameterValues.push_back(std::move(value)); return *this; }
101 private:
102
103 Aws::String m_pipelineId;
104 bool m_pipelineIdHasBeenSet = false;
105
106 Aws::Vector<PipelineObject> m_pipelineObjects;
107 bool m_pipelineObjectsHasBeenSet = false;
108
109 Aws::Vector<ParameterObject> m_parameterObjects;
110 bool m_parameterObjectsHasBeenSet = false;
111
112 Aws::Vector<ParameterValue> m_parameterValues;
113 bool m_parameterValuesHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace DataPipeline
118} // namespace Aws
const Aws::Vector< ParameterValue > & GetParameterValues() const
PutPipelineDefinitionRequest & AddParameterValues(const ParameterValue &value)
PutPipelineDefinitionRequest & WithPipelineId(const Aws::String &value)
void SetParameterObjects(const Aws::Vector< ParameterObject > &value)
PutPipelineDefinitionRequest & WithPipelineObjects(const Aws::Vector< PipelineObject > &value)
PutPipelineDefinitionRequest & WithPipelineObjects(Aws::Vector< PipelineObject > &&value)
PutPipelineDefinitionRequest & AddParameterValues(ParameterValue &&value)
AWS_DATAPIPELINE_API Aws::String SerializePayload() const override
PutPipelineDefinitionRequest & WithParameterObjects(const Aws::Vector< ParameterObject > &value)
PutPipelineDefinitionRequest & AddPipelineObjects(PipelineObject &&value)
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutPipelineDefinitionRequest & AddParameterObjects(ParameterObject &&value)
const Aws::Vector< ParameterObject > & GetParameterObjects() const
void SetParameterValues(const Aws::Vector< ParameterValue > &value)
void SetParameterObjects(Aws::Vector< ParameterObject > &&value)
const Aws::Vector< PipelineObject > & GetPipelineObjects() const
PutPipelineDefinitionRequest & WithParameterValues(const Aws::Vector< ParameterValue > &value)
PutPipelineDefinitionRequest & WithPipelineId(Aws::String &&value)
PutPipelineDefinitionRequest & WithParameterValues(Aws::Vector< ParameterValue > &&value)
PutPipelineDefinitionRequest & WithParameterObjects(Aws::Vector< ParameterObject > &&value)
void SetPipelineObjects(Aws::Vector< PipelineObject > &&value)
PutPipelineDefinitionRequest & WithPipelineId(const char *value)
PutPipelineDefinitionRequest & AddParameterObjects(const ParameterObject &value)
void SetPipelineObjects(const Aws::Vector< PipelineObject > &value)
void SetParameterValues(Aws::Vector< ParameterValue > &&value)
PutPipelineDefinitionRequest & AddPipelineObjects(const PipelineObject &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