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

Details on the cache hit of a pipeline execution step.

See * Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the pipeline execution.

*/ inline const Aws::String& GetSourcePipelineExecutionArn() const{ return m_sourcePipelineExecutionArn; } /** *

The Amazon Resource Name (ARN) of the pipeline execution.

*/ inline bool SourcePipelineExecutionArnHasBeenSet() const { return m_sourcePipelineExecutionArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the pipeline execution.

*/ inline void SetSourcePipelineExecutionArn(const Aws::String& value) { m_sourcePipelineExecutionArnHasBeenSet = true; m_sourcePipelineExecutionArn = value; } /** *

The Amazon Resource Name (ARN) of the pipeline execution.

*/ inline void SetSourcePipelineExecutionArn(Aws::String&& value) { m_sourcePipelineExecutionArnHasBeenSet = true; m_sourcePipelineExecutionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the pipeline execution.

*/ inline void SetSourcePipelineExecutionArn(const char* value) { m_sourcePipelineExecutionArnHasBeenSet = true; m_sourcePipelineExecutionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the pipeline execution.

*/ inline CacheHitResult& WithSourcePipelineExecutionArn(const Aws::String& value) { SetSourcePipelineExecutionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the pipeline execution.

*/ inline CacheHitResult& WithSourcePipelineExecutionArn(Aws::String&& value) { SetSourcePipelineExecutionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the pipeline execution.

*/ inline CacheHitResult& WithSourcePipelineExecutionArn(const char* value) { SetSourcePipelineExecutionArn(value); return *this;} private: Aws::String m_sourcePipelineExecutionArn; bool m_sourcePipelineExecutionArnHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws