/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 DescribeWorldResult { public: AWS_ROBOMAKER_API DescribeWorldResult(); AWS_ROBOMAKER_API DescribeWorldResult(const Aws::AmazonWebServiceResult& result); AWS_ROBOMAKER_API DescribeWorldResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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 void SetArn(const Aws::String& value) { m_arn = value; } /** *

The Amazon Resource Name (arn) of the world.

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

The Amazon Resource Name (arn) of the world.

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

The Amazon Resource Name (arn) of the world.

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

The Amazon Resource Name (arn) of the world.

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

The Amazon Resource Name (arn) of the world.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline DescribeWorldResult& WithGenerationJob(const char* value) { SetGenerationJob(value); return *this;} /** *

The world template.

*/ inline const Aws::String& GetTemplate() const{ return m_template; } /** *

The world template.

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

The world template.

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

The world template.

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

The world template.

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

The world template.

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

The world template.

*/ inline DescribeWorldResult& WithTemplate(const char* value) { SetTemplate(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 void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

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

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

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

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

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

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

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

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

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

*/ 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.

*/ 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.

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

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

*/ inline DescribeWorldResult& 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.

*/ inline DescribeWorldResult& 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.

*/ inline DescribeWorldResult& 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.

*/ inline DescribeWorldResult& 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.

*/ inline DescribeWorldResult& 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.

*/ inline DescribeWorldResult& 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.

*/ inline DescribeWorldResult& 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.

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

Returns the JSON formatted string that describes the contents of your * world.

*/ inline const Aws::String& GetWorldDescriptionBody() const{ return m_worldDescriptionBody; } /** *

Returns the JSON formatted string that describes the contents of your * world.

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

Returns the JSON formatted string that describes the contents of your * world.

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

Returns the JSON formatted string that describes the contents of your * world.

*/ inline void SetWorldDescriptionBody(const char* value) { m_worldDescriptionBody.assign(value); } /** *

Returns the JSON formatted string that describes the contents of your * world.

*/ inline DescribeWorldResult& WithWorldDescriptionBody(const Aws::String& value) { SetWorldDescriptionBody(value); return *this;} /** *

Returns the JSON formatted string that describes the contents of your * world.

*/ inline DescribeWorldResult& WithWorldDescriptionBody(Aws::String&& value) { SetWorldDescriptionBody(std::move(value)); return *this;} /** *

Returns the JSON formatted string that describes the contents of your * world.

*/ inline DescribeWorldResult& WithWorldDescriptionBody(const char* value) { SetWorldDescriptionBody(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 DescribeWorldResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeWorldResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeWorldResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_generationJob; Aws::String m_template; Aws::Utils::DateTime m_createdAt; Aws::Map m_tags; Aws::String m_worldDescriptionBody; Aws::String m_requestId; }; } // namespace Model } // namespace RoboMaker } // namespace Aws