/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/sagemaker/SageMaker_EXPORTS.h>

#include <utility>

namespace Aws {
namespace Utils {
namespace Json {
class JsonValue;
class JsonView;
}  // namespace Json
}  // namespace Utils
namespace SageMaker {
namespace Model {

/**
 * <p>Details on the cache hit of a pipeline execution step.</p><p><h3>See
 * Also:</h3>   <a
 * href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CacheHitResult">AWS
 * API Reference</a></p>
 */
class CacheHitResult {
 public:
  AWS_SAGEMAKER_API CacheHitResult() = default;
  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;

  ///@{
  /**
   * <p>The Amazon Resource Name (ARN) of the pipeline execution.</p>
   */
  inline const Aws::String& GetSourcePipelineExecutionArn() const { return m_sourcePipelineExecutionArn; }
  inline bool SourcePipelineExecutionArnHasBeenSet() const { return m_sourcePipelineExecutionArnHasBeenSet; }
  template <typename SourcePipelineExecutionArnT = Aws::String>
  void SetSourcePipelineExecutionArn(SourcePipelineExecutionArnT&& value) {
    m_sourcePipelineExecutionArnHasBeenSet = true;
    m_sourcePipelineExecutionArn = std::forward<SourcePipelineExecutionArnT>(value);
  }
  template <typename SourcePipelineExecutionArnT = Aws::String>
  CacheHitResult& WithSourcePipelineExecutionArn(SourcePipelineExecutionArnT&& value) {
    SetSourcePipelineExecutionArn(std::forward<SourcePipelineExecutionArnT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_sourcePipelineExecutionArn;
  bool m_sourcePipelineExecutionArnHasBeenSet = false;
};

}  // namespace Model
}  // namespace SageMaker
}  // namespace Aws
