/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

A lineage entity connected to the starting entity(ies).

See * Also:

AWS * API Reference

*/ class Vertex { public: AWS_SAGEMAKER_API Vertex(); AWS_SAGEMAKER_API Vertex(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Vertex& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) of the lineage entity resource.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the lineage entity resource.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the lineage entity resource.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) of the lineage entity resource.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the lineage entity resource.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the lineage entity resource.

*/ inline Vertex& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the lineage entity resource.

*/ inline Vertex& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the lineage entity resource.

*/ inline Vertex& WithArn(const char* value) { SetArn(value); return *this;} /** *

The type of the lineage entity resource. For example: DataSet, * Model, Endpoint, etc...

*/ inline const Aws::String& GetType() const{ return m_type; } /** *

The type of the lineage entity resource. For example: DataSet, * Model, Endpoint, etc...

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type of the lineage entity resource. For example: DataSet, * Model, Endpoint, etc...

*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type of the lineage entity resource. For example: DataSet, * Model, Endpoint, etc...

*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type of the lineage entity resource. For example: DataSet, * Model, Endpoint, etc...

*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *

The type of the lineage entity resource. For example: DataSet, * Model, Endpoint, etc...

*/ inline Vertex& WithType(const Aws::String& value) { SetType(value); return *this;} /** *

The type of the lineage entity resource. For example: DataSet, * Model, Endpoint, etc...

*/ inline Vertex& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *

The type of the lineage entity resource. For example: DataSet, * Model, Endpoint, etc...

*/ inline Vertex& WithType(const char* value) { SetType(value); return *this;} /** *

The type of resource of the lineage entity.

*/ inline const LineageType& GetLineageType() const{ return m_lineageType; } /** *

The type of resource of the lineage entity.

*/ inline bool LineageTypeHasBeenSet() const { return m_lineageTypeHasBeenSet; } /** *

The type of resource of the lineage entity.

*/ inline void SetLineageType(const LineageType& value) { m_lineageTypeHasBeenSet = true; m_lineageType = value; } /** *

The type of resource of the lineage entity.

*/ inline void SetLineageType(LineageType&& value) { m_lineageTypeHasBeenSet = true; m_lineageType = std::move(value); } /** *

The type of resource of the lineage entity.

*/ inline Vertex& WithLineageType(const LineageType& value) { SetLineageType(value); return *this;} /** *

The type of resource of the lineage entity.

*/ inline Vertex& WithLineageType(LineageType&& value) { SetLineageType(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; LineageType m_lineageType; bool m_lineageTypeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws