AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
Vertex.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/LineageType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
29class Vertex {
30 public:
31 AWS_SAGEMAKER_API Vertex() = default;
32 AWS_SAGEMAKER_API Vertex(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Vertex& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
48 Vertex& WithArn(ArnT&& value) {
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
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) {
63 m_typeHasBeenSet = true;
64 m_type = std::forward<TypeT>(value);
65 }
66 template <typename TypeT = Aws::String>
67 Vertex& WithType(TypeT&& value) {
68 SetType(std::forward<TypeT>(value));
69 return *this;
70 }
72
74
77 inline LineageType GetLineageType() const { return m_lineageType; }
78 inline bool LineageTypeHasBeenSet() const { return m_lineageTypeHasBeenSet; }
79 inline void SetLineageType(LineageType value) {
80 m_lineageTypeHasBeenSet = true;
81 m_lineageType = value;
82 }
84 SetLineageType(value);
85 return *this;
86 }
88 private:
89 Aws::String m_arn;
90
91 Aws::String m_type;
92
93 LineageType m_lineageType{LineageType::NOT_SET};
94 bool m_arnHasBeenSet = false;
95 bool m_typeHasBeenSet = false;
96 bool m_lineageTypeHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SageMaker
101} // namespace Aws
bool LineageTypeHasBeenSet() const
Definition Vertex.h:78
LineageType GetLineageType() const
Definition Vertex.h:77
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:40
bool TypeHasBeenSet() const
Definition Vertex.h:60
void SetArn(ArnT &&value)
Definition Vertex.h:43
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Vertex & WithArn(ArnT &&value)
Definition Vertex.h:48
void SetType(TypeT &&value)
Definition Vertex.h:62
AWS_SAGEMAKER_API Vertex()=default
void SetLineageType(LineageType value)
Definition Vertex.h:79
bool ArnHasBeenSet() const
Definition Vertex.h:41
AWS_SAGEMAKER_API Vertex(Aws::Utils::Json::JsonView jsonValue)
Vertex & WithLineageType(LineageType value)
Definition Vertex.h:83
Vertex & WithType(TypeT &&value)
Definition Vertex.h:67
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue