AWS SDK for C++  1.9.20
AWS SDK for C++
CreateWorldExportJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 #include <aws/core/utils/UUID.h>
15 
16 namespace Aws
17 {
18 namespace RoboMaker
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CreateWorldExportJob"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
43  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
44 
49  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
50 
55  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
56 
61  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
62 
67  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
68 
73  inline CreateWorldExportJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
74 
79  inline CreateWorldExportJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
80 
85  inline CreateWorldExportJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
86 
87 
92  inline const Aws::Vector<Aws::String>& GetWorlds() const{ return m_worlds; }
93 
98  inline bool WorldsHasBeenSet() const { return m_worldsHasBeenSet; }
99 
104  inline void SetWorlds(const Aws::Vector<Aws::String>& value) { m_worldsHasBeenSet = true; m_worlds = value; }
105 
110  inline void SetWorlds(Aws::Vector<Aws::String>&& value) { m_worldsHasBeenSet = true; m_worlds = std::move(value); }
111 
116  inline CreateWorldExportJobRequest& WithWorlds(const Aws::Vector<Aws::String>& value) { SetWorlds(value); return *this;}
117 
122  inline CreateWorldExportJobRequest& WithWorlds(Aws::Vector<Aws::String>&& value) { SetWorlds(std::move(value)); return *this;}
123 
128  inline CreateWorldExportJobRequest& AddWorlds(const Aws::String& value) { m_worldsHasBeenSet = true; m_worlds.push_back(value); return *this; }
129 
134  inline CreateWorldExportJobRequest& AddWorlds(Aws::String&& value) { m_worldsHasBeenSet = true; m_worlds.push_back(std::move(value)); return *this; }
135 
140  inline CreateWorldExportJobRequest& AddWorlds(const char* value) { m_worldsHasBeenSet = true; m_worlds.push_back(value); return *this; }
141 
142 
143 
144  inline const OutputLocation& GetOutputLocation() const{ return m_outputLocation; }
145 
146 
147  inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
148 
149 
150  inline void SetOutputLocation(const OutputLocation& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; }
151 
152 
153  inline void SetOutputLocation(OutputLocation&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); }
154 
155 
156  inline CreateWorldExportJobRequest& WithOutputLocation(const OutputLocation& value) { SetOutputLocation(value); return *this;}
157 
158 
159  inline CreateWorldExportJobRequest& WithOutputLocation(OutputLocation&& value) { SetOutputLocation(std::move(value)); return *this;}
160 
161 
166  inline const Aws::String& GetIamRole() const{ return m_iamRole; }
167 
172  inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; }
173 
178  inline void SetIamRole(const Aws::String& value) { m_iamRoleHasBeenSet = true; m_iamRole = value; }
179 
184  inline void SetIamRole(Aws::String&& value) { m_iamRoleHasBeenSet = true; m_iamRole = std::move(value); }
185 
190  inline void SetIamRole(const char* value) { m_iamRoleHasBeenSet = true; m_iamRole.assign(value); }
191 
196  inline CreateWorldExportJobRequest& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;}
197 
202  inline CreateWorldExportJobRequest& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;}
203 
208  inline CreateWorldExportJobRequest& WithIamRole(const char* value) { SetIamRole(value); return *this;}
209 
210 
215  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
216 
221  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
222 
227  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
228 
233  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
234 
239  inline CreateWorldExportJobRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
240 
245  inline CreateWorldExportJobRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
246 
251  inline CreateWorldExportJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
252 
257  inline CreateWorldExportJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
258 
263  inline CreateWorldExportJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
264 
269  inline CreateWorldExportJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
270 
275  inline CreateWorldExportJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
276 
281  inline CreateWorldExportJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
282 
287  inline CreateWorldExportJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
288 
289  private:
290 
291  Aws::String m_clientRequestToken;
292  bool m_clientRequestTokenHasBeenSet;
293 
294  Aws::Vector<Aws::String> m_worlds;
295  bool m_worldsHasBeenSet;
296 
297  OutputLocation m_outputLocation;
298  bool m_outputLocationHasBeenSet;
299 
300  Aws::String m_iamRole;
301  bool m_iamRoleHasBeenSet;
302 
304  bool m_tagsHasBeenSet;
305  };
306 
307 } // namespace Model
308 } // namespace RoboMaker
309 } // namespace Aws
Aws::RoboMaker::Model::CreateWorldExportJobRequest::AddTags
CreateWorldExportJobRequest & AddTags(const char *key, const char *value)
Definition: CreateWorldExportJobRequest.h:287
Aws::RoboMaker::Model::CreateWorldExportJobRequest::GetIamRole
const Aws::String & GetIamRole() const
Definition: CreateWorldExportJobRequest.h:166
Aws::RoboMaker::Model::CreateWorldExportJobRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateWorldExportJobRequest.h:233
Aws::RoboMaker::Model::CreateWorldExportJobRequest::SetIamRole
void SetIamRole(Aws::String &&value)
Definition: CreateWorldExportJobRequest.h:184
Aws::RoboMaker::Model::CreateWorldExportJobRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateWorldExportJobRequest.h:227
Aws::RoboMaker::Model::CreateWorldExportJobRequest::WithOutputLocation
CreateWorldExportJobRequest & WithOutputLocation(OutputLocation &&value)
Definition: CreateWorldExportJobRequest.h:159
Aws::RoboMaker::Model::CreateWorldExportJobRequest::AddTags
CreateWorldExportJobRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateWorldExportJobRequest.h:269
Aws::RoboMaker::Model::CreateWorldExportJobRequest::AddTags
CreateWorldExportJobRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateWorldExportJobRequest.h:263
Aws::RoboMaker::Model::CreateWorldExportJobRequest::WithClientRequestToken
CreateWorldExportJobRequest & WithClientRequestToken(Aws::String &&value)
Definition: CreateWorldExportJobRequest.h:79
Aws::RoboMaker::Model::CreateWorldExportJobRequest::WithIamRole
CreateWorldExportJobRequest & WithIamRole(const char *value)
Definition: CreateWorldExportJobRequest.h:208
RoboMakerRequest.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
OutputLocation.h
Aws::RoboMaker::Model::CreateWorldExportJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RoboMaker::Model::CreateWorldExportJobRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: CreateWorldExportJobRequest.h:43
Aws::RoboMaker::Model::CreateWorldExportJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateWorldExportJobRequest.h:34
AWSVector.h
Aws::RoboMaker::Model::CreateWorldExportJobRequest::WithClientRequestToken
CreateWorldExportJobRequest & WithClientRequestToken(const char *value)
Definition: CreateWorldExportJobRequest.h:85
Aws::RoboMaker::Model::CreateWorldExportJobRequest::SetOutputLocation
void SetOutputLocation(OutputLocation &&value)
Definition: CreateWorldExportJobRequest.h:153
Aws::RoboMaker::Model::CreateWorldExportJobRequest::WorldsHasBeenSet
bool WorldsHasBeenSet() const
Definition: CreateWorldExportJobRequest.h:98
Aws::RoboMaker::Model::CreateWorldExportJobRequest::AddTags
CreateWorldExportJobRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateWorldExportJobRequest.h:257
Aws::RoboMaker::Model::CreateWorldExportJobRequest::OutputLocationHasBeenSet
bool OutputLocationHasBeenSet() const
Definition: CreateWorldExportJobRequest.h:147
Aws::RoboMaker::Model::CreateWorldExportJobRequest::AddTags
CreateWorldExportJobRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateWorldExportJobRequest.h:251
Aws::RoboMaker::Model::CreateWorldExportJobRequest::IamRoleHasBeenSet
bool IamRoleHasBeenSet() const
Definition: CreateWorldExportJobRequest.h:172
Aws::RoboMaker::Model::CreateWorldExportJobRequest::SetIamRole
void SetIamRole(const char *value)
Definition: CreateWorldExportJobRequest.h:190
Aws::RoboMaker::Model::CreateWorldExportJobRequest::CreateWorldExportJobRequest
CreateWorldExportJobRequest()
Aws::RoboMaker::Model::CreateWorldExportJobRequest::WithIamRole
CreateWorldExportJobRequest & WithIamRole(Aws::String &&value)
Definition: CreateWorldExportJobRequest.h:202
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::CreateWorldExportJobRequest::AddWorlds
CreateWorldExportJobRequest & AddWorlds(const char *value)
Definition: CreateWorldExportJobRequest.h:140
Aws::RoboMaker::Model::CreateWorldExportJobRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateWorldExportJobRequest.h:215
Aws::RoboMaker::Model::OutputLocation
Definition: OutputLocation.h:32
Aws::RoboMaker::Model::CreateWorldExportJobRequest::AddTags
CreateWorldExportJobRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateWorldExportJobRequest.h:281
Aws::RoboMaker::Model::CreateWorldExportJobRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: CreateWorldExportJobRequest.h:61
Aws::RoboMaker::Model::CreateWorldExportJobRequest
Definition: CreateWorldExportJobRequest.h:26
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::CreateWorldExportJobRequest::SetWorlds
void SetWorlds(Aws::Vector< Aws::String > &&value)
Definition: CreateWorldExportJobRequest.h:110
AWSString.h
Aws::RoboMaker::Model::CreateWorldExportJobRequest::WithClientRequestToken
CreateWorldExportJobRequest & WithClientRequestToken(const Aws::String &value)
Definition: CreateWorldExportJobRequest.h:73
Aws::RoboMaker::Model::CreateWorldExportJobRequest::AddWorlds
CreateWorldExportJobRequest & AddWorlds(const Aws::String &value)
Definition: CreateWorldExportJobRequest.h:128
Aws::RoboMaker::Model::CreateWorldExportJobRequest::WithTags
CreateWorldExportJobRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateWorldExportJobRequest.h:245
Aws::RoboMaker::Model::CreateWorldExportJobRequest::WithOutputLocation
CreateWorldExportJobRequest & WithOutputLocation(const OutputLocation &value)
Definition: CreateWorldExportJobRequest.h:156
Aws::RoboMaker::Model::CreateWorldExportJobRequest::SetOutputLocation
void SetOutputLocation(const OutputLocation &value)
Definition: CreateWorldExportJobRequest.h:150
Aws::RoboMaker::Model::CreateWorldExportJobRequest::WithWorlds
CreateWorldExportJobRequest & WithWorlds(Aws::Vector< Aws::String > &&value)
Definition: CreateWorldExportJobRequest.h:122
Aws::RoboMaker::Model::CreateWorldExportJobRequest::GetWorlds
const Aws::Vector< Aws::String > & GetWorlds() const
Definition: CreateWorldExportJobRequest.h:92
Aws::RoboMaker::Model::CreateWorldExportJobRequest::WithWorlds
CreateWorldExportJobRequest & WithWorlds(const Aws::Vector< Aws::String > &value)
Definition: CreateWorldExportJobRequest.h:116
Aws::RoboMaker::Model::CreateWorldExportJobRequest::SetWorlds
void SetWorlds(const Aws::Vector< Aws::String > &value)
Definition: CreateWorldExportJobRequest.h:104
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::RoboMaker::Model::CreateWorldExportJobRequest::WithIamRole
CreateWorldExportJobRequest & WithIamRole(const Aws::String &value)
Definition: CreateWorldExportJobRequest.h:196
Aws::RoboMaker::Model::CreateWorldExportJobRequest::SetIamRole
void SetIamRole(const Aws::String &value)
Definition: CreateWorldExportJobRequest.h:178
Aws::RoboMaker::Model::CreateWorldExportJobRequest::WithTags
CreateWorldExportJobRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateWorldExportJobRequest.h:239
Aws::RoboMaker::Model::CreateWorldExportJobRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: CreateWorldExportJobRequest.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::CreateWorldExportJobRequest::AddWorlds
CreateWorldExportJobRequest & AddWorlds(Aws::String &&value)
Definition: CreateWorldExportJobRequest.h:134
Aws::RoboMaker::Model::CreateWorldExportJobRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: CreateWorldExportJobRequest.h:49
UUID.h
AWSMap.h
Aws::RoboMaker::Model::CreateWorldExportJobRequest::GetOutputLocation
const OutputLocation & GetOutputLocation() const
Definition: CreateWorldExportJobRequest.h:144
Aws::RoboMaker::Model::CreateWorldExportJobRequest::AddTags
CreateWorldExportJobRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateWorldExportJobRequest.h:275
Aws::RoboMaker::Model::CreateWorldExportJobRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: CreateWorldExportJobRequest.h:67
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::RoboMaker::Model::CreateWorldExportJobRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateWorldExportJobRequest.h:221