AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValidatePipelineDefinitionRequest.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 ValidatePipelineDefinitionRequest();
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_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 ValidatePipelineDefinitionRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
55 inline ValidatePipelineDefinitionRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
56 inline ValidatePipelineDefinitionRequest& 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 ValidatePipelineDefinitionRequest& AddPipelineObjects(const PipelineObject& value) { m_pipelineObjectsHasBeenSet = true; m_pipelineObjects.push_back(value); return *this; }
71 inline ValidatePipelineDefinitionRequest& 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 ValidatePipelineDefinitionRequest& AddParameterObjects(const ParameterObject& value) { m_parameterObjectsHasBeenSet = true; m_parameterObjects.push_back(value); return *this; }
85 inline ValidatePipelineDefinitionRequest& 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 ValidatePipelineDefinitionRequest& AddParameterValues(const ParameterValue& value) { m_parameterValuesHasBeenSet = true; m_parameterValues.push_back(value); return *this; }
99 inline ValidatePipelineDefinitionRequest& 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
AWS_DATAPIPELINE_API Aws::String SerializePayload() const override
void SetParameterObjects(const Aws::Vector< ParameterObject > &value)
ValidatePipelineDefinitionRequest & WithPipelineObjects(const Aws::Vector< PipelineObject > &value)
ValidatePipelineDefinitionRequest & WithPipelineId(const char *value)
ValidatePipelineDefinitionRequest & AddParameterObjects(ParameterObject &&value)
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ValidatePipelineDefinitionRequest & AddParameterValues(ParameterValue &&value)
void SetParameterValues(const Aws::Vector< ParameterValue > &value)
ValidatePipelineDefinitionRequest & WithParameterObjects(Aws::Vector< ParameterObject > &&value)
ValidatePipelineDefinitionRequest & WithPipelineId(Aws::String &&value)
ValidatePipelineDefinitionRequest & WithPipelineObjects(Aws::Vector< PipelineObject > &&value)
ValidatePipelineDefinitionRequest & AddParameterObjects(const ParameterObject &value)
ValidatePipelineDefinitionRequest & AddPipelineObjects(PipelineObject &&value)
void SetPipelineObjects(const Aws::Vector< PipelineObject > &value)
ValidatePipelineDefinitionRequest & WithParameterValues(Aws::Vector< ParameterValue > &&value)
ValidatePipelineDefinitionRequest & AddPipelineObjects(const PipelineObject &value)
ValidatePipelineDefinitionRequest & WithPipelineId(const Aws::String &value)
ValidatePipelineDefinitionRequest & WithParameterValues(const Aws::Vector< ParameterValue > &value)
ValidatePipelineDefinitionRequest & WithParameterObjects(const Aws::Vector< ParameterObject > &value)
ValidatePipelineDefinitionRequest & AddParameterValues(const ParameterValue &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