AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetPipelineDefinitionResult.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/DataPipeline_EXPORTS.h>
10#include <aws/datapipeline/model/ParameterObject.h>
11#include <aws/datapipeline/model/ParameterValue.h>
12#include <aws/datapipeline/model/PipelineObject.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DataPipeline {
26namespace Model {
33 public:
34 AWS_DATAPIPELINE_API GetPipelineDefinitionResult() = default;
37
39
42 inline const Aws::Vector<PipelineObject>& GetPipelineObjects() const { return m_pipelineObjects; }
43 template <typename PipelineObjectsT = Aws::Vector<PipelineObject>>
44 void SetPipelineObjects(PipelineObjectsT&& value) {
45 m_pipelineObjectsHasBeenSet = true;
46 m_pipelineObjects = std::forward<PipelineObjectsT>(value);
47 }
48 template <typename PipelineObjectsT = Aws::Vector<PipelineObject>>
50 SetPipelineObjects(std::forward<PipelineObjectsT>(value));
51 return *this;
52 }
53 template <typename PipelineObjectsT = PipelineObject>
55 m_pipelineObjectsHasBeenSet = true;
56 m_pipelineObjects.emplace_back(std::forward<PipelineObjectsT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::Vector<ParameterObject>& GetParameterObjects() const { return m_parameterObjects; }
66 template <typename ParameterObjectsT = Aws::Vector<ParameterObject>>
67 void SetParameterObjects(ParameterObjectsT&& value) {
68 m_parameterObjectsHasBeenSet = true;
69 m_parameterObjects = std::forward<ParameterObjectsT>(value);
70 }
71 template <typename ParameterObjectsT = Aws::Vector<ParameterObject>>
73 SetParameterObjects(std::forward<ParameterObjectsT>(value));
74 return *this;
75 }
76 template <typename ParameterObjectsT = ParameterObject>
78 m_parameterObjectsHasBeenSet = true;
79 m_parameterObjects.emplace_back(std::forward<ParameterObjectsT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Vector<ParameterValue>& GetParameterValues() const { return m_parameterValues; }
89 template <typename ParameterValuesT = Aws::Vector<ParameterValue>>
90 void SetParameterValues(ParameterValuesT&& value) {
91 m_parameterValuesHasBeenSet = true;
92 m_parameterValues = std::forward<ParameterValuesT>(value);
93 }
94 template <typename ParameterValuesT = Aws::Vector<ParameterValue>>
96 SetParameterValues(std::forward<ParameterValuesT>(value));
97 return *this;
98 }
99 template <typename ParameterValuesT = ParameterValue>
101 m_parameterValuesHasBeenSet = true;
102 m_parameterValues.emplace_back(std::forward<ParameterValuesT>(value));
103 return *this;
104 }
106
108
109 inline const Aws::String& GetRequestId() const { return m_requestId; }
110 template <typename RequestIdT = Aws::String>
111 void SetRequestId(RequestIdT&& value) {
112 m_requestIdHasBeenSet = true;
113 m_requestId = std::forward<RequestIdT>(value);
114 }
115 template <typename RequestIdT = Aws::String>
117 SetRequestId(std::forward<RequestIdT>(value));
118 return *this;
119 }
121 private:
122 Aws::Vector<PipelineObject> m_pipelineObjects;
123
124 Aws::Vector<ParameterObject> m_parameterObjects;
125
126 Aws::Vector<ParameterValue> m_parameterValues;
127
128 Aws::String m_requestId;
129 bool m_pipelineObjectsHasBeenSet = false;
130 bool m_parameterObjectsHasBeenSet = false;
131 bool m_parameterValuesHasBeenSet = false;
132 bool m_requestIdHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace DataPipeline
137} // namespace Aws
GetPipelineDefinitionResult & WithParameterValues(ParameterValuesT &&value)
const Aws::Vector< ParameterObject > & GetParameterObjects() const
AWS_DATAPIPELINE_API GetPipelineDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPipelineDefinitionResult & AddParameterValues(ParameterValuesT &&value)
AWS_DATAPIPELINE_API GetPipelineDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ParameterValue > & GetParameterValues() const
GetPipelineDefinitionResult & WithRequestId(RequestIdT &&value)
GetPipelineDefinitionResult & AddParameterObjects(ParameterObjectsT &&value)
GetPipelineDefinitionResult & WithPipelineObjects(PipelineObjectsT &&value)
GetPipelineDefinitionResult & AddPipelineObjects(PipelineObjectsT &&value)
GetPipelineDefinitionResult & WithParameterObjects(ParameterObjectsT &&value)
AWS_DATAPIPELINE_API GetPipelineDefinitionResult()=default
const Aws::Vector< PipelineObject > & GetPipelineObjects() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue