AWS SDK for C++

AWS SDK for C++ Version 1.11.780

Loading...
Searching...
No Matches
QueryLineageResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/Edge.h>
12#include <aws/sagemaker/model/Vertex.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker {
26namespace Model {
28 public:
29 AWS_SAGEMAKER_API QueryLineageResult() = default;
32
34
38 inline const Aws::Vector<Vertex>& GetVertices() const { return m_vertices; }
39 template <typename VerticesT = Aws::Vector<Vertex>>
40 void SetVertices(VerticesT&& value) {
41 m_verticesHasBeenSet = true;
42 m_vertices = std::forward<VerticesT>(value);
43 }
44 template <typename VerticesT = Aws::Vector<Vertex>>
45 QueryLineageResult& WithVertices(VerticesT&& value) {
46 SetVertices(std::forward<VerticesT>(value));
47 return *this;
48 }
49 template <typename VerticesT = Vertex>
50 QueryLineageResult& AddVertices(VerticesT&& value) {
51 m_verticesHasBeenSet = true;
52 m_vertices.emplace_back(std::forward<VerticesT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::Vector<Edge>& GetEdges() const { return m_edges; }
62 template <typename EdgesT = Aws::Vector<Edge>>
63 void SetEdges(EdgesT&& value) {
64 m_edgesHasBeenSet = true;
65 m_edges = std::forward<EdgesT>(value);
66 }
67 template <typename EdgesT = Aws::Vector<Edge>>
68 QueryLineageResult& WithEdges(EdgesT&& value) {
69 SetEdges(std::forward<EdgesT>(value));
70 return *this;
71 }
72 template <typename EdgesT = Edge>
73 QueryLineageResult& AddEdges(EdgesT&& value) {
74 m_edgesHasBeenSet = true;
75 m_edges.emplace_back(std::forward<EdgesT>(value));
76 return *this;
77 }
79
81
85 inline const Aws::String& GetNextToken() const { return m_nextToken; }
86 template <typename NextTokenT = Aws::String>
87 void SetNextToken(NextTokenT&& value) {
88 m_nextTokenHasBeenSet = true;
89 m_nextToken = std::forward<NextTokenT>(value);
90 }
91 template <typename NextTokenT = Aws::String>
92 QueryLineageResult& WithNextToken(NextTokenT&& value) {
93 SetNextToken(std::forward<NextTokenT>(value));
94 return *this;
95 }
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template <typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) {
103 m_requestIdHasBeenSet = true;
104 m_requestId = std::forward<RequestIdT>(value);
105 }
106 template <typename RequestIdT = Aws::String>
107 QueryLineageResult& WithRequestId(RequestIdT&& value) {
108 SetRequestId(std::forward<RequestIdT>(value));
109 return *this;
110 }
112 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
113
114 private:
115 Aws::Vector<Vertex> m_vertices;
116
117 Aws::Vector<Edge> m_edges;
118
119 Aws::String m_nextToken;
120
121 Aws::String m_requestId;
122 Aws::Http::HttpResponseCode m_HttpResponseCode;
123 bool m_verticesHasBeenSet = false;
124 bool m_edgesHasBeenSet = false;
125 bool m_nextTokenHasBeenSet = false;
126 bool m_requestIdHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace SageMaker
131} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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