AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
QueryLineageResult.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/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/Edge.h>
11#include <aws/sagemaker/model/Vertex.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker {
25namespace Model {
27 public:
28 AWS_SAGEMAKER_API QueryLineageResult() = default;
31
33
37 inline const Aws::Vector<Vertex>& GetVertices() const { return m_vertices; }
38 template <typename VerticesT = Aws::Vector<Vertex>>
39 void SetVertices(VerticesT&& value) {
40 m_verticesHasBeenSet = true;
41 m_vertices = std::forward<VerticesT>(value);
42 }
43 template <typename VerticesT = Aws::Vector<Vertex>>
44 QueryLineageResult& WithVertices(VerticesT&& value) {
45 SetVertices(std::forward<VerticesT>(value));
46 return *this;
47 }
48 template <typename VerticesT = Vertex>
49 QueryLineageResult& AddVertices(VerticesT&& value) {
50 m_verticesHasBeenSet = true;
51 m_vertices.emplace_back(std::forward<VerticesT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<Edge>& GetEdges() const { return m_edges; }
61 template <typename EdgesT = Aws::Vector<Edge>>
62 void SetEdges(EdgesT&& value) {
63 m_edgesHasBeenSet = true;
64 m_edges = std::forward<EdgesT>(value);
65 }
66 template <typename EdgesT = Aws::Vector<Edge>>
67 QueryLineageResult& WithEdges(EdgesT&& value) {
68 SetEdges(std::forward<EdgesT>(value));
69 return *this;
70 }
71 template <typename EdgesT = Edge>
72 QueryLineageResult& AddEdges(EdgesT&& value) {
73 m_edgesHasBeenSet = true;
74 m_edges.emplace_back(std::forward<EdgesT>(value));
75 return *this;
76 }
78
80
84 inline const Aws::String& GetNextToken() const { return m_nextToken; }
85 template <typename NextTokenT = Aws::String>
86 void SetNextToken(NextTokenT&& value) {
87 m_nextTokenHasBeenSet = true;
88 m_nextToken = std::forward<NextTokenT>(value);
89 }
90 template <typename NextTokenT = Aws::String>
91 QueryLineageResult& WithNextToken(NextTokenT&& value) {
92 SetNextToken(std::forward<NextTokenT>(value));
93 return *this;
94 }
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template <typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) {
102 m_requestIdHasBeenSet = true;
103 m_requestId = std::forward<RequestIdT>(value);
104 }
105 template <typename RequestIdT = Aws::String>
106 QueryLineageResult& WithRequestId(RequestIdT&& value) {
107 SetRequestId(std::forward<RequestIdT>(value));
108 return *this;
109 }
111 private:
112 Aws::Vector<Vertex> m_vertices;
113
114 Aws::Vector<Edge> m_edges;
115
116 Aws::String m_nextToken;
117
118 Aws::String m_requestId;
119 bool m_verticesHasBeenSet = false;
120 bool m_edgesHasBeenSet = false;
121 bool m_nextTokenHasBeenSet = false;
122 bool m_requestIdHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace SageMaker
127} // namespace Aws
AWS_SAGEMAKER_API QueryLineageResult()=default
QueryLineageResult & WithNextToken(NextTokenT &&value)
AWS_SAGEMAKER_API QueryLineageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
QueryLineageResult & WithEdges(EdgesT &&value)
QueryLineageResult & WithRequestId(RequestIdT &&value)
QueryLineageResult & WithVertices(VerticesT &&value)
QueryLineageResult & AddEdges(EdgesT &&value)
QueryLineageResult & AddVertices(VerticesT &&value)
const Aws::Vector< Edge > & GetEdges() const
AWS_SAGEMAKER_API QueryLineageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Vertex > & GetVertices() 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