AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueryLineageRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/Direction.h>
11#include <aws/sagemaker/model/QueryFilters.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API QueryLineageRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "QueryLineage"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const Aws::Vector<Aws::String>& GetStartArns() const{ return m_startArns; }
46 inline bool StartArnsHasBeenSet() const { return m_startArnsHasBeenSet; }
47 inline void SetStartArns(const Aws::Vector<Aws::String>& value) { m_startArnsHasBeenSet = true; m_startArns = value; }
48 inline void SetStartArns(Aws::Vector<Aws::String>&& value) { m_startArnsHasBeenSet = true; m_startArns = std::move(value); }
49 inline QueryLineageRequest& WithStartArns(const Aws::Vector<Aws::String>& value) { SetStartArns(value); return *this;}
50 inline QueryLineageRequest& WithStartArns(Aws::Vector<Aws::String>&& value) { SetStartArns(std::move(value)); return *this;}
51 inline QueryLineageRequest& AddStartArns(const Aws::String& value) { m_startArnsHasBeenSet = true; m_startArns.push_back(value); return *this; }
52 inline QueryLineageRequest& AddStartArns(Aws::String&& value) { m_startArnsHasBeenSet = true; m_startArns.push_back(std::move(value)); return *this; }
53 inline QueryLineageRequest& AddStartArns(const char* value) { m_startArnsHasBeenSet = true; m_startArns.push_back(value); return *this; }
55
57
61 inline const Direction& GetDirection() const{ return m_direction; }
62 inline bool DirectionHasBeenSet() const { return m_directionHasBeenSet; }
63 inline void SetDirection(const Direction& value) { m_directionHasBeenSet = true; m_direction = value; }
64 inline void SetDirection(Direction&& value) { m_directionHasBeenSet = true; m_direction = std::move(value); }
65 inline QueryLineageRequest& WithDirection(const Direction& value) { SetDirection(value); return *this;}
66 inline QueryLineageRequest& WithDirection(Direction&& value) { SetDirection(std::move(value)); return *this;}
68
70
77 inline bool GetIncludeEdges() const{ return m_includeEdges; }
78 inline bool IncludeEdgesHasBeenSet() const { return m_includeEdgesHasBeenSet; }
79 inline void SetIncludeEdges(bool value) { m_includeEdgesHasBeenSet = true; m_includeEdges = value; }
80 inline QueryLineageRequest& WithIncludeEdges(bool value) { SetIncludeEdges(value); return *this;}
82
84
94 inline const QueryFilters& GetFilters() const{ return m_filters; }
95 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
96 inline void SetFilters(const QueryFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
97 inline void SetFilters(QueryFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
98 inline QueryLineageRequest& WithFilters(const QueryFilters& value) { SetFilters(value); return *this;}
99 inline QueryLineageRequest& WithFilters(QueryFilters&& value) { SetFilters(std::move(value)); return *this;}
101
103
109 inline int GetMaxDepth() const{ return m_maxDepth; }
110 inline bool MaxDepthHasBeenSet() const { return m_maxDepthHasBeenSet; }
111 inline void SetMaxDepth(int value) { m_maxDepthHasBeenSet = true; m_maxDepth = value; }
112 inline QueryLineageRequest& WithMaxDepth(int value) { SetMaxDepth(value); return *this;}
114
116
120 inline int GetMaxResults() const{ return m_maxResults; }
121 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
122 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
123 inline QueryLineageRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
125
127
131 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
132 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
133 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
134 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
135 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
136 inline QueryLineageRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
137 inline QueryLineageRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
138 inline QueryLineageRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
140 private:
141
142 Aws::Vector<Aws::String> m_startArns;
143 bool m_startArnsHasBeenSet = false;
144
145 Direction m_direction;
146 bool m_directionHasBeenSet = false;
147
148 bool m_includeEdges;
149 bool m_includeEdgesHasBeenSet = false;
150
151 QueryFilters m_filters;
152 bool m_filtersHasBeenSet = false;
153
154 int m_maxDepth;
155 bool m_maxDepthHasBeenSet = false;
156
157 int m_maxResults;
158 bool m_maxResultsHasBeenSet = false;
159
160 Aws::String m_nextToken;
161 bool m_nextTokenHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace SageMaker
166} // namespace Aws
QueryLineageRequest & WithMaxResults(int value)
void SetFilters(const QueryFilters &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
QueryLineageRequest & WithStartArns(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
QueryLineageRequest & WithStartArns(Aws::Vector< Aws::String > &&value)
QueryLineageRequest & WithFilters(const QueryFilters &value)
QueryLineageRequest & AddStartArns(const char *value)
QueryLineageRequest & WithNextToken(Aws::String &&value)
QueryLineageRequest & WithFilters(QueryFilters &&value)
void SetStartArns(const Aws::Vector< Aws::String > &value)
void SetNextToken(const Aws::String &value)
QueryLineageRequest & WithIncludeEdges(bool value)
QueryLineageRequest & WithNextToken(const Aws::String &value)
const Aws::Vector< Aws::String > & GetStartArns() const
QueryLineageRequest & WithNextToken(const char *value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
QueryLineageRequest & WithMaxDepth(int value)
QueryLineageRequest & WithDirection(const Direction &value)
QueryLineageRequest & AddStartArns(const Aws::String &value)
QueryLineageRequest & AddStartArns(Aws::String &&value)
void SetStartArns(Aws::Vector< Aws::String > &&value)
QueryLineageRequest & WithDirection(Direction &&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