text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/forecast/ForecastService_EXPORTS.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <aws/forecast/model/DataDestination.h>
  #include <aws/core/utils/DateTime.h>
  #include <utility>
  
  namespace Aws
  {
  template<typename RESULT_TYPE>
  class AmazonWebServiceResult;
  
  namespace Utils
  {
  namespace Json
  {
    class JsonValue;
  } // namespace Json
  } // namespace Utils
  namespace ForecastService
  {
  namespace Model
  {
    class AWS_FORECASTSERVICE_API DescribePredictorBacktestExportJobResult
    {
    public:
      DescribePredictorBacktestExportJobResult();
      DescribePredictorBacktestExportJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
      DescribePredictorBacktestExportJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
  
  
      /**
       * <p>The Amazon Resource Name (ARN) of the predictor backtest export job.</p>
       */
      inline const Aws::String& GetPredictorBacktestExportJobArn() const{ return m_predictorBacktestExportJobArn; }
  
      /**
       * <p>The Amazon Resource Name (ARN) of the predictor backtest export job.</p>
       */
      inline void SetPredictorBacktestExportJobArn(const Aws::String& value) { m_predictorBacktestExportJobArn = value; }
  
      /**
       * <p>The Amazon Resource Name (ARN) of the predictor backtest export job.</p>
       */
      inline void SetPredictorBacktestExportJobArn(Aws::String&& value) { m_predictorBacktestExportJobArn = std::move(value); }
  
      /**
       * <p>The Amazon Resource Name (ARN) of the predictor backtest export job.</p>
       */
      inline void SetPredictorBacktestExportJobArn(const char* value) { m_predictorBacktestExportJobArn.assign(value); }
  
      /**
       * <p>The Amazon Resource Name (ARN) of the predictor backtest export job.</p>
       */
      inline DescribePredictorBacktestExportJobResult& WithPredictorBacktestExportJobArn(const Aws::String& value) { SetPredictorBacktestExportJobArn(value); return *this;}
  
      /**
       * <p>The Amazon Resource Name (ARN) of the predictor backtest export job.</p>
       */
      inline DescribePredictorBacktestExportJobResult& WithPredictorBacktestExportJobArn(Aws::String&& value) { SetPredictorBacktestExportJobArn(std::move(value)); return *this;}
  
      /**
       * <p>The Amazon Resource Name (ARN) of the predictor backtest export job.</p>
       */
      inline DescribePredictorBacktestExportJobResult& WithPredictorBacktestExportJobArn(const char* value) { SetPredictorBacktestExportJobArn(value); return *this;}
  
  
      /**
       * <p>The name of the predictor backtest export job.</p>
       */
      inline const Aws::String& GetPredictorBacktestExportJobName() const{ return m_predictorBacktestExportJobName; }
  
      /**
       * <p>The name of the predictor backtest export job.</p>
       */
      inline void SetPredictorBacktestExportJobName(const Aws::String& value) { m_predictorBacktestExportJobName = value; }
  
      /**
       * <p>The name of the predictor backtest export job.</p>
       */
      inline void SetPredictorBacktestExportJobName(Aws::String&& value) { m_predictorBacktestExportJobName = std::move(value); }
  
      /**
       * <p>The name of the predictor backtest export job.</p>
       */
      inline void SetPredictorBacktestExportJobName(const char* value) { m_predictorBacktestExportJobName.assign(value); }
  
      /**
       * <p>The name of the predictor backtest export job.</p>
       */
      inline DescribePredictorBacktestExportJobResult& WithPredictorBacktestExportJobName(const Aws::String& value) { SetPredictorBacktestExportJobName(value); return *this;}
  
      /**
       * <p>The name of the predictor backtest export job.</p>
       */
      inline DescribePredictorBacktestExportJobResult& WithPredictorBacktestExportJobName(Aws::String&& value) { SetPredictorBacktestExportJobName(std::move(value)); return *this;}
  
      /**
       * <p>The name of the predictor backtest export job.</p>
       */
      inline DescribePredictorBacktestExportJobResult& WithPredictorBacktestExportJobName(const char* value) { SetPredictorBacktestExportJobName(value); return *this;}
  
  
      /**
       * <p>The Amazon Resource Name (ARN) of the predictor.</p>
       */
      inline const Aws::String& GetPredictorArn() const{ return m_predictorArn; }
  
      /**
       * <p>The Amazon Resource Name (ARN) of the predictor.</p>
       */
      inline void SetPredictorArn(const Aws::String& value) { m_predictorArn = value; }
  
      /**
       * <p>The Amazon Resource Name (ARN) of the predictor.</p>
       */
      inline void SetPredictorArn(Aws::String&& value) { m_predictorArn = std::move(value); }
  
      /**
       * <p>The Amazon Resource Name (ARN) of the predictor.</p>
       */
      inline void SetPredictorArn(const char* value) { m_predictorArn.assign(value); }
  
      /**
       * <p>The Amazon Resource Name (ARN) of the predictor.</p>
       */
      inline DescribePredictorBacktestExportJobResult& WithPredictorArn(const Aws::String& value) { SetPredictorArn(value); return *this;}
  
      /**
       * <p>The Amazon Resource Name (ARN) of the predictor.</p>
       */
      inline DescribePredictorBacktestExportJobResult& WithPredictorArn(Aws::String&& value) { SetPredictorArn(std::move(value)); return *this;}
  
      /**
       * <p>The Amazon Resource Name (ARN) of the predictor.</p>
       */
      inline DescribePredictorBacktestExportJobResult& WithPredictorArn(const char* value) { SetPredictorArn(value); return *this;}
  
  
      
      inline const DataDestination& GetDestination() const{ return m_destination; }
  
      
      inline void SetDestination(const DataDestination& value) { m_destination = value; }
  
      
      inline void SetDestination(DataDestination&& value) { m_destination = std::move(value); }
  
      
      inline DescribePredictorBacktestExportJobResult& WithDestination(const DataDestination& value) { SetDestination(value); return *this;}
  
      
      inline DescribePredictorBacktestExportJobResult& WithDestination(DataDestination&& value) { SetDestination(std::move(value)); return *this;}
  
  
      /**
       * <p>Information about any errors that may have occurred during the backtest
       * export.</p>
       */
      inline const Aws::String& GetMessage() const{ return m_message; }
  
      /**
       * <p>Information about any errors that may have occurred during the backtest
       * export.</p>
       */
      inline void SetMessage(const Aws::String& value) { m_message = value; }
  
      /**
       * <p>Information about any errors that may have occurred during the backtest
       * export.</p>
       */
      inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
  
      /**
       * <p>Information about any errors that may have occurred during the backtest
       * export.</p>
       */
      inline void SetMessage(const char* value) { m_message.assign(value); }
  
      /**
       * <p>Information about any errors that may have occurred during the backtest
       * export.</p>
       */
      inline DescribePredictorBacktestExportJobResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
  
      /**
       * <p>Information about any errors that may have occurred during the backtest
       * export.</p>
       */
      inline DescribePredictorBacktestExportJobResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
  
      /**
       * <p>Information about any errors that may have occurred during the backtest
       * export.</p>
       */
      inline DescribePredictorBacktestExportJobResult& WithMessage(const char* value) { SetMessage(value); return *this;}
  
  
      /**
       * <p>The status of the predictor backtest export job. States include: </p> <ul>
       * <li> <p> <code>ACTIVE</code> </p> </li> <li> <p> <code>CREATE_PENDING</code>,
       * <code>CREATE_IN_PROGRESS</code>, <code>CREATE_FAILED</code> </p> </li> <li> <p>
       * <code>CREATE_STOPPING</code>, <code>CREATE_STOPPED</code> </p> </li> <li> <p>
       * <code>DELETE_PENDING</code>, <code>DELETE_IN_PROGRESS</code>,
       * <code>DELETE_FAILED</code> </p> </li> </ul>
       */
      inline const Aws::String& GetStatus() const{ return m_status; }
  
      /**
       * <p>The status of the predictor backtest export job. States include: </p> <ul>
       * <li> <p> <code>ACTIVE</code> </p> </li> <li> <p> <code>CREATE_PENDING</code>,
       * <code>CREATE_IN_PROGRESS</code>, <code>CREATE_FAILED</code> </p> </li> <li> <p>
       * <code>CREATE_STOPPING</code>, <code>CREATE_STOPPED</code> </p> </li> <li> <p>
       * <code>DELETE_PENDING</code>, <code>DELETE_IN_PROGRESS</code>,
       * <code>DELETE_FAILED</code> </p> </li> </ul>
       */
      inline void SetStatus(const Aws::String& value) { m_status = value; }
  
      /**
       * <p>The status of the predictor backtest export job. States include: </p> <ul>
       * <li> <p> <code>ACTIVE</code> </p> </li> <li> <p> <code>CREATE_PENDING</code>,
       * <code>CREATE_IN_PROGRESS</code>, <code>CREATE_FAILED</code> </p> </li> <li> <p>
       * <code>CREATE_STOPPING</code>, <code>CREATE_STOPPED</code> </p> </li> <li> <p>
       * <code>DELETE_PENDING</code>, <code>DELETE_IN_PROGRESS</code>,
       * <code>DELETE_FAILED</code> </p> </li> </ul>
       */
      inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
  
      /**
       * <p>The status of the predictor backtest export job. States include: </p> <ul>
       * <li> <p> <code>ACTIVE</code> </p> </li> <li> <p> <code>CREATE_PENDING</code>,
       * <code>CREATE_IN_PROGRESS</code>, <code>CREATE_FAILED</code> </p> </li> <li> <p>
       * <code>CREATE_STOPPING</code>, <code>CREATE_STOPPED</code> </p> </li> <li> <p>
       * <code>DELETE_PENDING</code>, <code>DELETE_IN_PROGRESS</code>,
       * <code>DELETE_FAILED</code> </p> </li> </ul>
       */
      inline void SetStatus(const char* value) { m_status.assign(value); }
  
      /**
       * <p>The status of the predictor backtest export job. States include: </p> <ul>
       * <li> <p> <code>ACTIVE</code> </p> </li> <li> <p> <code>CREATE_PENDING</code>,
       * <code>CREATE_IN_PROGRESS</code>, <code>CREATE_FAILED</code> </p> </li> <li> <p>
       * <code>CREATE_STOPPING</code>, <code>CREATE_STOPPED</code> </p> </li> <li> <p>
       * <code>DELETE_PENDING</code>, <code>DELETE_IN_PROGRESS</code>,
       * <code>DELETE_FAILED</code> </p> </li> </ul>
       */
      inline DescribePredictorBacktestExportJobResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
  
      /**
       * <p>The status of the predictor backtest export job. States include: </p> <ul>
       * <li> <p> <code>ACTIVE</code> </p> </li> <li> <p> <code>CREATE_PENDING</code>,
       * <code>CREATE_IN_PROGRESS</code>, <code>CREATE_FAILED</code> </p> </li> <li> <p>
       * <code>CREATE_STOPPING</code>, <code>CREATE_STOPPED</code> </p> </li> <li> <p>
       * <code>DELETE_PENDING</code>, <code>DELETE_IN_PROGRESS</code>,
       * <code>DELETE_FAILED</code> </p> </li> </ul>
       */
      inline DescribePredictorBacktestExportJobResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
  
      /**
       * <p>The status of the predictor backtest export job. States include: </p> <ul>
       * <li> <p> <code>ACTIVE</code> </p> </li> <li> <p> <code>CREATE_PENDING</code>,
       * <code>CREATE_IN_PROGRESS</code>, <code>CREATE_FAILED</code> </p> </li> <li> <p>
       * <code>CREATE_STOPPING</code>, <code>CREATE_STOPPED</code> </p> </li> <li> <p>
       * <code>DELETE_PENDING</code>, <code>DELETE_IN_PROGRESS</code>,
       * <code>DELETE_FAILED</code> </p> </li> </ul>
       */
      inline DescribePredictorBacktestExportJobResult& WithStatus(const char* value) { SetStatus(value); return *this;}
  
  
      /**
       * <p>When the predictor backtest export job was created.</p>
       */
      inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
  
      /**
       * <p>When the predictor backtest export job was created.</p>
       */
      inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
  
      /**
       * <p>When the predictor backtest export job was created.</p>
       */
      inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
  
      /**
       * <p>When the predictor backtest export job was created.</p>
       */
      inline DescribePredictorBacktestExportJobResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
  
      /**
       * <p>When the predictor backtest export job was created.</p>
       */
      inline DescribePredictorBacktestExportJobResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
  
  
      /**
       * <p>The last time the resource was modified. The timestamp depends on the status
       * of the job:</p> <ul> <li> <p> <code>CREATE_PENDING</code> - The
       * <code>CreationTime</code>.</p> </li> <li> <p> <code>CREATE_IN_PROGRESS</code> -
       * The current timestamp.</p> </li> <li> <p> <code>CREATE_STOPPING</code> - The
       * current timestamp.</p> </li> <li> <p> <code>CREATE_STOPPED</code> - When the job
       * stopped.</p> </li> <li> <p> <code>ACTIVE</code> or <code>CREATE_FAILED</code> -
       * When the job finished or failed.</p> </li> </ul>
       */
      inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
  
      /**
       * <p>The last time the resource was modified. The timestamp depends on the status
       * of the job:</p> <ul> <li> <p> <code>CREATE_PENDING</code> - The
       * <code>CreationTime</code>.</p> </li> <li> <p> <code>CREATE_IN_PROGRESS</code> -
       * The current timestamp.</p> </li> <li> <p> <code>CREATE_STOPPING</code> - The
       * current timestamp.</p> </li> <li> <p> <code>CREATE_STOPPED</code> - When the job
       * stopped.</p> </li> <li> <p> <code>ACTIVE</code> or <code>CREATE_FAILED</code> -
       * When the job finished or failed.</p> </li> </ul>
       */
      inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTime = value; }
  
      /**
       * <p>The last time the resource was modified. The timestamp depends on the status
       * of the job:</p> <ul> <li> <p> <code>CREATE_PENDING</code> - The
       * <code>CreationTime</code>.</p> </li> <li> <p> <code>CREATE_IN_PROGRESS</code> -
       * The current timestamp.</p> </li> <li> <p> <code>CREATE_STOPPING</code> - The
       * current timestamp.</p> </li> <li> <p> <code>CREATE_STOPPED</code> - When the job
       * stopped.</p> </li> <li> <p> <code>ACTIVE</code> or <code>CREATE_FAILED</code> -
       * When the job finished or failed.</p> </li> </ul>
       */
      inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTime = std::move(value); }
  
      /**
       * <p>The last time the resource was modified. The timestamp depends on the status
       * of the job:</p> <ul> <li> <p> <code>CREATE_PENDING</code> - The
       * <code>CreationTime</code>.</p> </li> <li> <p> <code>CREATE_IN_PROGRESS</code> -
       * The current timestamp.</p> </li> <li> <p> <code>CREATE_STOPPING</code> - The
       * current timestamp.</p> </li> <li> <p> <code>CREATE_STOPPED</code> - When the job
       * stopped.</p> </li> <li> <p> <code>ACTIVE</code> or <code>CREATE_FAILED</code> -
       * When the job finished or failed.</p> </li> </ul>
       */
      inline DescribePredictorBacktestExportJobResult& WithLastModificationTime(const Aws::Utils::DateTime& value) { SetLastModificationTime(value); return *this;}
  
      /**
       * <p>The last time the resource was modified. The timestamp depends on the status
       * of the job:</p> <ul> <li> <p> <code>CREATE_PENDING</code> - The
       * <code>CreationTime</code>.</p> </li> <li> <p> <code>CREATE_IN_PROGRESS</code> -
       * The current timestamp.</p> </li> <li> <p> <code>CREATE_STOPPING</code> - The
       * current timestamp.</p> </li> <li> <p> <code>CREATE_STOPPED</code> - When the job
       * stopped.</p> </li> <li> <p> <code>ACTIVE</code> or <code>CREATE_FAILED</code> -
       * When the job finished or failed.</p> </li> </ul>
       */
      inline DescribePredictorBacktestExportJobResult& WithLastModificationTime(Aws::Utils::DateTime&& value) { SetLastModificationTime(std::move(value)); return *this;}
  
    private:
  
      Aws::String m_predictorBacktestExportJobArn;
  
      Aws::String m_predictorBacktestExportJobName;
  
      Aws::String m_predictorArn;
  
      DataDestination m_destination;
  
      Aws::String m_message;
  
      Aws::String m_status;
  
      Aws::Utils::DateTime m_creationTime;
  
      Aws::Utils::DateTime m_lastModificationTime;
    };
  
  } // namespace Model
  } // namespace ForecastService
  } // namespace Aws
  