AWS SDK for C++  1.9.20
AWS SDK for C++
CreateWorldGenerationJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 #include <aws/core/utils/UUID.h>
14 
15 namespace Aws
16 {
17 namespace RoboMaker
18 {
19 namespace Model
20 {
21 
25  {
26  public:
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::String SerializePayload() const override;
36 
37 
42  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
43 
48  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
49 
54  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
55 
60  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
61 
66  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
67 
72  inline CreateWorldGenerationJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
73 
78  inline CreateWorldGenerationJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
79 
84  inline CreateWorldGenerationJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
85 
86 
91  inline const Aws::String& GetTemplate() const{ return m_template; }
92 
97  inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
98 
103  inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; }
104 
109  inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
110 
115  inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); }
116 
121  inline CreateWorldGenerationJobRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
122 
127  inline CreateWorldGenerationJobRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
128 
133  inline CreateWorldGenerationJobRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;}
134 
135 
139  inline const WorldCount& GetWorldCount() const{ return m_worldCount; }
140 
144  inline bool WorldCountHasBeenSet() const { return m_worldCountHasBeenSet; }
145 
149  inline void SetWorldCount(const WorldCount& value) { m_worldCountHasBeenSet = true; m_worldCount = value; }
150 
154  inline void SetWorldCount(WorldCount&& value) { m_worldCountHasBeenSet = true; m_worldCount = std::move(value); }
155 
159  inline CreateWorldGenerationJobRequest& WithWorldCount(const WorldCount& value) { SetWorldCount(value); return *this;}
160 
164  inline CreateWorldGenerationJobRequest& WithWorldCount(WorldCount&& value) { SetWorldCount(std::move(value)); return *this;}
165 
166 
171  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
172 
177  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
178 
183  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
184 
189  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
190 
195  inline CreateWorldGenerationJobRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
196 
201  inline CreateWorldGenerationJobRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
202 
207  inline CreateWorldGenerationJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
208 
213  inline CreateWorldGenerationJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
214 
219  inline CreateWorldGenerationJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
220 
225  inline CreateWorldGenerationJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
226 
231  inline CreateWorldGenerationJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
232 
237  inline CreateWorldGenerationJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
238 
243  inline CreateWorldGenerationJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
244 
245 
250  inline const Aws::Map<Aws::String, Aws::String>& GetWorldTags() const{ return m_worldTags; }
251 
256  inline bool WorldTagsHasBeenSet() const { return m_worldTagsHasBeenSet; }
257 
262  inline void SetWorldTags(const Aws::Map<Aws::String, Aws::String>& value) { m_worldTagsHasBeenSet = true; m_worldTags = value; }
263 
268  inline void SetWorldTags(Aws::Map<Aws::String, Aws::String>&& value) { m_worldTagsHasBeenSet = true; m_worldTags = std::move(value); }
269 
274  inline CreateWorldGenerationJobRequest& WithWorldTags(const Aws::Map<Aws::String, Aws::String>& value) { SetWorldTags(value); return *this;}
275 
280  inline CreateWorldGenerationJobRequest& WithWorldTags(Aws::Map<Aws::String, Aws::String>&& value) { SetWorldTags(std::move(value)); return *this;}
281 
286  inline CreateWorldGenerationJobRequest& AddWorldTags(const Aws::String& key, const Aws::String& value) { m_worldTagsHasBeenSet = true; m_worldTags.emplace(key, value); return *this; }
287 
292  inline CreateWorldGenerationJobRequest& AddWorldTags(Aws::String&& key, const Aws::String& value) { m_worldTagsHasBeenSet = true; m_worldTags.emplace(std::move(key), value); return *this; }
293 
298  inline CreateWorldGenerationJobRequest& AddWorldTags(const Aws::String& key, Aws::String&& value) { m_worldTagsHasBeenSet = true; m_worldTags.emplace(key, std::move(value)); return *this; }
299 
304  inline CreateWorldGenerationJobRequest& AddWorldTags(Aws::String&& key, Aws::String&& value) { m_worldTagsHasBeenSet = true; m_worldTags.emplace(std::move(key), std::move(value)); return *this; }
305 
310  inline CreateWorldGenerationJobRequest& AddWorldTags(const char* key, Aws::String&& value) { m_worldTagsHasBeenSet = true; m_worldTags.emplace(key, std::move(value)); return *this; }
311 
316  inline CreateWorldGenerationJobRequest& AddWorldTags(Aws::String&& key, const char* value) { m_worldTagsHasBeenSet = true; m_worldTags.emplace(std::move(key), value); return *this; }
317 
322  inline CreateWorldGenerationJobRequest& AddWorldTags(const char* key, const char* value) { m_worldTagsHasBeenSet = true; m_worldTags.emplace(key, value); return *this; }
323 
324  private:
325 
326  Aws::String m_clientRequestToken;
327  bool m_clientRequestTokenHasBeenSet;
328 
329  Aws::String m_template;
330  bool m_templateHasBeenSet;
331 
332  WorldCount m_worldCount;
333  bool m_worldCountHasBeenSet;
334 
336  bool m_tagsHasBeenSet;
337 
339  bool m_worldTagsHasBeenSet;
340  };
341 
342 } // namespace Model
343 } // namespace RoboMaker
344 } // namespace Aws
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::WorldCountHasBeenSet
bool WorldCountHasBeenSet() const
Definition: CreateWorldGenerationJobRequest.h:144
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::SetWorldTags
void SetWorldTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateWorldGenerationJobRequest.h:268
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::AddTags
CreateWorldGenerationJobRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateWorldGenerationJobRequest.h:207
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::AddTags
CreateWorldGenerationJobRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateWorldGenerationJobRequest.h:231
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::WorldTagsHasBeenSet
bool WorldTagsHasBeenSet() const
Definition: CreateWorldGenerationJobRequest.h:256
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::WithClientRequestToken
CreateWorldGenerationJobRequest & WithClientRequestToken(const char *value)
Definition: CreateWorldGenerationJobRequest.h:84
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::WithClientRequestToken
CreateWorldGenerationJobRequest & WithClientRequestToken(const Aws::String &value)
Definition: CreateWorldGenerationJobRequest.h:72
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::AddWorldTags
CreateWorldGenerationJobRequest & AddWorldTags(const Aws::String &key, const Aws::String &value)
Definition: CreateWorldGenerationJobRequest.h:286
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::SetWorldCount
void SetWorldCount(const WorldCount &value)
Definition: CreateWorldGenerationJobRequest.h:149
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::TemplateHasBeenSet
bool TemplateHasBeenSet() const
Definition: CreateWorldGenerationJobRequest.h:97
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::AddTags
CreateWorldGenerationJobRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateWorldGenerationJobRequest.h:219
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::WithWorldCount
CreateWorldGenerationJobRequest & WithWorldCount(const WorldCount &value)
Definition: CreateWorldGenerationJobRequest.h:159
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::WithWorldTags
CreateWorldGenerationJobRequest & WithWorldTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateWorldGenerationJobRequest.h:280
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::WithTemplate
CreateWorldGenerationJobRequest & WithTemplate(const char *value)
Definition: CreateWorldGenerationJobRequest.h:133
Aws::RoboMaker::Model::WorldCount
Definition: WorldCount.h:37
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: CreateWorldGenerationJobRequest.h:48
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::WithTemplate
CreateWorldGenerationJobRequest & WithTemplate(Aws::String &&value)
Definition: CreateWorldGenerationJobRequest.h:127
RoboMakerRequest.h
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::SetTemplate
void SetTemplate(Aws::String &&value)
Definition: CreateWorldGenerationJobRequest.h:109
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::WithTags
CreateWorldGenerationJobRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateWorldGenerationJobRequest.h:201
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::CreateWorldGenerationJobRequest
CreateWorldGenerationJobRequest()
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateWorldGenerationJobRequest.h:177
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateWorldGenerationJobRequest.h:33
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::AddWorldTags
CreateWorldGenerationJobRequest & AddWorldTags(Aws::String &&key, const char *value)
Definition: CreateWorldGenerationJobRequest.h:316
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::GetWorldTags
const Aws::Map< Aws::String, Aws::String > & GetWorldTags() const
Definition: CreateWorldGenerationJobRequest.h:250
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::AddWorldTags
CreateWorldGenerationJobRequest & AddWorldTags(const char *key, const char *value)
Definition: CreateWorldGenerationJobRequest.h:322
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: CreateWorldGenerationJobRequest.h:66
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateWorldGenerationJobRequest.h:171
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::AddWorldTags
CreateWorldGenerationJobRequest & AddWorldTags(Aws::String &&key, Aws::String &&value)
Definition: CreateWorldGenerationJobRequest.h:304
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::SetTemplate
void SetTemplate(const Aws::String &value)
Definition: CreateWorldGenerationJobRequest.h:103
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::SetWorldTags
void SetWorldTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateWorldGenerationJobRequest.h:262
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::AddWorldTags
CreateWorldGenerationJobRequest & AddWorldTags(const Aws::String &key, Aws::String &&value)
Definition: CreateWorldGenerationJobRequest.h:298
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::SetWorldCount
void SetWorldCount(WorldCount &&value)
Definition: CreateWorldGenerationJobRequest.h:154
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::AddTags
CreateWorldGenerationJobRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateWorldGenerationJobRequest.h:237
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateWorldGenerationJobRequest.h:183
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::WithTemplate
CreateWorldGenerationJobRequest & WithTemplate(const Aws::String &value)
Definition: CreateWorldGenerationJobRequest.h:121
AWSString.h
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::WithClientRequestToken
CreateWorldGenerationJobRequest & WithClientRequestToken(Aws::String &&value)
Definition: CreateWorldGenerationJobRequest.h:78
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::WithWorldTags
CreateWorldGenerationJobRequest & WithWorldTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateWorldGenerationJobRequest.h:274
WorldCount.h
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::AddWorldTags
CreateWorldGenerationJobRequest & AddWorldTags(const char *key, Aws::String &&value)
Definition: CreateWorldGenerationJobRequest.h:310
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest
Definition: CreateWorldGenerationJobRequest.h:25
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: CreateWorldGenerationJobRequest.h:54
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::SetTemplate
void SetTemplate(const char *value)
Definition: CreateWorldGenerationJobRequest.h:115
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::AddWorldTags
CreateWorldGenerationJobRequest & AddWorldTags(Aws::String &&key, const Aws::String &value)
Definition: CreateWorldGenerationJobRequest.h:292
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::WithWorldCount
CreateWorldGenerationJobRequest & WithWorldCount(WorldCount &&value)
Definition: CreateWorldGenerationJobRequest.h:164
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::AddTags
CreateWorldGenerationJobRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateWorldGenerationJobRequest.h:213
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::AddTags
CreateWorldGenerationJobRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateWorldGenerationJobRequest.h:225
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::GetWorldCount
const WorldCount & GetWorldCount() const
Definition: CreateWorldGenerationJobRequest.h:139
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::AddTags
CreateWorldGenerationJobRequest & AddTags(const char *key, const char *value)
Definition: CreateWorldGenerationJobRequest.h:243
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateWorldGenerationJobRequest.h:189
UUID.h
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: CreateWorldGenerationJobRequest.h:42
AWSMap.h
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: CreateWorldGenerationJobRequest.h:60
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::GetTemplate
const Aws::String & GetTemplate() const
Definition: CreateWorldGenerationJobRequest.h:91
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::RoboMaker::Model::CreateWorldGenerationJobRequest::WithTags
CreateWorldGenerationJobRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateWorldGenerationJobRequest.h:195