/**
 * 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/datazone/DataZone_EXPORTS.h>

#include <utility>

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

/**
 * <p>Specifies the prediction (aka, the automatically generated piece of metadata)
 * and the target (for example, a column name) that can be accepted.</p><p><h3>See
 * Also:</h3>   <a
 * href="http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/AcceptChoice">AWS
 * API Reference</a></p>
 */
class AcceptChoice {
 public:
  AWS_DATAZONE_API AcceptChoice() = default;
  AWS_DATAZONE_API AcceptChoice(Aws::Utils::Json::JsonView jsonValue);
  AWS_DATAZONE_API AcceptChoice& operator=(Aws::Utils::Json::JsonView jsonValue);
  AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;

  ///@{
  /**
   * <p>The edit of the prediction.</p>
   */
  inline const Aws::String& GetEditedValue() const { return m_editedValue; }
  inline bool EditedValueHasBeenSet() const { return m_editedValueHasBeenSet; }
  template <typename EditedValueT = Aws::String>
  void SetEditedValue(EditedValueT&& value) {
    m_editedValueHasBeenSet = true;
    m_editedValue = std::forward<EditedValueT>(value);
  }
  template <typename EditedValueT = Aws::String>
  AcceptChoice& WithEditedValue(EditedValueT&& value) {
    SetEditedValue(std::forward<EditedValueT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>Specifies the prediction (aka, the automatically generated piece of metadata)
   * that can be accepted.</p>
   */
  inline int GetPredictionChoice() const { return m_predictionChoice; }
  inline bool PredictionChoiceHasBeenSet() const { return m_predictionChoiceHasBeenSet; }
  inline void SetPredictionChoice(int value) {
    m_predictionChoiceHasBeenSet = true;
    m_predictionChoice = value;
  }
  inline AcceptChoice& WithPredictionChoice(int value) {
    SetPredictionChoice(value);
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>Specifies the target (for example, a column name) where a prediction can be
   * accepted.</p>
   */
  inline const Aws::String& GetPredictionTarget() const { return m_predictionTarget; }
  inline bool PredictionTargetHasBeenSet() const { return m_predictionTargetHasBeenSet; }
  template <typename PredictionTargetT = Aws::String>
  void SetPredictionTarget(PredictionTargetT&& value) {
    m_predictionTargetHasBeenSet = true;
    m_predictionTarget = std::forward<PredictionTargetT>(value);
  }
  template <typename PredictionTargetT = Aws::String>
  AcceptChoice& WithPredictionTarget(PredictionTargetT&& value) {
    SetPredictionTarget(std::forward<PredictionTargetT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_editedValue;
  bool m_editedValueHasBeenSet = false;

  int m_predictionChoice{0};
  bool m_predictionChoiceHasBeenSet = false;

  Aws::String m_predictionTarget;
  bool m_predictionTargetHasBeenSet = false;
};

}  // namespace Model
}  // namespace DataZone
}  // namespace Aws
