/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace RoboMaker { namespace Model { class DescribeWorldGenerationJobResult { public: AWS_ROBOMAKER_API DescribeWorldGenerationJobResult(); AWS_ROBOMAKER_API DescribeWorldGenerationJobResult(const Aws::AmazonWebServiceResult& result); AWS_ROBOMAKER_API DescribeWorldGenerationJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the world generation job.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the world generation job.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The Amazon Resource Name (ARN) of the world generation job.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the world generation job.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the world generation job.

*/ inline DescribeWorldGenerationJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the world generation job.

*/ inline DescribeWorldGenerationJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the world generation job.

*/ inline DescribeWorldGenerationJobResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The status of the world generation job:

Pending

The * world generation job request is pending.

Running

The * world generation job is running.

Completed

The world * generation job completed.

Failed

The world * generation job failed. See failureCode for more information.

*
PartialFailed

Some worlds did not generate.

*
Canceled

The world generation job was cancelled.

*
Canceling

The world generation job is being cancelled.

*
*/ inline const WorldGenerationJobStatus& GetStatus() const{ return m_status; } /** *

The status of the world generation job:

Pending

The * world generation job request is pending.

Running

The * world generation job is running.

Completed

The world * generation job completed.

Failed

The world * generation job failed. See failureCode for more information.

*
PartialFailed

Some worlds did not generate.

*
Canceled

The world generation job was cancelled.

*
Canceling

The world generation job is being cancelled.

*
*/ inline void SetStatus(const WorldGenerationJobStatus& value) { m_status = value; } /** *

The status of the world generation job:

Pending

The * world generation job request is pending.

Running

The * world generation job is running.

Completed

The world * generation job completed.

Failed

The world * generation job failed. See failureCode for more information.

*
PartialFailed

Some worlds did not generate.

*
Canceled

The world generation job was cancelled.

*
Canceling

The world generation job is being cancelled.

*
*/ inline void SetStatus(WorldGenerationJobStatus&& value) { m_status = std::move(value); } /** *

The status of the world generation job:

Pending

The * world generation job request is pending.

Running

The * world generation job is running.

Completed

The world * generation job completed.

Failed

The world * generation job failed. See failureCode for more information.

*
PartialFailed

Some worlds did not generate.

*
Canceled

The world generation job was cancelled.

*
Canceling

The world generation job is being cancelled.

*
*/ inline DescribeWorldGenerationJobResult& WithStatus(const WorldGenerationJobStatus& value) { SetStatus(value); return *this;} /** *

The status of the world generation job:

Pending

The * world generation job request is pending.

Running

The * world generation job is running.

Completed

The world * generation job completed.

Failed

The world * generation job failed. See failureCode for more information.

*
PartialFailed

Some worlds did not generate.

*
Canceled

The world generation job was cancelled.

*
Canceling

The world generation job is being cancelled.

*
*/ inline DescribeWorldGenerationJobResult& WithStatus(WorldGenerationJobStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The time, in milliseconds since the epoch, when the world generation job was * created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The time, in milliseconds since the epoch, when the world generation job was * created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

The time, in milliseconds since the epoch, when the world generation job was * created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } /** *

The time, in milliseconds since the epoch, when the world generation job was * created.

*/ inline DescribeWorldGenerationJobResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The time, in milliseconds since the epoch, when the world generation job was * created.

*/ inline DescribeWorldGenerationJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The failure code of the world generation job if it failed:

*
InternalServiceError

Internal service error.

*
LimitExceeded

The requested resource exceeds the maximum number * allowed, or the number of concurrent stream requests exceeds the maximum number * allowed.

ResourceNotFound

The specified resource * could not be found.

RequestThrottled

The request was * throttled.

InvalidInput

An input parameter in the * request is not valid.

*/ inline const WorldGenerationJobErrorCode& GetFailureCode() const{ return m_failureCode; } /** *

The failure code of the world generation job if it failed:

*
InternalServiceError

Internal service error.

*
LimitExceeded

The requested resource exceeds the maximum number * allowed, or the number of concurrent stream requests exceeds the maximum number * allowed.

ResourceNotFound

The specified resource * could not be found.

RequestThrottled

The request was * throttled.

InvalidInput

An input parameter in the * request is not valid.

*/ inline void SetFailureCode(const WorldGenerationJobErrorCode& value) { m_failureCode = value; } /** *

The failure code of the world generation job if it failed:

*
InternalServiceError

Internal service error.

*
LimitExceeded

The requested resource exceeds the maximum number * allowed, or the number of concurrent stream requests exceeds the maximum number * allowed.

ResourceNotFound

The specified resource * could not be found.

RequestThrottled

The request was * throttled.

InvalidInput

An input parameter in the * request is not valid.

*/ inline void SetFailureCode(WorldGenerationJobErrorCode&& value) { m_failureCode = std::move(value); } /** *

The failure code of the world generation job if it failed:

*
InternalServiceError

Internal service error.

*
LimitExceeded

The requested resource exceeds the maximum number * allowed, or the number of concurrent stream requests exceeds the maximum number * allowed.

ResourceNotFound

The specified resource * could not be found.

RequestThrottled

The request was * throttled.

InvalidInput

An input parameter in the * request is not valid.

*/ inline DescribeWorldGenerationJobResult& WithFailureCode(const WorldGenerationJobErrorCode& value) { SetFailureCode(value); return *this;} /** *

The failure code of the world generation job if it failed:

*
InternalServiceError

Internal service error.

*
LimitExceeded

The requested resource exceeds the maximum number * allowed, or the number of concurrent stream requests exceeds the maximum number * allowed.

ResourceNotFound

The specified resource * could not be found.

RequestThrottled

The request was * throttled.

InvalidInput

An input parameter in the * request is not valid.

*/ inline DescribeWorldGenerationJobResult& WithFailureCode(WorldGenerationJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;} /** *

The reason why the world generation job failed.

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

The reason why the world generation job failed.

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

The reason why the world generation job failed.

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

The reason why the world generation job failed.

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

The reason why the world generation job failed.

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

The reason why the world generation job failed.

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

The reason why the world generation job failed.

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

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline DescribeWorldGenerationJobResult& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline DescribeWorldGenerationJobResult& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline DescribeWorldGenerationJobResult& WithClientRequestToken(const char* value) { SetClientRequestToken(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 void SetTemplate(const Aws::String& value) { m_template = value; } /** *

The Amazon Resource Name (arn) of the world template.

*/ inline void SetTemplate(Aws::String&& value) { m_template = std::move(value); } /** *

The Amazon Resource Name (arn) of the world template.

*/ inline void SetTemplate(const char* value) { m_template.assign(value); } /** *

The Amazon Resource Name (arn) of the world template.

*/ inline DescribeWorldGenerationJobResult& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;} /** *

The Amazon Resource Name (arn) of the world template.

*/ inline DescribeWorldGenerationJobResult& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;} /** *

The Amazon Resource Name (arn) of the world template.

*/ inline DescribeWorldGenerationJobResult& WithTemplate(const char* value) { SetTemplate(value); return *this;} /** *

Information about the world count.

*/ inline const WorldCount& GetWorldCount() const{ return m_worldCount; } /** *

Information about the world count.

*/ inline void SetWorldCount(const WorldCount& value) { m_worldCount = value; } /** *

Information about the world count.

*/ inline void SetWorldCount(WorldCount&& value) { m_worldCount = std::move(value); } /** *

Information about the world count.

*/ inline DescribeWorldGenerationJobResult& WithWorldCount(const WorldCount& value) { SetWorldCount(value); return *this;} /** *

Information about the world count.

*/ inline DescribeWorldGenerationJobResult& WithWorldCount(WorldCount&& value) { SetWorldCount(std::move(value)); return *this;} /** *

Summary information about finished worlds.

*/ inline const FinishedWorldsSummary& GetFinishedWorldsSummary() const{ return m_finishedWorldsSummary; } /** *

Summary information about finished worlds.

*/ inline void SetFinishedWorldsSummary(const FinishedWorldsSummary& value) { m_finishedWorldsSummary = value; } /** *

Summary information about finished worlds.

*/ inline void SetFinishedWorldsSummary(FinishedWorldsSummary&& value) { m_finishedWorldsSummary = std::move(value); } /** *

Summary information about finished worlds.

*/ inline DescribeWorldGenerationJobResult& WithFinishedWorldsSummary(const FinishedWorldsSummary& value) { SetFinishedWorldsSummary(value); return *this;} /** *

Summary information about finished worlds.

*/ inline DescribeWorldGenerationJobResult& WithFinishedWorldsSummary(FinishedWorldsSummary&& value) { SetFinishedWorldsSummary(std::move(value)); return *this;} /** *

A map that contains tag keys and tag values that are attached to the world * generation job.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

A map that contains tag keys and tag values that are attached to the world * generation job.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

A map that contains tag keys and tag values that are attached to the world * generation job.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

A map that contains tag keys and tag values that are attached to the world * generation job.

*/ inline DescribeWorldGenerationJobResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

A map that contains tag keys and tag values that are attached to the world * generation job.

*/ inline DescribeWorldGenerationJobResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

A map that contains tag keys and tag values that are attached to the world * generation job.

*/ inline DescribeWorldGenerationJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

A map that contains tag keys and tag values that are attached to the world * generation job.

*/ inline DescribeWorldGenerationJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

A map that contains tag keys and tag values that are attached to the world * generation job.

*/ inline DescribeWorldGenerationJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

A map that contains tag keys and tag values that are attached to the world * generation job.

*/ inline DescribeWorldGenerationJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

A map that contains tag keys and tag values that are attached to the world * generation job.

*/ inline DescribeWorldGenerationJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

A map that contains tag keys and tag values that are attached to the world * generation job.

*/ inline DescribeWorldGenerationJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

A map that contains tag keys and tag values that are attached to the world * generation job.

*/ inline DescribeWorldGenerationJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

A map that contains tag keys and tag values that are attached to the * generated worlds.

*/ inline const Aws::Map& GetWorldTags() const{ return m_worldTags; } /** *

A map that contains tag keys and tag values that are attached to the * generated worlds.

*/ inline void SetWorldTags(const Aws::Map& value) { m_worldTags = value; } /** *

A map that contains tag keys and tag values that are attached to the * generated worlds.

*/ inline void SetWorldTags(Aws::Map&& value) { m_worldTags = std::move(value); } /** *

A map that contains tag keys and tag values that are attached to the * generated worlds.

*/ inline DescribeWorldGenerationJobResult& WithWorldTags(const Aws::Map& value) { SetWorldTags(value); return *this;} /** *

A map that contains tag keys and tag values that are attached to the * generated worlds.

*/ inline DescribeWorldGenerationJobResult& WithWorldTags(Aws::Map&& value) { SetWorldTags(std::move(value)); return *this;} /** *

A map that contains tag keys and tag values that are attached to the * generated worlds.

*/ inline DescribeWorldGenerationJobResult& AddWorldTags(const Aws::String& key, const Aws::String& value) { m_worldTags.emplace(key, value); return *this; } /** *

A map that contains tag keys and tag values that are attached to the * generated worlds.

*/ inline DescribeWorldGenerationJobResult& AddWorldTags(Aws::String&& key, const Aws::String& value) { m_worldTags.emplace(std::move(key), value); return *this; } /** *

A map that contains tag keys and tag values that are attached to the * generated worlds.

*/ inline DescribeWorldGenerationJobResult& AddWorldTags(const Aws::String& key, Aws::String&& value) { m_worldTags.emplace(key, std::move(value)); return *this; } /** *

A map that contains tag keys and tag values that are attached to the * generated worlds.

*/ inline DescribeWorldGenerationJobResult& AddWorldTags(Aws::String&& key, Aws::String&& value) { m_worldTags.emplace(std::move(key), std::move(value)); return *this; } /** *

A map that contains tag keys and tag values that are attached to the * generated worlds.

*/ inline DescribeWorldGenerationJobResult& AddWorldTags(const char* key, Aws::String&& value) { m_worldTags.emplace(key, std::move(value)); return *this; } /** *

A map that contains tag keys and tag values that are attached to the * generated worlds.

*/ inline DescribeWorldGenerationJobResult& AddWorldTags(Aws::String&& key, const char* value) { m_worldTags.emplace(std::move(key), value); return *this; } /** *

A map that contains tag keys and tag values that are attached to the * generated worlds.

*/ inline DescribeWorldGenerationJobResult& AddWorldTags(const char* key, const char* value) { m_worldTags.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeWorldGenerationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeWorldGenerationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeWorldGenerationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; WorldGenerationJobStatus m_status; Aws::Utils::DateTime m_createdAt; WorldGenerationJobErrorCode m_failureCode; Aws::String m_failureReason; Aws::String m_clientRequestToken; Aws::String m_template; WorldCount m_worldCount; FinishedWorldsSummary m_finishedWorldsSummary; Aws::Map m_tags; Aws::Map m_worldTags; Aws::String m_requestId; }; } // namespace Model } // namespace RoboMaker } // namespace Aws