/** * 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 { /** *

The instance type and the Amazon Resource Name (ARN) of the SageMaker image * created on the instance. The ARN is stored as metadata in SageMaker Studio * notebooks.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the SageMaker image created on the * instance.

*/ inline const Aws::String& GetSageMakerImageArn() const{ return m_sageMakerImageArn; } /** *

The Amazon Resource Name (ARN) of the SageMaker image created on the * instance.

*/ inline bool SageMakerImageArnHasBeenSet() const { return m_sageMakerImageArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the SageMaker image created on the * instance.

*/ inline void SetSageMakerImageArn(const Aws::String& value) { m_sageMakerImageArnHasBeenSet = true; m_sageMakerImageArn = value; } /** *

The Amazon Resource Name (ARN) of the SageMaker image created on the * instance.

*/ inline void SetSageMakerImageArn(Aws::String&& value) { m_sageMakerImageArnHasBeenSet = true; m_sageMakerImageArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the SageMaker image created on the * instance.

*/ inline void SetSageMakerImageArn(const char* value) { m_sageMakerImageArnHasBeenSet = true; m_sageMakerImageArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the SageMaker image created on the * instance.

*/ inline ResourceSpec& WithSageMakerImageArn(const Aws::String& value) { SetSageMakerImageArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the SageMaker image created on the * instance.

*/ inline ResourceSpec& WithSageMakerImageArn(Aws::String&& value) { SetSageMakerImageArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the SageMaker image created on the * instance.

*/ inline ResourceSpec& WithSageMakerImageArn(const char* value) { SetSageMakerImageArn(value); return *this;} /** *

The instance type.

*/ inline const AppInstanceType& GetInstanceType() const{ return m_instanceType; } /** *

The instance type.

*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *

The instance type.

*/ inline void SetInstanceType(const AppInstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *

The instance type.

*/ inline void SetInstanceType(AppInstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *

The instance type.

*/ inline ResourceSpec& WithInstanceType(const AppInstanceType& value) { SetInstanceType(value); return *this;} /** *

The instance type.

*/ inline ResourceSpec& WithInstanceType(AppInstanceType&& value) { SetInstanceType(std::move(value)); return *this;} private: Aws::String m_sageMakerImageArn; bool m_sageMakerImageArnHasBeenSet; AppInstanceType m_instanceType; bool m_instanceTypeHasBeenSet; }; } // namespace Model } // namespace SageMaker } // namespace Aws