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

#pragma once
#include <aws/sagemaker/SageMaker_EXPORTS.h>
#include <aws/sagemaker/model/ConditionOutcome.h>

#include <utility>

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

/**
 * <p>Metadata for a Condition step.</p><p><h3>See Also:</h3>   <a
 * href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ConditionStepMetadata">AWS
 * API Reference</a></p>
 */
class ConditionStepMetadata {
 public:
  AWS_SAGEMAKER_API ConditionStepMetadata() = default;
  AWS_SAGEMAKER_API ConditionStepMetadata(Aws::Utils::Json::JsonView jsonValue);
  AWS_SAGEMAKER_API ConditionStepMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
  AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;

  ///@{
  /**
   * <p>The outcome of the Condition step evaluation.</p>
   */
  inline ConditionOutcome GetOutcome() const { return m_outcome; }
  inline bool OutcomeHasBeenSet() const { return m_outcomeHasBeenSet; }
  inline void SetOutcome(ConditionOutcome value) {
    m_outcomeHasBeenSet = true;
    m_outcome = value;
  }
  inline ConditionStepMetadata& WithOutcome(ConditionOutcome value) {
    SetOutcome(value);
    return *this;
  }
  ///@}
 private:
  ConditionOutcome m_outcome{ConditionOutcome::NOT_SET};
  bool m_outcomeHasBeenSet = false;
};

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