AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetPipelineDefinitionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datapipeline/DataPipeline_EXPORTS.h>
11#include <aws/datapipeline/model/ParameterObject.h>
12#include <aws/datapipeline/model/ParameterValue.h>
13#include <aws/datapipeline/model/PipelineObject.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataPipeline {
27namespace Model {
34 public:
35 AWS_DATAPIPELINE_API GetPipelineDefinitionResult() = default;
38
40
43 inline const Aws::Vector<PipelineObject>& GetPipelineObjects() const { return m_pipelineObjects; }
44 template <typename PipelineObjectsT = Aws::Vector<PipelineObject>>
45 void SetPipelineObjects(PipelineObjectsT&& value) {
46 m_pipelineObjectsHasBeenSet = true;
47 m_pipelineObjects = std::forward<PipelineObjectsT>(value);
48 }
49 template <typename PipelineObjectsT = Aws::Vector<PipelineObject>>
51 SetPipelineObjects(std::forward<PipelineObjectsT>(value));
52 return *this;
53 }
54 template <typename PipelineObjectsT = PipelineObject>
56 m_pipelineObjectsHasBeenSet = true;
57 m_pipelineObjects.emplace_back(std::forward<PipelineObjectsT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::Vector<ParameterObject>& GetParameterObjects() const { return m_parameterObjects; }
67 template <typename ParameterObjectsT = Aws::Vector<ParameterObject>>
68 void SetParameterObjects(ParameterObjectsT&& value) {
69 m_parameterObjectsHasBeenSet = true;
70 m_parameterObjects = std::forward<ParameterObjectsT>(value);
71 }
72 template <typename ParameterObjectsT = Aws::Vector<ParameterObject>>
74 SetParameterObjects(std::forward<ParameterObjectsT>(value));
75 return *this;
76 }
77 template <typename ParameterObjectsT = ParameterObject>
79 m_parameterObjectsHasBeenSet = true;
80 m_parameterObjects.emplace_back(std::forward<ParameterObjectsT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Vector<ParameterValue>& GetParameterValues() const { return m_parameterValues; }
90 template <typename ParameterValuesT = Aws::Vector<ParameterValue>>
91 void SetParameterValues(ParameterValuesT&& value) {
92 m_parameterValuesHasBeenSet = true;
93 m_parameterValues = std::forward<ParameterValuesT>(value);
94 }
95 template <typename ParameterValuesT = Aws::Vector<ParameterValue>>
97 SetParameterValues(std::forward<ParameterValuesT>(value));
98 return *this;
99 }
100 template <typename ParameterValuesT = ParameterValue>
102 m_parameterValuesHasBeenSet = true;
103 m_parameterValues.emplace_back(std::forward<ParameterValuesT>(value));
104 return *this;
105 }
107
109
110 inline const Aws::String& GetRequestId() const { return m_requestId; }
111 template <typename RequestIdT = Aws::String>
112 void SetRequestId(RequestIdT&& value) {
113 m_requestIdHasBeenSet = true;
114 m_requestId = std::forward<RequestIdT>(value);
115 }
116 template <typename RequestIdT = Aws::String>
118 SetRequestId(std::forward<RequestIdT>(value));
119 return *this;
120 }
122 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
123
124 private:
125 Aws::Vector<PipelineObject> m_pipelineObjects;
126
127 Aws::Vector<ParameterObject> m_parameterObjects;
128
129 Aws::Vector<ParameterValue> m_parameterValues;
130
131 Aws::String m_requestId;
132 Aws::Http::HttpResponseCode m_HttpResponseCode;
133 bool m_pipelineObjectsHasBeenSet = false;
134 bool m_parameterObjectsHasBeenSet = false;
135 bool m_parameterValuesHasBeenSet = false;
136 bool m_requestIdHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace DataPipeline
141} // 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