AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateWorldGenerationJobRequest.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/robomaker/RoboMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/robomaker/model/WorldCount.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace RoboMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_ROBOMAKER_API CreateWorldGenerationJobRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateWorldGenerationJob"; }
34
35 AWS_ROBOMAKER_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
44 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
45 template<typename ClientRequestTokenT = Aws::String>
46 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
47 template<typename ClientRequestTokenT = Aws::String>
48 CreateWorldGenerationJobRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
50
52
56 inline const Aws::String& GetTemplate() const { return m_template; }
57 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
58 template<typename TemplateT = Aws::String>
59 void SetTemplate(TemplateT&& value) { m_templateHasBeenSet = true; m_template = std::forward<TemplateT>(value); }
60 template<typename TemplateT = Aws::String>
61 CreateWorldGenerationJobRequest& WithTemplate(TemplateT&& value) { SetTemplate(std::forward<TemplateT>(value)); return *this;}
63
65
68 inline const WorldCount& GetWorldCount() const { return m_worldCount; }
69 inline bool WorldCountHasBeenSet() const { return m_worldCountHasBeenSet; }
70 template<typename WorldCountT = WorldCount>
71 void SetWorldCount(WorldCountT&& value) { m_worldCountHasBeenSet = true; m_worldCount = std::forward<WorldCountT>(value); }
72 template<typename WorldCountT = WorldCount>
73 CreateWorldGenerationJobRequest& WithWorldCount(WorldCountT&& value) { SetWorldCount(std::forward<WorldCountT>(value)); return *this;}
75
77
81 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
82 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
83 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
84 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
85 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
86 CreateWorldGenerationJobRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
87 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
88 CreateWorldGenerationJobRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
89 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
90 }
92
94
98 inline const Aws::Map<Aws::String, Aws::String>& GetWorldTags() const { return m_worldTags; }
99 inline bool WorldTagsHasBeenSet() const { return m_worldTagsHasBeenSet; }
100 template<typename WorldTagsT = Aws::Map<Aws::String, Aws::String>>
101 void SetWorldTags(WorldTagsT&& value) { m_worldTagsHasBeenSet = true; m_worldTags = std::forward<WorldTagsT>(value); }
102 template<typename WorldTagsT = Aws::Map<Aws::String, Aws::String>>
103 CreateWorldGenerationJobRequest& WithWorldTags(WorldTagsT&& value) { SetWorldTags(std::forward<WorldTagsT>(value)); return *this;}
104 template<typename WorldTagsKeyT = Aws::String, typename WorldTagsValueT = Aws::String>
105 CreateWorldGenerationJobRequest& AddWorldTags(WorldTagsKeyT&& key, WorldTagsValueT&& value) {
106 m_worldTagsHasBeenSet = true; m_worldTags.emplace(std::forward<WorldTagsKeyT>(key), std::forward<WorldTagsValueT>(value)); return *this;
107 }
109 private:
110
111 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
112 bool m_clientRequestTokenHasBeenSet = true;
113
114 Aws::String m_template;
115 bool m_templateHasBeenSet = false;
116
117 WorldCount m_worldCount;
118 bool m_worldCountHasBeenSet = false;
119
121 bool m_tagsHasBeenSet = false;
122
124 bool m_worldTagsHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace RoboMaker
129} // namespace Aws
CreateWorldGenerationJobRequest & WithTemplate(TemplateT &&value)
CreateWorldGenerationJobRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateWorldGenerationJobRequest & WithTags(TagsT &&value)
AWS_ROBOMAKER_API CreateWorldGenerationJobRequest()=default
CreateWorldGenerationJobRequest & WithClientRequestToken(ClientRequestTokenT &&value)
CreateWorldGenerationJobRequest & AddWorldTags(WorldTagsKeyT &&key, WorldTagsValueT &&value)
CreateWorldGenerationJobRequest & WithWorldTags(WorldTagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_ROBOMAKER_API Aws::String SerializePayload() const override
CreateWorldGenerationJobRequest & WithWorldCount(WorldCountT &&value)
const Aws::Map< Aws::String, Aws::String > & GetWorldTags() const
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String