/** * 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 RoboMaker { namespace Model { /** *

Information about a world.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the world.

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

The Amazon Resource Name (ARN) of the world.

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

The Amazon Resource Name (ARN) of the world.

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

The Amazon Resource Name (ARN) of the world.

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

The Amazon Resource Name (ARN) of the world.

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

The Amazon Resource Name (ARN) of the world.

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

The Amazon Resource Name (ARN) of the world.

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

The Amazon Resource Name (ARN) of the world.

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

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

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

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

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

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

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

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

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

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

*/ inline const Aws::String& GetGenerationJob() const{ return m_generationJob; } /** *

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

*/ inline bool GenerationJobHasBeenSet() const { return m_generationJobHasBeenSet; } /** *

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

*/ inline void SetGenerationJob(const Aws::String& value) { m_generationJobHasBeenSet = true; m_generationJob = value; } /** *

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

*/ inline void SetGenerationJob(Aws::String&& value) { m_generationJobHasBeenSet = true; m_generationJob = std::move(value); } /** *

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

*/ inline void SetGenerationJob(const char* value) { m_generationJobHasBeenSet = true; m_generationJob.assign(value); } /** *

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

*/ inline WorldSummary& WithGenerationJob(const Aws::String& value) { SetGenerationJob(value); return *this;} /** *

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

*/ inline WorldSummary& WithGenerationJob(Aws::String&& value) { SetGenerationJob(std::move(value)); return *this;} /** *

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

*/ inline WorldSummary& WithGenerationJob(const char* value) { SetGenerationJob(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 WorldSummary& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;} /** *

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

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

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

*/ inline WorldSummary& WithTemplate(const char* value) { SetTemplate(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_generationJob; bool m_generationJobHasBeenSet = false; Aws::String m_template; bool m_templateHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws