AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
46 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
47 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
50 inline CreateWorldGenerationJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
52
54
58 inline const Aws::String& GetTemplate() const{ return m_template; }
59 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
60 inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; }
61 inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
62 inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); }
63 inline CreateWorldGenerationJobRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
64 inline CreateWorldGenerationJobRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
65 inline CreateWorldGenerationJobRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;}
67
69
72 inline const WorldCount& GetWorldCount() const{ return m_worldCount; }
73 inline bool WorldCountHasBeenSet() const { return m_worldCountHasBeenSet; }
74 inline void SetWorldCount(const WorldCount& value) { m_worldCountHasBeenSet = true; m_worldCount = value; }
75 inline void SetWorldCount(WorldCount&& value) { m_worldCountHasBeenSet = true; m_worldCount = std::move(value); }
76 inline CreateWorldGenerationJobRequest& WithWorldCount(const WorldCount& value) { SetWorldCount(value); return *this;}
77 inline CreateWorldGenerationJobRequest& WithWorldCount(WorldCount&& value) { SetWorldCount(std::move(value)); return *this;}
79
81
85 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
86 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
87 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
88 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
90 inline CreateWorldGenerationJobRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
91 inline CreateWorldGenerationJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
92 inline CreateWorldGenerationJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
93 inline CreateWorldGenerationJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
94 inline CreateWorldGenerationJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
95 inline CreateWorldGenerationJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
96 inline CreateWorldGenerationJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
97 inline CreateWorldGenerationJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
99
101
105 inline const Aws::Map<Aws::String, Aws::String>& GetWorldTags() const{ return m_worldTags; }
106 inline bool WorldTagsHasBeenSet() const { return m_worldTagsHasBeenSet; }
107 inline void SetWorldTags(const Aws::Map<Aws::String, Aws::String>& value) { m_worldTagsHasBeenSet = true; m_worldTags = value; }
108 inline void SetWorldTags(Aws::Map<Aws::String, Aws::String>&& value) { m_worldTagsHasBeenSet = true; m_worldTags = std::move(value); }
111 inline CreateWorldGenerationJobRequest& AddWorldTags(const Aws::String& key, const Aws::String& value) { m_worldTagsHasBeenSet = true; m_worldTags.emplace(key, value); return *this; }
112 inline CreateWorldGenerationJobRequest& AddWorldTags(Aws::String&& key, const Aws::String& value) { m_worldTagsHasBeenSet = true; m_worldTags.emplace(std::move(key), value); return *this; }
113 inline CreateWorldGenerationJobRequest& AddWorldTags(const Aws::String& key, Aws::String&& value) { m_worldTagsHasBeenSet = true; m_worldTags.emplace(key, std::move(value)); return *this; }
114 inline CreateWorldGenerationJobRequest& AddWorldTags(Aws::String&& key, Aws::String&& value) { m_worldTagsHasBeenSet = true; m_worldTags.emplace(std::move(key), std::move(value)); return *this; }
115 inline CreateWorldGenerationJobRequest& AddWorldTags(const char* key, Aws::String&& value) { m_worldTagsHasBeenSet = true; m_worldTags.emplace(key, std::move(value)); return *this; }
116 inline CreateWorldGenerationJobRequest& AddWorldTags(Aws::String&& key, const char* value) { m_worldTagsHasBeenSet = true; m_worldTags.emplace(std::move(key), value); return *this; }
117 inline CreateWorldGenerationJobRequest& AddWorldTags(const char* key, const char* value) { m_worldTagsHasBeenSet = true; m_worldTags.emplace(key, value); return *this; }
119 private:
120
121 Aws::String m_clientRequestToken;
122 bool m_clientRequestTokenHasBeenSet = false;
123
124 Aws::String m_template;
125 bool m_templateHasBeenSet = false;
126
127 WorldCount m_worldCount;
128 bool m_worldCountHasBeenSet = false;
129
131 bool m_tagsHasBeenSet = false;
132
134 bool m_worldTagsHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace RoboMaker
139} // namespace Aws
CreateWorldGenerationJobRequest & AddWorldTags(const char *key, const char *value)
CreateWorldGenerationJobRequest & WithTemplate(const char *value)
CreateWorldGenerationJobRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateWorldGenerationJobRequest & AddWorldTags(const char *key, Aws::String &&value)
void SetWorldTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateWorldGenerationJobRequest & AddWorldTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateWorldGenerationJobRequest & AddTags(const char *key, Aws::String &&value)
CreateWorldGenerationJobRequest & WithClientRequestToken(const Aws::String &value)
CreateWorldGenerationJobRequest & WithWorldTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateWorldGenerationJobRequest & WithClientRequestToken(const char *value)
CreateWorldGenerationJobRequest & AddWorldTags(const Aws::String &key, Aws::String &&value)
CreateWorldGenerationJobRequest & AddTags(Aws::String &&key, const char *value)
CreateWorldGenerationJobRequest & WithTemplate(const Aws::String &value)
CreateWorldGenerationJobRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateWorldGenerationJobRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetWorldTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateWorldGenerationJobRequest & WithWorldTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateWorldGenerationJobRequest & AddWorldTags(Aws::String &&key, const Aws::String &value)
CreateWorldGenerationJobRequest & WithWorldCount(const WorldCount &value)
AWS_ROBOMAKER_API Aws::String SerializePayload() const override
CreateWorldGenerationJobRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateWorldGenerationJobRequest & WithWorldCount(WorldCount &&value)
CreateWorldGenerationJobRequest & WithClientRequestToken(Aws::String &&value)
CreateWorldGenerationJobRequest & WithTemplate(Aws::String &&value)
CreateWorldGenerationJobRequest & AddWorldTags(Aws::String &&key, Aws::String &&value)
CreateWorldGenerationJobRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateWorldGenerationJobRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateWorldGenerationJobRequest & AddWorldTags(Aws::String &&key, const char *value)
CreateWorldGenerationJobRequest & AddTags(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetWorldTags() const
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