/**
 * 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/TestSetModality.h>
#include <aws/lexv2-models/model/TestSetStatus.h>
#include <aws/lexv2-models/model/TestSetStorageLocation.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 UpdateTestSetResult {
 public:
  AWS_LEXMODELSV2_API UpdateTestSetResult() = default;
  AWS_LEXMODELSV2_API UpdateTestSetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
  AWS_LEXMODELSV2_API UpdateTestSetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);

  ///@{
  /**
   * <p>The test set Id for which update test operation to be performed.</p>
   */
  inline const Aws::String& GetTestSetId() const { return m_testSetId; }
  template <typename TestSetIdT = Aws::String>
  void SetTestSetId(TestSetIdT&& value) {
    m_testSetIdHasBeenSet = true;
    m_testSetId = std::forward<TestSetIdT>(value);
  }
  template <typename TestSetIdT = Aws::String>
  UpdateTestSetResult& WithTestSetId(TestSetIdT&& value) {
    SetTestSetId(std::forward<TestSetIdT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The test set name for the updated test set.</p>
   */
  inline const Aws::String& GetTestSetName() const { return m_testSetName; }
  template <typename TestSetNameT = Aws::String>
  void SetTestSetName(TestSetNameT&& value) {
    m_testSetNameHasBeenSet = true;
    m_testSetName = std::forward<TestSetNameT>(value);
  }
  template <typename TestSetNameT = Aws::String>
  UpdateTestSetResult& WithTestSetName(TestSetNameT&& value) {
    SetTestSetName(std::forward<TestSetNameT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The test set description for the updated test set.</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>
  UpdateTestSetResult& WithDescription(DescriptionT&& value) {
    SetDescription(std::forward<DescriptionT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>Indicates whether audio or text is used for the updated test set.</p>
   */
  inline TestSetModality GetModality() const { return m_modality; }
  inline void SetModality(TestSetModality value) {
    m_modalityHasBeenSet = true;
    m_modality = value;
  }
  inline UpdateTestSetResult& WithModality(TestSetModality value) {
    SetModality(value);
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The status for the updated test set.</p>
   */
  inline TestSetStatus GetStatus() const { return m_status; }
  inline void SetStatus(TestSetStatus value) {
    m_statusHasBeenSet = true;
    m_status = value;
  }
  inline UpdateTestSetResult& WithStatus(TestSetStatus value) {
    SetStatus(value);
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The roleARN used for any operation in the test set to access resources in the
   * Amazon Web Services account.</p>
   */
  inline const Aws::String& GetRoleArn() const { return m_roleArn; }
  template <typename RoleArnT = Aws::String>
  void SetRoleArn(RoleArnT&& value) {
    m_roleArnHasBeenSet = true;
    m_roleArn = std::forward<RoleArnT>(value);
  }
  template <typename RoleArnT = Aws::String>
  UpdateTestSetResult& WithRoleArn(RoleArnT&& value) {
    SetRoleArn(std::forward<RoleArnT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The number of conversation turns from the updated test set.</p>
   */
  inline int GetNumTurns() const { return m_numTurns; }
  inline void SetNumTurns(int value) {
    m_numTurnsHasBeenSet = true;
    m_numTurns = value;
  }
  inline UpdateTestSetResult& WithNumTurns(int value) {
    SetNumTurns(value);
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The Amazon S3 storage location for the updated test set.</p>
   */
  inline const TestSetStorageLocation& GetStorageLocation() const { return m_storageLocation; }
  template <typename StorageLocationT = TestSetStorageLocation>
  void SetStorageLocation(StorageLocationT&& value) {
    m_storageLocationHasBeenSet = true;
    m_storageLocation = std::forward<StorageLocationT>(value);
  }
  template <typename StorageLocationT = TestSetStorageLocation>
  UpdateTestSetResult& WithStorageLocation(StorageLocationT&& value) {
    SetStorageLocation(std::forward<StorageLocationT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The creation date and time for the updated test set.</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>
  UpdateTestSetResult& WithCreationDateTime(CreationDateTimeT&& value) {
    SetCreationDateTime(std::forward<CreationDateTimeT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p> The date and time of the last update for the updated test set.</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>
  UpdateTestSetResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
    SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(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>
  UpdateTestSetResult& WithRequestId(RequestIdT&& value) {
    SetRequestId(std::forward<RequestIdT>(value));
    return *this;
  }
  ///@}
  inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }

 private:
  Aws::String m_testSetId;

  Aws::String m_testSetName;

  Aws::String m_description;

  TestSetModality m_modality{TestSetModality::NOT_SET};

  TestSetStatus m_status{TestSetStatus::NOT_SET};

  Aws::String m_roleArn;

  int m_numTurns{0};

  TestSetStorageLocation m_storageLocation;

  Aws::Utils::DateTime m_creationDateTime{};

  Aws::Utils::DateTime m_lastUpdatedDateTime{};

  Aws::String m_requestId;
  Aws::Http::HttpResponseCode m_HttpResponseCode;
  bool m_testSetIdHasBeenSet = false;
  bool m_testSetNameHasBeenSet = false;
  bool m_descriptionHasBeenSet = false;
  bool m_modalityHasBeenSet = false;
  bool m_statusHasBeenSet = false;
  bool m_roleArnHasBeenSet = false;
  bool m_numTurnsHasBeenSet = false;
  bool m_storageLocationHasBeenSet = false;
  bool m_creationDateTimeHasBeenSet = false;
  bool m_lastUpdatedDateTimeHasBeenSet = false;
  bool m_requestIdHasBeenSet = false;
};

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