/**
 * 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/translate/Translate_EXPORTS.h>
#include <aws/translate/model/TerminologyDataLocation.h>
#include <aws/translate/model/TerminologyProperties.h>

#include <utility>

namespace Aws {
template <typename RESULT_TYPE>
class AmazonWebServiceResult;

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

  ///@{
  /**
   * <p>The properties of the custom terminology being imported.</p>
   */
  inline const TerminologyProperties& GetTerminologyProperties() const { return m_terminologyProperties; }
  template <typename TerminologyPropertiesT = TerminologyProperties>
  void SetTerminologyProperties(TerminologyPropertiesT&& value) {
    m_terminologyPropertiesHasBeenSet = true;
    m_terminologyProperties = std::forward<TerminologyPropertiesT>(value);
  }
  template <typename TerminologyPropertiesT = TerminologyProperties>
  ImportTerminologyResult& WithTerminologyProperties(TerminologyPropertiesT&& value) {
    SetTerminologyProperties(std::forward<TerminologyPropertiesT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The Amazon S3 location of a file that provides any errors or warnings that
   * were produced by your input file. This file was created when Amazon Translate
   * attempted to create a terminology resource. The location is returned as a
   * presigned URL to that has a 30 minute expiration.</p>
   */
  inline const TerminologyDataLocation& GetAuxiliaryDataLocation() const { return m_auxiliaryDataLocation; }
  template <typename AuxiliaryDataLocationT = TerminologyDataLocation>
  void SetAuxiliaryDataLocation(AuxiliaryDataLocationT&& value) {
    m_auxiliaryDataLocationHasBeenSet = true;
    m_auxiliaryDataLocation = std::forward<AuxiliaryDataLocationT>(value);
  }
  template <typename AuxiliaryDataLocationT = TerminologyDataLocation>
  ImportTerminologyResult& WithAuxiliaryDataLocation(AuxiliaryDataLocationT&& value) {
    SetAuxiliaryDataLocation(std::forward<AuxiliaryDataLocationT>(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>
  ImportTerminologyResult& WithRequestId(RequestIdT&& value) {
    SetRequestId(std::forward<RequestIdT>(value));
    return *this;
  }
  ///@}
 private:
  TerminologyProperties m_terminologyProperties;

  TerminologyDataLocation m_auxiliaryDataLocation;

  Aws::String m_requestId;
  bool m_terminologyPropertiesHasBeenSet = false;
  bool m_auxiliaryDataLocationHasBeenSet = false;
  bool m_requestIdHasBeenSet = false;
};

}  // namespace Model
}  // namespace Translate
}  // namespace Aws
