/** * 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 RoboMaker { namespace Model { /** */ class CreateWorldGenerationJobRequest : public RoboMakerRequest { public: AWS_ROBOMAKER_API CreateWorldGenerationJobRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateWorldGenerationJob"; } AWS_ROBOMAKER_API Aws::String SerializePayload() const override; /** *

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 bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } /** *

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

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

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

*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; 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_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } /** *

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

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

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

*/ inline CreateWorldGenerationJobRequest& 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 CreateWorldGenerationJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *

The Amazon Resource Name (arn) of the world template describing the worlds * you want to create.

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

The Amazon Resource Name (arn) of the world template describing the worlds * you want to create.

*/ inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } /** *

The Amazon Resource Name (arn) of the world template describing the worlds * you want to create.

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

The Amazon Resource Name (arn) of the world template describing the worlds * you want to create.

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

The Amazon Resource Name (arn) of the world template describing the worlds * you want to create.

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

The Amazon Resource Name (arn) of the world template describing the worlds * you want to create.

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

The Amazon Resource Name (arn) of the world template describing the worlds * you want to create.

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

The Amazon Resource Name (arn) of the world template describing the worlds * you want to create.

*/ inline CreateWorldGenerationJobRequest& 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 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 CreateWorldGenerationJobRequest& WithWorldCount(const WorldCount& value) { SetWorldCount(value); return *this;} /** *

Information about the world count.

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

A map that contains tag keys and tag values that are attached to the world * generator 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 * generator job.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

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

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

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

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

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

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

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

*/ inline CreateWorldGenerationJobRequest& 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 * generator job.

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

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

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

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

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

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

*/ inline CreateWorldGenerationJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; 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 * generator job.

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

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

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

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

*/ inline CreateWorldGenerationJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; 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 bool WorldTagsHasBeenSet() const { return m_worldTagsHasBeenSet; } /** *

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

*/ inline void SetWorldTags(const Aws::Map& value) { m_worldTagsHasBeenSet = true; 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_worldTagsHasBeenSet = true; m_worldTags = std::move(value); } /** *

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

*/ inline CreateWorldGenerationJobRequest& 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 CreateWorldGenerationJobRequest& 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 CreateWorldGenerationJobRequest& AddWorldTags(const Aws::String& key, const Aws::String& value) { m_worldTagsHasBeenSet = true; m_worldTags.emplace(key, value); return *this; } /** *

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

*/ inline CreateWorldGenerationJobRequest& AddWorldTags(Aws::String&& key, const Aws::String& value) { m_worldTagsHasBeenSet = true; 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 CreateWorldGenerationJobRequest& AddWorldTags(const Aws::String& key, Aws::String&& value) { m_worldTagsHasBeenSet = true; 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 CreateWorldGenerationJobRequest& AddWorldTags(Aws::String&& key, Aws::String&& value) { m_worldTagsHasBeenSet = true; 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 CreateWorldGenerationJobRequest& AddWorldTags(const char* key, Aws::String&& value) { m_worldTagsHasBeenSet = true; 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 CreateWorldGenerationJobRequest& AddWorldTags(Aws::String&& key, const char* value) { m_worldTagsHasBeenSet = true; 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 CreateWorldGenerationJobRequest& AddWorldTags(const char* key, const char* value) { m_worldTagsHasBeenSet = true; m_worldTags.emplace(key, value); return *this; } private: Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; Aws::String m_template; bool m_templateHasBeenSet = false; WorldCount m_worldCount; bool m_worldCountHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; Aws::Map m_worldTags; bool m_worldTagsHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws