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

#pragma once
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/transcribe/TranscribeService_EXPORTS.h>
#include <aws/transcribe/model/LanguageCode.h>
#include <aws/transcribe/model/VocabularyState.h>

#include <utility>

namespace Aws {
template <typename RESULT_TYPE>
class AmazonWebServiceResult;

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

  ///@{
  /**
   * <p>The name of the updated custom medical vocabulary.</p>
   */
  inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
  template <typename VocabularyNameT = Aws::String>
  void SetVocabularyName(VocabularyNameT&& value) {
    m_vocabularyNameHasBeenSet = true;
    m_vocabularyName = std::forward<VocabularyNameT>(value);
  }
  template <typename VocabularyNameT = Aws::String>
  UpdateMedicalVocabularyResult& WithVocabularyName(VocabularyNameT&& value) {
    SetVocabularyName(std::forward<VocabularyNameT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The language code you selected for your custom medical vocabulary. US English
   * (<code>en-US</code>) is the only language supported with Amazon Transcribe
   * Medical.</p>
   */
  inline LanguageCode GetLanguageCode() const { return m_languageCode; }
  inline void SetLanguageCode(LanguageCode value) {
    m_languageCodeHasBeenSet = true;
    m_languageCode = value;
  }
  inline UpdateMedicalVocabularyResult& WithLanguageCode(LanguageCode value) {
    SetLanguageCode(value);
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The date and time the specified custom medical vocabulary was last
   * updated.</p> <p>Timestamps are in the format
   * <code>YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC</code>. For example,
   * <code>2022-05-04T12:32:58.761000-07:00</code> represents 12:32 PM UTC-7 on May
   * 4, 2022.</p>
   */
  inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
  template <typename LastModifiedTimeT = Aws::Utils::DateTime>
  void SetLastModifiedTime(LastModifiedTimeT&& value) {
    m_lastModifiedTimeHasBeenSet = true;
    m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
  }
  template <typename LastModifiedTimeT = Aws::Utils::DateTime>
  UpdateMedicalVocabularyResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
    SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The processing state of your custom medical vocabulary. If the state is
   * <code>READY</code>, you can use the custom vocabulary in a
   * <code>StartMedicalTranscriptionJob</code> request.</p>
   */
  inline VocabularyState GetVocabularyState() const { return m_vocabularyState; }
  inline void SetVocabularyState(VocabularyState value) {
    m_vocabularyStateHasBeenSet = true;
    m_vocabularyState = value;
  }
  inline UpdateMedicalVocabularyResult& WithVocabularyState(VocabularyState value) {
    SetVocabularyState(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>
  UpdateMedicalVocabularyResult& WithRequestId(RequestIdT&& value) {
    SetRequestId(std::forward<RequestIdT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_vocabularyName;

  LanguageCode m_languageCode{LanguageCode::NOT_SET};

  Aws::Utils::DateTime m_lastModifiedTime{};

  VocabularyState m_vocabularyState{VocabularyState::NOT_SET};

  Aws::String m_requestId;
  bool m_vocabularyNameHasBeenSet = false;
  bool m_languageCodeHasBeenSet = false;
  bool m_lastModifiedTimeHasBeenSet = false;
  bool m_vocabularyStateHasBeenSet = false;
  bool m_requestIdHasBeenSet = false;
};

}  // namespace Model
}  // namespace TranscribeService
}  // namespace Aws
