AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetPipelineDefinitionResult.h
1
6#pragma once
7#include <aws/datapipeline/DataPipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datapipeline/model/PipelineObject.h>
11#include <aws/datapipeline/model/ParameterObject.h>
12#include <aws/datapipeline/model/ParameterValue.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DataPipeline
28{
29namespace Model
30{
37 {
38 public:
39 AWS_DATAPIPELINE_API GetPipelineDefinitionResult() = default;
42
43
45
48 inline const Aws::Vector<PipelineObject>& GetPipelineObjects() const { return m_pipelineObjects; }
49 template<typename PipelineObjectsT = Aws::Vector<PipelineObject>>
50 void SetPipelineObjects(PipelineObjectsT&& value) { m_pipelineObjectsHasBeenSet = true; m_pipelineObjects = std::forward<PipelineObjectsT>(value); }
51 template<typename PipelineObjectsT = Aws::Vector<PipelineObject>>
52 GetPipelineDefinitionResult& WithPipelineObjects(PipelineObjectsT&& value) { SetPipelineObjects(std::forward<PipelineObjectsT>(value)); return *this;}
53 template<typename PipelineObjectsT = PipelineObject>
54 GetPipelineDefinitionResult& AddPipelineObjects(PipelineObjectsT&& value) { m_pipelineObjectsHasBeenSet = true; m_pipelineObjects.emplace_back(std::forward<PipelineObjectsT>(value)); return *this; }
56
58
61 inline const Aws::Vector<ParameterObject>& GetParameterObjects() const { return m_parameterObjects; }
62 template<typename ParameterObjectsT = Aws::Vector<ParameterObject>>
63 void SetParameterObjects(ParameterObjectsT&& value) { m_parameterObjectsHasBeenSet = true; m_parameterObjects = std::forward<ParameterObjectsT>(value); }
64 template<typename ParameterObjectsT = Aws::Vector<ParameterObject>>
65 GetPipelineDefinitionResult& WithParameterObjects(ParameterObjectsT&& value) { SetParameterObjects(std::forward<ParameterObjectsT>(value)); return *this;}
66 template<typename ParameterObjectsT = ParameterObject>
67 GetPipelineDefinitionResult& AddParameterObjects(ParameterObjectsT&& value) { m_parameterObjectsHasBeenSet = true; m_parameterObjects.emplace_back(std::forward<ParameterObjectsT>(value)); return *this; }
69
71
74 inline const Aws::Vector<ParameterValue>& GetParameterValues() const { return m_parameterValues; }
75 template<typename ParameterValuesT = Aws::Vector<ParameterValue>>
76 void SetParameterValues(ParameterValuesT&& value) { m_parameterValuesHasBeenSet = true; m_parameterValues = std::forward<ParameterValuesT>(value); }
77 template<typename ParameterValuesT = Aws::Vector<ParameterValue>>
78 GetPipelineDefinitionResult& WithParameterValues(ParameterValuesT&& value) { SetParameterValues(std::forward<ParameterValuesT>(value)); return *this;}
79 template<typename ParameterValuesT = ParameterValue>
80 GetPipelineDefinitionResult& AddParameterValues(ParameterValuesT&& value) { m_parameterValuesHasBeenSet = true; m_parameterValues.emplace_back(std::forward<ParameterValuesT>(value)); return *this; }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template<typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
88 template<typename RequestIdT = Aws::String>
89 GetPipelineDefinitionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
91 private:
92
93 Aws::Vector<PipelineObject> m_pipelineObjects;
94 bool m_pipelineObjectsHasBeenSet = false;
95
96 Aws::Vector<ParameterObject> m_parameterObjects;
97 bool m_parameterObjectsHasBeenSet = false;
98
99 Aws::Vector<ParameterValue> m_parameterValues;
100 bool m_parameterValuesHasBeenSet = false;
101
102 Aws::String m_requestId;
103 bool m_requestIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace DataPipeline
108} // 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