AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
QueryLineageResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/Vertex.h>
11#include <aws/sagemaker/model/Edge.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
31 {
32 public:
33 AWS_SAGEMAKER_API QueryLineageResult() = default;
36
37
39
43 inline const Aws::Vector<Vertex>& GetVertices() const { return m_vertices; }
44 template<typename VerticesT = Aws::Vector<Vertex>>
45 void SetVertices(VerticesT&& value) { m_verticesHasBeenSet = true; m_vertices = std::forward<VerticesT>(value); }
46 template<typename VerticesT = Aws::Vector<Vertex>>
47 QueryLineageResult& WithVertices(VerticesT&& value) { SetVertices(std::forward<VerticesT>(value)); return *this;}
48 template<typename VerticesT = Vertex>
49 QueryLineageResult& AddVertices(VerticesT&& value) { m_verticesHasBeenSet = true; m_vertices.emplace_back(std::forward<VerticesT>(value)); return *this; }
51
53
56 inline const Aws::Vector<Edge>& GetEdges() const { return m_edges; }
57 template<typename EdgesT = Aws::Vector<Edge>>
58 void SetEdges(EdgesT&& value) { m_edgesHasBeenSet = true; m_edges = std::forward<EdgesT>(value); }
59 template<typename EdgesT = Aws::Vector<Edge>>
60 QueryLineageResult& WithEdges(EdgesT&& value) { SetEdges(std::forward<EdgesT>(value)); return *this;}
61 template<typename EdgesT = Edge>
62 QueryLineageResult& AddEdges(EdgesT&& value) { m_edgesHasBeenSet = true; m_edges.emplace_back(std::forward<EdgesT>(value)); return *this; }
64
66
70 inline const Aws::String& GetNextToken() const { return m_nextToken; }
71 template<typename NextTokenT = Aws::String>
72 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
73 template<typename NextTokenT = Aws::String>
74 QueryLineageResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
76
78
79 inline const Aws::String& GetRequestId() const { return m_requestId; }
80 template<typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
82 template<typename RequestIdT = Aws::String>
83 QueryLineageResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
85 private:
86
87 Aws::Vector<Vertex> m_vertices;
88 bool m_verticesHasBeenSet = false;
89
90 Aws::Vector<Edge> m_edges;
91 bool m_edgesHasBeenSet = false;
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95
96 Aws::String m_requestId;
97 bool m_requestIdHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace SageMaker
102} // 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