/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a world generator job.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the world generator job.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the world generator job.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the world generator job.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the world generator job.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the world generator job.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the world generator job.
*/ inline WorldGenerationJobSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the world generator job.
*/ inline WorldGenerationJobSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the world generator job.
*/ inline WorldGenerationJobSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The Amazon Resource Name (arn) of the world template.
*/ inline const Aws::String& GetTemplate() const{ return m_template; } /** *The Amazon Resource Name (arn) of the world template.
*/ inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } /** *The Amazon Resource Name (arn) of the world template.
*/ inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; } /** *The Amazon Resource Name (arn) of the world template.
*/ inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); } /** *The Amazon Resource Name (arn) of the world template.
*/ inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); } /** *The Amazon Resource Name (arn) of the world template.
*/ inline WorldGenerationJobSummary& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;} /** *The Amazon Resource Name (arn) of the world template.
*/ inline WorldGenerationJobSummary& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;} /** *The Amazon Resource Name (arn) of the world template.
*/ inline WorldGenerationJobSummary& WithTemplate(const char* value) { SetTemplate(value); return *this;} /** *The time, in milliseconds since the epoch, when the world generator job was * created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The time, in milliseconds since the epoch, when the world generator job was * created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time, in milliseconds since the epoch, when the world generator job was * created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time, in milliseconds since the epoch, when the world generator job was * created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time, in milliseconds since the epoch, when the world generator job was * created.
*/ inline WorldGenerationJobSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time, in milliseconds since the epoch, when the world generator job was * created.
*/ inline WorldGenerationJobSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The status of the world generator job:
The * world generator job request is pending.
The * world generator job is running.
The world * generator job completed.
The world generator
* job failed. See failureCode
for more information.
Some worlds did not generate.
The world generator job was cancelled.
The world generator job is being cancelled.
The status of the world generator job:
The * world generator job request is pending.
The * world generator job is running.
The world * generator job completed.
The world generator
* job failed. See failureCode
for more information.
Some worlds did not generate.
The world generator job was cancelled.
The world generator job is being cancelled.
The status of the world generator job:
The * world generator job request is pending.
The * world generator job is running.
The world * generator job completed.
The world generator
* job failed. See failureCode
for more information.
Some worlds did not generate.
The world generator job was cancelled.
The world generator job is being cancelled.
The status of the world generator job:
The * world generator job request is pending.
The * world generator job is running.
The world * generator job completed.
The world generator
* job failed. See failureCode
for more information.
Some worlds did not generate.
The world generator job was cancelled.
The world generator job is being cancelled.
The status of the world generator job:
The * world generator job request is pending.
The * world generator job is running.
The world * generator job completed.
The world generator
* job failed. See failureCode
for more information.
Some worlds did not generate.
The world generator job was cancelled.
The world generator job is being cancelled.
The status of the world generator job:
The * world generator job request is pending.
The * world generator job is running.
The world * generator job completed.
The world generator
* job failed. See failureCode
for more information.
Some worlds did not generate.
The world generator job was cancelled.
The world generator job is being cancelled.
Information about the world count.
*/ inline const WorldCount& GetWorldCount() const{ return m_worldCount; } /** *Information about the world count.
*/ inline bool WorldCountHasBeenSet() const { return m_worldCountHasBeenSet; } /** *Information about the world count.
*/ inline void SetWorldCount(const WorldCount& value) { m_worldCountHasBeenSet = true; m_worldCount = value; } /** *Information about the world count.
*/ inline void SetWorldCount(WorldCount&& value) { m_worldCountHasBeenSet = true; m_worldCount = std::move(value); } /** *Information about the world count.
*/ inline WorldGenerationJobSummary& WithWorldCount(const WorldCount& value) { SetWorldCount(value); return *this;} /** *Information about the world count.
*/ inline WorldGenerationJobSummary& WithWorldCount(WorldCount&& value) { SetWorldCount(std::move(value)); return *this;} /** *The number of worlds that were generated.
*/ inline int GetSucceededWorldCount() const{ return m_succeededWorldCount; } /** *The number of worlds that were generated.
*/ inline bool SucceededWorldCountHasBeenSet() const { return m_succeededWorldCountHasBeenSet; } /** *The number of worlds that were generated.
*/ inline void SetSucceededWorldCount(int value) { m_succeededWorldCountHasBeenSet = true; m_succeededWorldCount = value; } /** *The number of worlds that were generated.
*/ inline WorldGenerationJobSummary& WithSucceededWorldCount(int value) { SetSucceededWorldCount(value); return *this;} /** *The number of worlds that failed.
*/ inline int GetFailedWorldCount() const{ return m_failedWorldCount; } /** *The number of worlds that failed.
*/ inline bool FailedWorldCountHasBeenSet() const { return m_failedWorldCountHasBeenSet; } /** *The number of worlds that failed.
*/ inline void SetFailedWorldCount(int value) { m_failedWorldCountHasBeenSet = true; m_failedWorldCount = value; } /** *The number of worlds that failed.
*/ inline WorldGenerationJobSummary& WithFailedWorldCount(int value) { SetFailedWorldCount(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_template; bool m_templateHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; WorldGenerationJobStatus m_status; bool m_statusHasBeenSet = false; WorldCount m_worldCount; bool m_worldCountHasBeenSet = false; int m_succeededWorldCount; bool m_succeededWorldCountHasBeenSet = false; int m_failedWorldCount; bool m_failedWorldCountHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws