AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Vertex.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/LineageType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
33 class Vertex
34 {
35 public:
36 AWS_SAGEMAKER_API Vertex() = default;
37 AWS_SAGEMAKER_API Vertex(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Vertex& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 Vertex& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
59 inline const Aws::String& GetType() const { return m_type; }
60 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
61 template<typename TypeT = Aws::String>
62 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
63 template<typename TypeT = Aws::String>
64 Vertex& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
66
68
71 inline LineageType GetLineageType() const { return m_lineageType; }
72 inline bool LineageTypeHasBeenSet() const { return m_lineageTypeHasBeenSet; }
73 inline void SetLineageType(LineageType value) { m_lineageTypeHasBeenSet = true; m_lineageType = value; }
74 inline Vertex& WithLineageType(LineageType value) { SetLineageType(value); return *this;}
76 private:
77
78 Aws::String m_arn;
79 bool m_arnHasBeenSet = false;
80
81 Aws::String m_type;
82 bool m_typeHasBeenSet = false;
83
84 LineageType m_lineageType{LineageType::NOT_SET};
85 bool m_lineageTypeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SageMaker
90} // namespace Aws
bool LineageTypeHasBeenSet() const
Definition Vertex.h:72
LineageType GetLineageType() const
Definition Vertex.h:71
AWS_SAGEMAKER_API Vertex & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetType() const
Definition Vertex.h:59
const Aws::String & GetArn() const
Definition Vertex.h:46
bool TypeHasBeenSet() const
Definition Vertex.h:60
void SetArn(ArnT &&value)
Definition Vertex.h:49
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Vertex & WithArn(ArnT &&value)
Definition Vertex.h:51
void SetType(TypeT &&value)
Definition Vertex.h:62
AWS_SAGEMAKER_API Vertex()=default
void SetLineageType(LineageType value)
Definition Vertex.h:73
bool ArnHasBeenSet() const
Definition Vertex.h:47
AWS_SAGEMAKER_API Vertex(Aws::Utils::Json::JsonView jsonValue)
Vertex & WithLineageType(LineageType value)
Definition Vertex.h:74
Vertex & WithType(TypeT &&value)
Definition Vertex.h:64
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue