/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Personalize { namespace Model { /** *

A truncated version of the BatchInferenceJob. * The ListBatchInferenceJobs * operation returns a list of batch inference job summaries.

See * Also:

AWS * API Reference

*/ class BatchInferenceJobSummary { public: AWS_PERSONALIZE_API BatchInferenceJobSummary(); AWS_PERSONALIZE_API BatchInferenceJobSummary(Aws::Utils::Json::JsonView jsonValue); AWS_PERSONALIZE_API BatchInferenceJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) of the batch inference job.

*/ inline const Aws::String& GetBatchInferenceJobArn() const{ return m_batchInferenceJobArn; } /** *

The Amazon Resource Name (ARN) of the batch inference job.

*/ inline bool BatchInferenceJobArnHasBeenSet() const { return m_batchInferenceJobArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the batch inference job.

*/ inline void SetBatchInferenceJobArn(const Aws::String& value) { m_batchInferenceJobArnHasBeenSet = true; m_batchInferenceJobArn = value; } /** *

The Amazon Resource Name (ARN) of the batch inference job.

*/ inline void SetBatchInferenceJobArn(Aws::String&& value) { m_batchInferenceJobArnHasBeenSet = true; m_batchInferenceJobArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the batch inference job.

*/ inline void SetBatchInferenceJobArn(const char* value) { m_batchInferenceJobArnHasBeenSet = true; m_batchInferenceJobArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the batch inference job.

*/ inline BatchInferenceJobSummary& WithBatchInferenceJobArn(const Aws::String& value) { SetBatchInferenceJobArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the batch inference job.

*/ inline BatchInferenceJobSummary& WithBatchInferenceJobArn(Aws::String&& value) { SetBatchInferenceJobArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the batch inference job.

*/ inline BatchInferenceJobSummary& WithBatchInferenceJobArn(const char* value) { SetBatchInferenceJobArn(value); return *this;} /** *

The name of the batch inference job.

*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *

The name of the batch inference job.

*/ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** *

The name of the batch inference job.

*/ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } /** *

The name of the batch inference job.

*/ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } /** *

The name of the batch inference job.

*/ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } /** *

The name of the batch inference job.

*/ inline BatchInferenceJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *

The name of the batch inference job.

*/ inline BatchInferenceJobSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *

The name of the batch inference job.

*/ inline BatchInferenceJobSummary& WithJobName(const char* value) { SetJobName(value); return *this;} /** *

The status of the batch inference job. The status is one of the following * values:

  • PENDING

  • IN PROGRESS

  • *

    ACTIVE

  • CREATE FAILED

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

The status of the batch inference job. The status is one of the following * values:

  • PENDING

  • IN PROGRESS

  • *

    ACTIVE

  • CREATE FAILED

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the batch inference job. The status is one of the following * values:

  • PENDING

  • IN PROGRESS

  • *

    ACTIVE

  • CREATE FAILED

*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the batch inference job. The status is one of the following * values:

  • PENDING

  • IN PROGRESS

  • *

    ACTIVE

  • CREATE FAILED

*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the batch inference job. The status is one of the following * values:

  • PENDING

  • IN PROGRESS

  • *

    ACTIVE

  • CREATE FAILED

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

The status of the batch inference job. The status is one of the following * values:

  • PENDING

  • IN PROGRESS

  • *

    ACTIVE

  • CREATE FAILED

*/ inline BatchInferenceJobSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

The status of the batch inference job. The status is one of the following * values:

  • PENDING

  • IN PROGRESS

  • *

    ACTIVE

  • CREATE FAILED

*/ inline BatchInferenceJobSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

The status of the batch inference job. The status is one of the following * values:

  • PENDING

  • IN PROGRESS

  • *

    ACTIVE

  • CREATE FAILED

*/ inline BatchInferenceJobSummary& WithStatus(const char* value) { SetStatus(value); return *this;} /** *

The time at which the batch inference job was created.

*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *

The time at which the batch inference job was created.

*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *

The time at which the batch inference job was created.

*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *

The time at which the batch inference job was created.

*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *

The time at which the batch inference job was created.

*/ inline BatchInferenceJobSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *

The time at which the batch inference job was created.

*/ inline BatchInferenceJobSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *

The time at which the batch inference job was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *

The time at which the batch inference job was last updated.

*/ inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *

The time at which the batch inference job was last updated.

*/ inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; } /** *

The time at which the batch inference job was last updated.

*/ inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); } /** *

The time at which the batch inference job was last updated.

*/ inline BatchInferenceJobSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *

The time at which the batch inference job was last updated.

*/ inline BatchInferenceJobSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} /** *

If the batch inference job failed, the reason for the failure.

*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *

If the batch inference job failed, the reason for the failure.

*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *

If the batch inference job failed, the reason for the failure.

*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *

If the batch inference job failed, the reason for the failure.

*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *

If the batch inference job failed, the reason for the failure.

*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *

If the batch inference job failed, the reason for the failure.

*/ inline BatchInferenceJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *

If the batch inference job failed, the reason for the failure.

*/ inline BatchInferenceJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *

If the batch inference job failed, the reason for the failure.

*/ inline BatchInferenceJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *

The ARN of the solution version used by the batch inference job.

*/ inline const Aws::String& GetSolutionVersionArn() const{ return m_solutionVersionArn; } /** *

The ARN of the solution version used by the batch inference job.

*/ inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; } /** *

The ARN of the solution version used by the batch inference job.

*/ inline void SetSolutionVersionArn(const Aws::String& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = value; } /** *

The ARN of the solution version used by the batch inference job.

*/ inline void SetSolutionVersionArn(Aws::String&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::move(value); } /** *

The ARN of the solution version used by the batch inference job.

*/ inline void SetSolutionVersionArn(const char* value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn.assign(value); } /** *

The ARN of the solution version used by the batch inference job.

*/ inline BatchInferenceJobSummary& WithSolutionVersionArn(const Aws::String& value) { SetSolutionVersionArn(value); return *this;} /** *

The ARN of the solution version used by the batch inference job.

*/ inline BatchInferenceJobSummary& WithSolutionVersionArn(Aws::String&& value) { SetSolutionVersionArn(std::move(value)); return *this;} /** *

The ARN of the solution version used by the batch inference job.

*/ inline BatchInferenceJobSummary& WithSolutionVersionArn(const char* value) { SetSolutionVersionArn(value); return *this;} private: Aws::String m_batchInferenceJobArn; bool m_batchInferenceJobArnHasBeenSet = false; Aws::String m_jobName; bool m_jobNameHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; Aws::String m_solutionVersionArn; bool m_solutionVersionArnHasBeenSet = false; }; } // namespace Model } // namespace Personalize } // namespace Aws