AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
QueryLineageRequest.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/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/Direction.h>
12#include <aws/sagemaker/model/QueryFilters.h>
13
14#include <utility>
15
16namespace Aws {
17namespace SageMaker {
18namespace Model {
19
23 public:
24 AWS_SAGEMAKER_API QueryLineageRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "QueryLineage"; }
31
32 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
33
35
37
41 inline const Aws::Vector<Aws::String>& GetStartArns() const { return m_startArns; }
42 inline bool StartArnsHasBeenSet() const { return m_startArnsHasBeenSet; }
43 template <typename StartArnsT = Aws::Vector<Aws::String>>
44 void SetStartArns(StartArnsT&& value) {
45 m_startArnsHasBeenSet = true;
46 m_startArns = std::forward<StartArnsT>(value);
47 }
48 template <typename StartArnsT = Aws::Vector<Aws::String>>
49 QueryLineageRequest& WithStartArns(StartArnsT&& value) {
50 SetStartArns(std::forward<StartArnsT>(value));
51 return *this;
52 }
53 template <typename StartArnsT = Aws::String>
54 QueryLineageRequest& AddStartArns(StartArnsT&& value) {
55 m_startArnsHasBeenSet = true;
56 m_startArns.emplace_back(std::forward<StartArnsT>(value));
57 return *this;
58 }
60
62
66 inline Direction GetDirection() const { return m_direction; }
67 inline bool DirectionHasBeenSet() const { return m_directionHasBeenSet; }
68 inline void SetDirection(Direction value) {
69 m_directionHasBeenSet = true;
70 m_direction = value;
71 }
73 SetDirection(value);
74 return *this;
75 }
77
79
86 inline bool GetIncludeEdges() const { return m_includeEdges; }
87 inline bool IncludeEdgesHasBeenSet() const { return m_includeEdgesHasBeenSet; }
88 inline void SetIncludeEdges(bool value) {
89 m_includeEdgesHasBeenSet = true;
90 m_includeEdges = value;
91 }
93 SetIncludeEdges(value);
94 return *this;
95 }
97
99
109 inline const QueryFilters& GetFilters() const { return m_filters; }
110 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
111 template <typename FiltersT = QueryFilters>
112 void SetFilters(FiltersT&& value) {
113 m_filtersHasBeenSet = true;
114 m_filters = std::forward<FiltersT>(value);
115 }
116 template <typename FiltersT = QueryFilters>
117 QueryLineageRequest& WithFilters(FiltersT&& value) {
118 SetFilters(std::forward<FiltersT>(value));
119 return *this;
120 }
122
124
130 inline int GetMaxDepth() const { return m_maxDepth; }
131 inline bool MaxDepthHasBeenSet() const { return m_maxDepthHasBeenSet; }
132 inline void SetMaxDepth(int value) {
133 m_maxDepthHasBeenSet = true;
134 m_maxDepth = value;
135 }
137 SetMaxDepth(value);
138 return *this;
139 }
141
143
147 inline int GetMaxResults() const { return m_maxResults; }
148 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
149 inline void SetMaxResults(int value) {
150 m_maxResultsHasBeenSet = true;
151 m_maxResults = value;
152 }
154 SetMaxResults(value);
155 return *this;
156 }
158
160
164 inline const Aws::String& GetNextToken() const { return m_nextToken; }
165 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
166 template <typename NextTokenT = Aws::String>
167 void SetNextToken(NextTokenT&& value) {
168 m_nextTokenHasBeenSet = true;
169 m_nextToken = std::forward<NextTokenT>(value);
170 }
171 template <typename NextTokenT = Aws::String>
172 QueryLineageRequest& WithNextToken(NextTokenT&& value) {
173 SetNextToken(std::forward<NextTokenT>(value));
174 return *this;
175 }
177 private:
178 Aws::Vector<Aws::String> m_startArns;
179
180 Direction m_direction{Direction::NOT_SET};
181
182 bool m_includeEdges{false};
183
184 QueryFilters m_filters;
185
186 int m_maxDepth{0};
187
188 int m_maxResults{0};
189
190 Aws::String m_nextToken;
191 bool m_startArnsHasBeenSet = false;
192 bool m_directionHasBeenSet = false;
193 bool m_includeEdgesHasBeenSet = false;
194 bool m_filtersHasBeenSet = false;
195 bool m_maxDepthHasBeenSet = false;
196 bool m_maxResultsHasBeenSet = false;
197 bool m_nextTokenHasBeenSet = false;
198};
199
200} // namespace Model
201} // namespace SageMaker
202} // namespace Aws
QueryLineageRequest & WithMaxResults(int value)
QueryLineageRequest & WithNextToken(NextTokenT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
QueryLineageRequest & WithFilters(FiltersT &&value)
QueryLineageRequest & WithDirection(Direction value)
AWS_SAGEMAKER_API QueryLineageRequest()=default
QueryLineageRequest & WithIncludeEdges(bool value)
const Aws::Vector< Aws::String > & GetStartArns() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
QueryLineageRequest & WithMaxDepth(int value)
QueryLineageRequest & WithStartArns(StartArnsT &&value)
QueryLineageRequest & AddStartArns(StartArnsT &&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