/** * 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 namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace RoboMaker { namespace Model { /** *

Information about a world export job.

See Also:

AWS * API Reference

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

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

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

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

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

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

The status of the world export job.

Pending

The * world export job request is pending.

Running

The * world export job is running.

Completed

The world * export job completed.

Failed

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

*
Canceled

The world export job was cancelled.

*
Canceling

The world export job is being cancelled.

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

The status of the world export job.

Pending

The * world export job request is pending.

Running

The * world export job is running.

Completed

The world * export job completed.

Failed

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

*
Canceled

The world export job was cancelled.

*
Canceling

The world export job is being cancelled.

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

The status of the world export job.

Pending

The * world export job request is pending.

Running

The * world export job is running.

Completed

The world * export job completed.

Failed

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

*
Canceled

The world export job was cancelled.

*
Canceling

The world export job is being cancelled.

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

The status of the world export job.

Pending

The * world export job request is pending.

Running

The * world export job is running.

Completed

The world * export job completed.

Failed

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

*
Canceled

The world export job was cancelled.

*
Canceling

The world export job is being cancelled.

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

The status of the world export job.

Pending

The * world export job request is pending.

Running

The * world export job is running.

Completed

The world * export job completed.

Failed

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

*
Canceled

The world export job was cancelled.

*
Canceling

The world export job is being cancelled.

*
*/ inline WorldExportJobSummary& WithStatus(const WorldExportJobStatus& value) { SetStatus(value); return *this;} /** *

The status of the world export job.

Pending

The * world export job request is pending.

Running

The * world export job is running.

Completed

The world * export job completed.

Failed

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

*
Canceled

The world export job was cancelled.

*
Canceling

The world export job is being cancelled.

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

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

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

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

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The time, in milliseconds since the epoch, when the world export 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 export 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 export job was * created.

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

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

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

A list of worlds.

*/ inline const Aws::Vector& GetWorlds() const{ return m_worlds; } /** *

A list of worlds.

*/ inline bool WorldsHasBeenSet() const { return m_worldsHasBeenSet; } /** *

A list of worlds.

*/ inline void SetWorlds(const Aws::Vector& value) { m_worldsHasBeenSet = true; m_worlds = value; } /** *

A list of worlds.

*/ inline void SetWorlds(Aws::Vector&& value) { m_worldsHasBeenSet = true; m_worlds = std::move(value); } /** *

A list of worlds.

*/ inline WorldExportJobSummary& WithWorlds(const Aws::Vector& value) { SetWorlds(value); return *this;} /** *

A list of worlds.

*/ inline WorldExportJobSummary& WithWorlds(Aws::Vector&& value) { SetWorlds(std::move(value)); return *this;} /** *

A list of worlds.

*/ inline WorldExportJobSummary& AddWorlds(const Aws::String& value) { m_worldsHasBeenSet = true; m_worlds.push_back(value); return *this; } /** *

A list of worlds.

*/ inline WorldExportJobSummary& AddWorlds(Aws::String&& value) { m_worldsHasBeenSet = true; m_worlds.push_back(std::move(value)); return *this; } /** *

A list of worlds.

*/ inline WorldExportJobSummary& AddWorlds(const char* value) { m_worldsHasBeenSet = true; m_worlds.push_back(value); return *this; } inline const OutputLocation& GetOutputLocation() const{ return m_outputLocation; } inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; } inline void SetOutputLocation(const OutputLocation& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; } inline void SetOutputLocation(OutputLocation&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); } inline WorldExportJobSummary& WithOutputLocation(const OutputLocation& value) { SetOutputLocation(value); return *this;} inline WorldExportJobSummary& WithOutputLocation(OutputLocation&& value) { SetOutputLocation(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; WorldExportJobStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Vector m_worlds; bool m_worldsHasBeenSet = false; OutputLocation m_outputLocation; bool m_outputLocationHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws