/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a summary of the predictor properties that are used in the
* ListPredictors operation. To get the complete set of properties, call the
* DescribePredictor operation, and provide the listed
* PredictorArn
.See Also:
AWS
* API Reference
The ARN of the predictor.
*/ inline const Aws::String& GetPredictorArn() const{ return m_predictorArn; } /** *The ARN of the predictor.
*/ inline bool PredictorArnHasBeenSet() const { return m_predictorArnHasBeenSet; } /** *The ARN of the predictor.
*/ inline void SetPredictorArn(const Aws::String& value) { m_predictorArnHasBeenSet = true; m_predictorArn = value; } /** *The ARN of the predictor.
*/ inline void SetPredictorArn(Aws::String&& value) { m_predictorArnHasBeenSet = true; m_predictorArn = std::move(value); } /** *The ARN of the predictor.
*/ inline void SetPredictorArn(const char* value) { m_predictorArnHasBeenSet = true; m_predictorArn.assign(value); } /** *The ARN of the predictor.
*/ inline PredictorSummary& WithPredictorArn(const Aws::String& value) { SetPredictorArn(value); return *this;} /** *The ARN of the predictor.
*/ inline PredictorSummary& WithPredictorArn(Aws::String&& value) { SetPredictorArn(std::move(value)); return *this;} /** *The ARN of the predictor.
*/ inline PredictorSummary& WithPredictorArn(const char* value) { SetPredictorArn(value); return *this;} /** *The name of the predictor.
*/ inline const Aws::String& GetPredictorName() const{ return m_predictorName; } /** *The name of the predictor.
*/ inline bool PredictorNameHasBeenSet() const { return m_predictorNameHasBeenSet; } /** *The name of the predictor.
*/ inline void SetPredictorName(const Aws::String& value) { m_predictorNameHasBeenSet = true; m_predictorName = value; } /** *The name of the predictor.
*/ inline void SetPredictorName(Aws::String&& value) { m_predictorNameHasBeenSet = true; m_predictorName = std::move(value); } /** *The name of the predictor.
*/ inline void SetPredictorName(const char* value) { m_predictorNameHasBeenSet = true; m_predictorName.assign(value); } /** *The name of the predictor.
*/ inline PredictorSummary& WithPredictorName(const Aws::String& value) { SetPredictorName(value); return *this;} /** *The name of the predictor.
*/ inline PredictorSummary& WithPredictorName(Aws::String&& value) { SetPredictorName(std::move(value)); return *this;} /** *The name of the predictor.
*/ inline PredictorSummary& WithPredictorName(const char* value) { SetPredictorName(value); return *this;} /** *The Amazon Resource Name (ARN) of the dataset group that contains the data * used to train the predictor.
*/ inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; } /** *The Amazon Resource Name (ARN) of the dataset group that contains the data * used to train the predictor.
*/ inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the dataset group that contains the data * used to train the predictor.
*/ inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; } /** *The Amazon Resource Name (ARN) of the dataset group that contains the data * used to train the predictor.
*/ inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the dataset group that contains the data * used to train the predictor.
*/ inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); } /** *The Amazon Resource Name (ARN) of the dataset group that contains the data * used to train the predictor.
*/ inline PredictorSummary& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the dataset group that contains the data * used to train the predictor.
*/ inline PredictorSummary& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the dataset group that contains the data * used to train the predictor.
*/ inline PredictorSummary& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;} /** *Whether AutoPredictor was used to create the predictor.
*/ inline bool GetIsAutoPredictor() const{ return m_isAutoPredictor; } /** *Whether AutoPredictor was used to create the predictor.
*/ inline bool IsAutoPredictorHasBeenSet() const { return m_isAutoPredictorHasBeenSet; } /** *Whether AutoPredictor was used to create the predictor.
*/ inline void SetIsAutoPredictor(bool value) { m_isAutoPredictorHasBeenSet = true; m_isAutoPredictor = value; } /** *Whether AutoPredictor was used to create the predictor.
*/ inline PredictorSummary& WithIsAutoPredictor(bool value) { SetIsAutoPredictor(value); return *this;} /** *A summary of the reference predictor used if the predictor was retrained or * upgraded.
*/ inline const ReferencePredictorSummary& GetReferencePredictorSummary() const{ return m_referencePredictorSummary; } /** *A summary of the reference predictor used if the predictor was retrained or * upgraded.
*/ inline bool ReferencePredictorSummaryHasBeenSet() const { return m_referencePredictorSummaryHasBeenSet; } /** *A summary of the reference predictor used if the predictor was retrained or * upgraded.
*/ inline void SetReferencePredictorSummary(const ReferencePredictorSummary& value) { m_referencePredictorSummaryHasBeenSet = true; m_referencePredictorSummary = value; } /** *A summary of the reference predictor used if the predictor was retrained or * upgraded.
*/ inline void SetReferencePredictorSummary(ReferencePredictorSummary&& value) { m_referencePredictorSummaryHasBeenSet = true; m_referencePredictorSummary = std::move(value); } /** *A summary of the reference predictor used if the predictor was retrained or * upgraded.
*/ inline PredictorSummary& WithReferencePredictorSummary(const ReferencePredictorSummary& value) { SetReferencePredictorSummary(value); return *this;} /** *A summary of the reference predictor used if the predictor was retrained or * upgraded.
*/ inline PredictorSummary& WithReferencePredictorSummary(ReferencePredictorSummary&& value) { SetReferencePredictorSummary(std::move(value)); return *this;} /** *The status of the predictor. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
CREATE_STOPPING
,
* CREATE_STOPPED
The Status
* of the predictor must be ACTIVE
before you can use the predictor to
* create a forecast.
The status of the predictor. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
CREATE_STOPPING
,
* CREATE_STOPPED
The Status
* of the predictor must be ACTIVE
before you can use the predictor to
* create a forecast.
The status of the predictor. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
CREATE_STOPPING
,
* CREATE_STOPPED
The Status
* of the predictor must be ACTIVE
before you can use the predictor to
* create a forecast.
The status of the predictor. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
CREATE_STOPPING
,
* CREATE_STOPPED
The Status
* of the predictor must be ACTIVE
before you can use the predictor to
* create a forecast.
The status of the predictor. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
CREATE_STOPPING
,
* CREATE_STOPPED
The Status
* of the predictor must be ACTIVE
before you can use the predictor to
* create a forecast.
The status of the predictor. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
CREATE_STOPPING
,
* CREATE_STOPPED
The Status
* of the predictor must be ACTIVE
before you can use the predictor to
* create a forecast.
The status of the predictor. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
CREATE_STOPPING
,
* CREATE_STOPPED
The Status
* of the predictor must be ACTIVE
before you can use the predictor to
* create a forecast.
The status of the predictor. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
CREATE_STOPPING
,
* CREATE_STOPPED
The Status
* of the predictor must be ACTIVE
before you can use the predictor to
* create a forecast.
If an error occurred, an informational message about the error.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *If an error occurred, an informational message about the error.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *If an error occurred, an informational message about the error.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *If an error occurred, an informational message about the error.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *If an error occurred, an informational message about the error.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *If an error occurred, an informational message about the error.
*/ inline PredictorSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *If an error occurred, an informational message about the error.
*/ inline PredictorSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *If an error occurred, an informational message about the error.
*/ inline PredictorSummary& WithMessage(const char* value) { SetMessage(value); return *this;} /** *When the model training task was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *When the model training task was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *When the model training task was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *When the model training task was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *When the model training task was created.
*/ inline PredictorSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *When the model training task was created.
*/ inline PredictorSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.
The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.
The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.
The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.
The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.
The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.