/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A truncated version of the BatchSegmentJob
* datatype. ListBatchSegmentJobs
* operation returns a list of batch segment job summaries.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the batch segment job.
*/ inline const Aws::String& GetBatchSegmentJobArn() const{ return m_batchSegmentJobArn; } /** *The Amazon Resource Name (ARN) of the batch segment job.
*/ inline bool BatchSegmentJobArnHasBeenSet() const { return m_batchSegmentJobArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the batch segment job.
*/ inline void SetBatchSegmentJobArn(const Aws::String& value) { m_batchSegmentJobArnHasBeenSet = true; m_batchSegmentJobArn = value; } /** *The Amazon Resource Name (ARN) of the batch segment job.
*/ inline void SetBatchSegmentJobArn(Aws::String&& value) { m_batchSegmentJobArnHasBeenSet = true; m_batchSegmentJobArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the batch segment job.
*/ inline void SetBatchSegmentJobArn(const char* value) { m_batchSegmentJobArnHasBeenSet = true; m_batchSegmentJobArn.assign(value); } /** *The Amazon Resource Name (ARN) of the batch segment job.
*/ inline BatchSegmentJobSummary& WithBatchSegmentJobArn(const Aws::String& value) { SetBatchSegmentJobArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the batch segment job.
*/ inline BatchSegmentJobSummary& WithBatchSegmentJobArn(Aws::String&& value) { SetBatchSegmentJobArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the batch segment job.
*/ inline BatchSegmentJobSummary& WithBatchSegmentJobArn(const char* value) { SetBatchSegmentJobArn(value); return *this;} /** *The name of the batch segment job.
*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *The name of the batch segment job.
*/ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** *The name of the batch segment job.
*/ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } /** *The name of the batch segment job.
*/ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } /** *The name of the batch segment job.
*/ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } /** *The name of the batch segment job.
*/ inline BatchSegmentJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *The name of the batch segment job.
*/ inline BatchSegmentJobSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *The name of the batch segment job.
*/ inline BatchSegmentJobSummary& WithJobName(const char* value) { SetJobName(value); return *this;} /** *The status of the batch segment job. The status is one of the following * values:
PENDING
IN PROGRESS
ACTIVE
CREATE FAILED
The status of the batch segment job. The status is one of the following * values:
PENDING
IN PROGRESS
ACTIVE
CREATE FAILED
The status of the batch segment job. The status is one of the following * values:
PENDING
IN PROGRESS
ACTIVE
CREATE FAILED
The status of the batch segment job. The status is one of the following * values:
PENDING
IN PROGRESS
ACTIVE
CREATE FAILED
The status of the batch segment job. The status is one of the following * values:
PENDING
IN PROGRESS
ACTIVE
CREATE FAILED
The status of the batch segment job. The status is one of the following * values:
PENDING
IN PROGRESS
ACTIVE
CREATE FAILED
The status of the batch segment job. The status is one of the following * values:
PENDING
IN PROGRESS
ACTIVE
CREATE FAILED
The status of the batch segment job. The status is one of the following * values:
PENDING
IN PROGRESS
ACTIVE
CREATE FAILED
The time at which the batch segment job was created.
*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *The time at which the batch segment job was created.
*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *The time at which the batch segment job was created.
*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *The time at which the batch segment job was created.
*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *The time at which the batch segment job was created.
*/ inline BatchSegmentJobSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *The time at which the batch segment job was created.
*/ inline BatchSegmentJobSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *The time at which the batch segment job was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *The time at which the batch segment job was last updated.
*/ inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *The time at which the batch segment job was last updated.
*/ inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; } /** *The time at which the batch segment 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 segment job was last updated.
*/ inline BatchSegmentJobSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *The time at which the batch segment job was last updated.
*/ inline BatchSegmentJobSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} /** *If the batch segment job failed, the reason for the failure.
*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *If the batch segment job failed, the reason for the failure.
*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *If the batch segment job failed, the reason for the failure.
*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *If the batch segment job failed, the reason for the failure.
*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *If the batch segment job failed, the reason for the failure.
*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *If the batch segment job failed, the reason for the failure.
*/ inline BatchSegmentJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *If the batch segment job failed, the reason for the failure.
*/ inline BatchSegmentJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *If the batch segment job failed, the reason for the failure.
*/ inline BatchSegmentJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *The Amazon Resource Name (ARN) of the solution version used by the batch * segment job to generate batch segments.
*/ inline const Aws::String& GetSolutionVersionArn() const{ return m_solutionVersionArn; } /** *The Amazon Resource Name (ARN) of the solution version used by the batch * segment job to generate batch segments.
*/ inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the solution version used by the batch * segment job to generate batch segments.
*/ inline void SetSolutionVersionArn(const Aws::String& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = value; } /** *The Amazon Resource Name (ARN) of the solution version used by the batch * segment job to generate batch segments.
*/ inline void SetSolutionVersionArn(Aws::String&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the solution version used by the batch * segment job to generate batch segments.
*/ inline void SetSolutionVersionArn(const char* value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn.assign(value); } /** *The Amazon Resource Name (ARN) of the solution version used by the batch * segment job to generate batch segments.
*/ inline BatchSegmentJobSummary& WithSolutionVersionArn(const Aws::String& value) { SetSolutionVersionArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the solution version used by the batch * segment job to generate batch segments.
*/ inline BatchSegmentJobSummary& WithSolutionVersionArn(Aws::String&& value) { SetSolutionVersionArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the solution version used by the batch * segment job to generate batch segments.
*/ inline BatchSegmentJobSummary& WithSolutionVersionArn(const char* value) { SetSolutionVersionArn(value); return *this;} private: Aws::String m_batchSegmentJobArn; bool m_batchSegmentJobArnHasBeenSet = 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