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

#pragma once
#include <aws/core/http/HttpResponse.h>
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
#include <aws/lexv2-models/model/MultipleValuesSetting.h>
#include <aws/lexv2-models/model/ObfuscationSetting.h>
#include <aws/lexv2-models/model/SlotValueElicitationSetting.h>
#include <aws/lexv2-models/model/SubSlotSetting.h>

#include <utility>

namespace Aws {
template <typename RESULT_TYPE>
class AmazonWebServiceResult;

namespace Utils {
namespace Json {
class JsonValue;
}  // namespace Json
}  // namespace Utils
namespace LexModelsV2 {
namespace Model {
class UpdateSlotResult {
 public:
  AWS_LEXMODELSV2_API UpdateSlotResult() = default;
  AWS_LEXMODELSV2_API UpdateSlotResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
  AWS_LEXMODELSV2_API UpdateSlotResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);

  ///@{
  /**
   * <p>The unique identifier of the slot that was updated.</p>
   */
  inline const Aws::String& GetSlotId() const { return m_slotId; }
  template <typename SlotIdT = Aws::String>
  void SetSlotId(SlotIdT&& value) {
    m_slotIdHasBeenSet = true;
    m_slotId = std::forward<SlotIdT>(value);
  }
  template <typename SlotIdT = Aws::String>
  UpdateSlotResult& WithSlotId(SlotIdT&& value) {
    SetSlotId(std::forward<SlotIdT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The updated name of the slot.</p>
   */
  inline const Aws::String& GetSlotName() const { return m_slotName; }
  template <typename SlotNameT = Aws::String>
  void SetSlotName(SlotNameT&& value) {
    m_slotNameHasBeenSet = true;
    m_slotName = std::forward<SlotNameT>(value);
  }
  template <typename SlotNameT = Aws::String>
  UpdateSlotResult& WithSlotName(SlotNameT&& value) {
    SetSlotName(std::forward<SlotNameT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The updated description of the bot.</p>
   */
  inline const Aws::String& GetDescription() const { return m_description; }
  template <typename DescriptionT = Aws::String>
  void SetDescription(DescriptionT&& value) {
    m_descriptionHasBeenSet = true;
    m_description = std::forward<DescriptionT>(value);
  }
  template <typename DescriptionT = Aws::String>
  UpdateSlotResult& WithDescription(DescriptionT&& value) {
    SetDescription(std::forward<DescriptionT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The updated identifier of the slot type that provides values for the
   * slot.</p>
   */
  inline const Aws::String& GetSlotTypeId() const { return m_slotTypeId; }
  template <typename SlotTypeIdT = Aws::String>
  void SetSlotTypeId(SlotTypeIdT&& value) {
    m_slotTypeIdHasBeenSet = true;
    m_slotTypeId = std::forward<SlotTypeIdT>(value);
  }
  template <typename SlotTypeIdT = Aws::String>
  UpdateSlotResult& WithSlotTypeId(SlotTypeIdT&& value) {
    SetSlotTypeId(std::forward<SlotTypeIdT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The updated prompts that Amazon Lex sends to the user to elicit a response
   * that provides a value for the slot.</p>
   */
  inline const SlotValueElicitationSetting& GetValueElicitationSetting() const { return m_valueElicitationSetting; }
  template <typename ValueElicitationSettingT = SlotValueElicitationSetting>
  void SetValueElicitationSetting(ValueElicitationSettingT&& value) {
    m_valueElicitationSettingHasBeenSet = true;
    m_valueElicitationSetting = std::forward<ValueElicitationSettingT>(value);
  }
  template <typename ValueElicitationSettingT = SlotValueElicitationSetting>
  UpdateSlotResult& WithValueElicitationSetting(ValueElicitationSettingT&& value) {
    SetValueElicitationSetting(std::forward<ValueElicitationSettingT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The updated setting that determines whether the slot value is obfuscated in
   * the Amazon CloudWatch logs.</p>
   */
  inline const ObfuscationSetting& GetObfuscationSetting() const { return m_obfuscationSetting; }
  template <typename ObfuscationSettingT = ObfuscationSetting>
  void SetObfuscationSetting(ObfuscationSettingT&& value) {
    m_obfuscationSettingHasBeenSet = true;
    m_obfuscationSetting = std::forward<ObfuscationSettingT>(value);
  }
  template <typename ObfuscationSettingT = ObfuscationSetting>
  UpdateSlotResult& WithObfuscationSetting(ObfuscationSettingT&& value) {
    SetObfuscationSetting(std::forward<ObfuscationSettingT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The identifier of the bot that contains the slot.</p>
   */
  inline const Aws::String& GetBotId() const { return m_botId; }
  template <typename BotIdT = Aws::String>
  void SetBotId(BotIdT&& value) {
    m_botIdHasBeenSet = true;
    m_botId = std::forward<BotIdT>(value);
  }
  template <typename BotIdT = Aws::String>
  UpdateSlotResult& WithBotId(BotIdT&& value) {
    SetBotId(std::forward<BotIdT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The version of the bot that contains the slot. Will always be
   * <code>DRAFT</code>.</p>
   */
  inline const Aws::String& GetBotVersion() const { return m_botVersion; }
  template <typename BotVersionT = Aws::String>
  void SetBotVersion(BotVersionT&& value) {
    m_botVersionHasBeenSet = true;
    m_botVersion = std::forward<BotVersionT>(value);
  }
  template <typename BotVersionT = Aws::String>
  UpdateSlotResult& WithBotVersion(BotVersionT&& value) {
    SetBotVersion(std::forward<BotVersionT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The locale that contains the slot.</p>
   */
  inline const Aws::String& GetLocaleId() const { return m_localeId; }
  template <typename LocaleIdT = Aws::String>
  void SetLocaleId(LocaleIdT&& value) {
    m_localeIdHasBeenSet = true;
    m_localeId = std::forward<LocaleIdT>(value);
  }
  template <typename LocaleIdT = Aws::String>
  UpdateSlotResult& WithLocaleId(LocaleIdT&& value) {
    SetLocaleId(std::forward<LocaleIdT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The intent that contains the slot.</p>
   */
  inline const Aws::String& GetIntentId() const { return m_intentId; }
  template <typename IntentIdT = Aws::String>
  void SetIntentId(IntentIdT&& value) {
    m_intentIdHasBeenSet = true;
    m_intentId = std::forward<IntentIdT>(value);
  }
  template <typename IntentIdT = Aws::String>
  UpdateSlotResult& WithIntentId(IntentIdT&& value) {
    SetIntentId(std::forward<IntentIdT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The timestamp of the date and time that the slot was created.</p>
   */
  inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
  template <typename CreationDateTimeT = Aws::Utils::DateTime>
  void SetCreationDateTime(CreationDateTimeT&& value) {
    m_creationDateTimeHasBeenSet = true;
    m_creationDateTime = std::forward<CreationDateTimeT>(value);
  }
  template <typename CreationDateTimeT = Aws::Utils::DateTime>
  UpdateSlotResult& WithCreationDateTime(CreationDateTimeT&& value) {
    SetCreationDateTime(std::forward<CreationDateTimeT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The timestamp of the date and time that the slot was last updated.</p>
   */
  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
  template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
  void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
    m_lastUpdatedDateTimeHasBeenSet = true;
    m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
  }
  template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
  UpdateSlotResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
    SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>Indicates whether the slot accepts multiple values in one response.</p>
   */
  inline const MultipleValuesSetting& GetMultipleValuesSetting() const { return m_multipleValuesSetting; }
  template <typename MultipleValuesSettingT = MultipleValuesSetting>
  void SetMultipleValuesSetting(MultipleValuesSettingT&& value) {
    m_multipleValuesSettingHasBeenSet = true;
    m_multipleValuesSetting = std::forward<MultipleValuesSettingT>(value);
  }
  template <typename MultipleValuesSettingT = MultipleValuesSetting>
  UpdateSlotResult& WithMultipleValuesSetting(MultipleValuesSettingT&& value) {
    SetMultipleValuesSetting(std::forward<MultipleValuesSettingT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>Specifications for the constituent sub slots and the expression for the
   * composite slot.</p>
   */
  inline const SubSlotSetting& GetSubSlotSetting() const { return m_subSlotSetting; }
  template <typename SubSlotSettingT = SubSlotSetting>
  void SetSubSlotSetting(SubSlotSettingT&& value) {
    m_subSlotSettingHasBeenSet = true;
    m_subSlotSetting = std::forward<SubSlotSettingT>(value);
  }
  template <typename SubSlotSettingT = SubSlotSetting>
  UpdateSlotResult& WithSubSlotSetting(SubSlotSettingT&& value) {
    SetSubSlotSetting(std::forward<SubSlotSettingT>(value));
    return *this;
  }
  ///@}

  ///@{

  inline const Aws::String& GetRequestId() const { return m_requestId; }
  template <typename RequestIdT = Aws::String>
  void SetRequestId(RequestIdT&& value) {
    m_requestIdHasBeenSet = true;
    m_requestId = std::forward<RequestIdT>(value);
  }
  template <typename RequestIdT = Aws::String>
  UpdateSlotResult& WithRequestId(RequestIdT&& value) {
    SetRequestId(std::forward<RequestIdT>(value));
    return *this;
  }
  ///@}
  inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }

 private:
  Aws::String m_slotId;

  Aws::String m_slotName;

  Aws::String m_description;

  Aws::String m_slotTypeId;

  SlotValueElicitationSetting m_valueElicitationSetting;

  ObfuscationSetting m_obfuscationSetting;

  Aws::String m_botId;

  Aws::String m_botVersion;

  Aws::String m_localeId;

  Aws::String m_intentId;

  Aws::Utils::DateTime m_creationDateTime{};

  Aws::Utils::DateTime m_lastUpdatedDateTime{};

  MultipleValuesSetting m_multipleValuesSetting;

  SubSlotSetting m_subSlotSetting;

  Aws::String m_requestId;
  Aws::Http::HttpResponseCode m_HttpResponseCode;
  bool m_slotIdHasBeenSet = false;
  bool m_slotNameHasBeenSet = false;
  bool m_descriptionHasBeenSet = false;
  bool m_slotTypeIdHasBeenSet = false;
  bool m_valueElicitationSettingHasBeenSet = false;
  bool m_obfuscationSettingHasBeenSet = false;
  bool m_botIdHasBeenSet = false;
  bool m_botVersionHasBeenSet = false;
  bool m_localeIdHasBeenSet = false;
  bool m_intentIdHasBeenSet = false;
  bool m_creationDateTimeHasBeenSet = false;
  bool m_lastUpdatedDateTimeHasBeenSet = false;
  bool m_multipleValuesSettingHasBeenSet = false;
  bool m_subSlotSettingHasBeenSet = false;
  bool m_requestIdHasBeenSet = false;
};

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