/**
 * 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/lexv2-models/LexModelsV2_EXPORTS.h>
#include <aws/lexv2-models/model/SubSlotValueElicitationSetting.h>

#include <utility>

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

/**
 * <p>Subslot specifications.</p><p><h3>See Also:</h3>   <a
 * href="http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/Specifications">AWS
 * API Reference</a></p>
 */
class Specifications {
 public:
  AWS_LEXMODELSV2_API Specifications() = default;
  AWS_LEXMODELSV2_API Specifications(Aws::Utils::Json::JsonView jsonValue);
  AWS_LEXMODELSV2_API Specifications& operator=(Aws::Utils::Json::JsonView jsonValue);
  AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;

  ///@{
  /**
   * <p>The unique identifier assigned to the slot type.</p>
   */
  inline const Aws::String& GetSlotTypeId() const { return m_slotTypeId; }
  inline bool SlotTypeIdHasBeenSet() const { return m_slotTypeIdHasBeenSet; }
  template <typename SlotTypeIdT = Aws::String>
  void SetSlotTypeId(SlotTypeIdT&& value) {
    m_slotTypeIdHasBeenSet = true;
    m_slotTypeId = std::forward<SlotTypeIdT>(value);
  }
  template <typename SlotTypeIdT = Aws::String>
  Specifications& WithSlotTypeId(SlotTypeIdT&& value) {
    SetSlotTypeId(std::forward<SlotTypeIdT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>Specifies the elicitation setting details for constituent sub slots of a
   * composite slot.</p>
   */
  inline const SubSlotValueElicitationSetting& GetValueElicitationSetting() const { return m_valueElicitationSetting; }
  inline bool ValueElicitationSettingHasBeenSet() const { return m_valueElicitationSettingHasBeenSet; }
  template <typename ValueElicitationSettingT = SubSlotValueElicitationSetting>
  void SetValueElicitationSetting(ValueElicitationSettingT&& value) {
    m_valueElicitationSettingHasBeenSet = true;
    m_valueElicitationSetting = std::forward<ValueElicitationSettingT>(value);
  }
  template <typename ValueElicitationSettingT = SubSlotValueElicitationSetting>
  Specifications& WithValueElicitationSetting(ValueElicitationSettingT&& value) {
    SetValueElicitationSetting(std::forward<ValueElicitationSettingT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_slotTypeId;

  SubSlotValueElicitationSetting m_valueElicitationSetting;
  bool m_slotTypeIdHasBeenSet = false;
  bool m_valueElicitationSettingHasBeenSet = false;
};

}  // namespace Model
}  // namespace LexModelsV2
}  // namespace Aws
