/** * 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 list of algorithms that were used to create a model package.

See * Also:

AWS * API Reference

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

A list of the algorithms that were used to create a model package.

*/ inline const Aws::Vector& GetSourceAlgorithms() const{ return m_sourceAlgorithms; } /** *

A list of the algorithms that were used to create a model package.

*/ inline bool SourceAlgorithmsHasBeenSet() const { return m_sourceAlgorithmsHasBeenSet; } /** *

A list of the algorithms that were used to create a model package.

*/ inline void SetSourceAlgorithms(const Aws::Vector& value) { m_sourceAlgorithmsHasBeenSet = true; m_sourceAlgorithms = value; } /** *

A list of the algorithms that were used to create a model package.

*/ inline void SetSourceAlgorithms(Aws::Vector&& value) { m_sourceAlgorithmsHasBeenSet = true; m_sourceAlgorithms = std::move(value); } /** *

A list of the algorithms that were used to create a model package.

*/ inline SourceAlgorithmSpecification& WithSourceAlgorithms(const Aws::Vector& value) { SetSourceAlgorithms(value); return *this;} /** *

A list of the algorithms that were used to create a model package.

*/ inline SourceAlgorithmSpecification& WithSourceAlgorithms(Aws::Vector&& value) { SetSourceAlgorithms(std::move(value)); return *this;} /** *

A list of the algorithms that were used to create a model package.

*/ inline SourceAlgorithmSpecification& AddSourceAlgorithms(const SourceAlgorithm& value) { m_sourceAlgorithmsHasBeenSet = true; m_sourceAlgorithms.push_back(value); return *this; } /** *

A list of the algorithms that were used to create a model package.

*/ inline SourceAlgorithmSpecification& AddSourceAlgorithms(SourceAlgorithm&& value) { m_sourceAlgorithmsHasBeenSet = true; m_sourceAlgorithms.push_back(std::move(value)); return *this; } private: Aws::Vector m_sourceAlgorithms; bool m_sourceAlgorithmsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws