AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateWorldGenerationJobResult.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/robomaker/model/WorldGenerationJobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/robomaker/model/WorldGenerationJobErrorCode.h>
12#include <aws/robomaker/model/WorldCount.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace RoboMaker
29{
30namespace Model
31{
33 {
34 public:
35 AWS_ROBOMAKER_API CreateWorldGenerationJobResult();
38
39
41
44 inline const Aws::String& GetArn() const{ return m_arn; }
45 inline void SetArn(const Aws::String& value) { m_arn = value; }
46 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
47 inline void SetArn(const char* value) { m_arn.assign(value); }
48 inline CreateWorldGenerationJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
49 inline CreateWorldGenerationJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
50 inline CreateWorldGenerationJobResult& WithArn(const char* value) { SetArn(value); return *this;}
52
54
65 inline const WorldGenerationJobStatus& GetStatus() const{ return m_status; }
66 inline void SetStatus(const WorldGenerationJobStatus& value) { m_status = value; }
67 inline void SetStatus(WorldGenerationJobStatus&& value) { m_status = std::move(value); }
68 inline CreateWorldGenerationJobResult& WithStatus(const WorldGenerationJobStatus& value) { SetStatus(value); return *this;}
69 inline CreateWorldGenerationJobResult& WithStatus(WorldGenerationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
71
73
77 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
78 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
79 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
81 inline CreateWorldGenerationJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
83
85
95 inline const WorldGenerationJobErrorCode& GetFailureCode() const{ return m_failureCode; }
96 inline void SetFailureCode(const WorldGenerationJobErrorCode& value) { m_failureCode = value; }
97 inline void SetFailureCode(WorldGenerationJobErrorCode&& value) { m_failureCode = std::move(value); }
101
103
107 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
108 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
109 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
110 inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
113 inline CreateWorldGenerationJobResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
115
117
120 inline const Aws::String& GetTemplate() const{ return m_template; }
121 inline void SetTemplate(const Aws::String& value) { m_template = value; }
122 inline void SetTemplate(Aws::String&& value) { m_template = std::move(value); }
123 inline void SetTemplate(const char* value) { m_template.assign(value); }
124 inline CreateWorldGenerationJobResult& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
125 inline CreateWorldGenerationJobResult& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
126 inline CreateWorldGenerationJobResult& WithTemplate(const char* value) { SetTemplate(value); return *this;}
128
130
133 inline const WorldCount& GetWorldCount() const{ return m_worldCount; }
134 inline void SetWorldCount(const WorldCount& value) { m_worldCount = value; }
135 inline void SetWorldCount(WorldCount&& value) { m_worldCount = std::move(value); }
136 inline CreateWorldGenerationJobResult& WithWorldCount(const WorldCount& value) { SetWorldCount(value); return *this;}
137 inline CreateWorldGenerationJobResult& WithWorldCount(WorldCount&& value) { SetWorldCount(std::move(value)); return *this;}
139
141
145 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
146 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
147 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
149 inline CreateWorldGenerationJobResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
150 inline CreateWorldGenerationJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
151 inline CreateWorldGenerationJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
152 inline CreateWorldGenerationJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
153 inline CreateWorldGenerationJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
154 inline CreateWorldGenerationJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
155 inline CreateWorldGenerationJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
156 inline CreateWorldGenerationJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
158
160
164 inline const Aws::Map<Aws::String, Aws::String>& GetWorldTags() const{ return m_worldTags; }
165 inline void SetWorldTags(const Aws::Map<Aws::String, Aws::String>& value) { m_worldTags = value; }
166 inline void SetWorldTags(Aws::Map<Aws::String, Aws::String>&& value) { m_worldTags = std::move(value); }
169 inline CreateWorldGenerationJobResult& AddWorldTags(const Aws::String& key, const Aws::String& value) { m_worldTags.emplace(key, value); return *this; }
170 inline CreateWorldGenerationJobResult& AddWorldTags(Aws::String&& key, const Aws::String& value) { m_worldTags.emplace(std::move(key), value); return *this; }
171 inline CreateWorldGenerationJobResult& AddWorldTags(const Aws::String& key, Aws::String&& value) { m_worldTags.emplace(key, std::move(value)); return *this; }
172 inline CreateWorldGenerationJobResult& AddWorldTags(Aws::String&& key, Aws::String&& value) { m_worldTags.emplace(std::move(key), std::move(value)); return *this; }
173 inline CreateWorldGenerationJobResult& AddWorldTags(const char* key, Aws::String&& value) { m_worldTags.emplace(key, std::move(value)); return *this; }
174 inline CreateWorldGenerationJobResult& AddWorldTags(Aws::String&& key, const char* value) { m_worldTags.emplace(std::move(key), value); return *this; }
175 inline CreateWorldGenerationJobResult& AddWorldTags(const char* key, const char* value) { m_worldTags.emplace(key, value); return *this; }
177
179
180 inline const Aws::String& GetRequestId() const{ return m_requestId; }
181 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
182 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
183 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
184 inline CreateWorldGenerationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
185 inline CreateWorldGenerationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
186 inline CreateWorldGenerationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
188 private:
189
190 Aws::String m_arn;
191
193
194 Aws::Utils::DateTime m_createdAt;
195
196 WorldGenerationJobErrorCode m_failureCode;
197
198 Aws::String m_clientRequestToken;
199
200 Aws::String m_template;
201
202 WorldCount m_worldCount;
203
205
207
208 Aws::String m_requestId;
209 };
210
211} // namespace Model
212} // namespace RoboMaker
213} // namespace Aws
CreateWorldGenerationJobResult & WithWorldTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateWorldGenerationJobResult & WithWorldCount(const WorldCount &value)
CreateWorldGenerationJobResult & AddTags(Aws::String &&key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateWorldGenerationJobResult & WithRequestId(Aws::String &&value)
CreateWorldGenerationJobResult & AddWorldTags(const char *key, Aws::String &&value)
CreateWorldGenerationJobResult & AddTags(const char *key, Aws::String &&value)
CreateWorldGenerationJobResult & AddWorldTags(const Aws::String &key, const Aws::String &value)
CreateWorldGenerationJobResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateWorldGenerationJobResult & WithClientRequestToken(const char *value)
CreateWorldGenerationJobResult & WithClientRequestToken(const Aws::String &value)
CreateWorldGenerationJobResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateWorldGenerationJobResult & WithWorldCount(WorldCount &&value)
CreateWorldGenerationJobResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateWorldGenerationJobResult & WithTemplate(const Aws::String &value)
CreateWorldGenerationJobResult & WithClientRequestToken(Aws::String &&value)
CreateWorldGenerationJobResult & AddWorldTags(const Aws::String &key, Aws::String &&value)
CreateWorldGenerationJobResult & WithFailureCode(const WorldGenerationJobErrorCode &value)
CreateWorldGenerationJobResult & AddWorldTags(Aws::String &&key, const char *value)
CreateWorldGenerationJobResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateWorldGenerationJobResult & AddWorldTags(Aws::String &&key, const Aws::String &value)
CreateWorldGenerationJobResult & WithRequestId(const Aws::String &value)
CreateWorldGenerationJobResult & WithStatus(WorldGenerationJobStatus &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateWorldGenerationJobResult & WithWorldTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetWorldTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateWorldGenerationJobResult & WithFailureCode(WorldGenerationJobErrorCode &&value)
void SetFailureCode(const WorldGenerationJobErrorCode &value)
AWS_ROBOMAKER_API CreateWorldGenerationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorldGenerationJobResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_ROBOMAKER_API CreateWorldGenerationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorldGenerationJobResult & WithStatus(const WorldGenerationJobStatus &value)
const Aws::Map< Aws::String, Aws::String > & GetWorldTags() const
CreateWorldGenerationJobResult & AddWorldTags(Aws::String &&key, Aws::String &&value)
void SetWorldTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateWorldGenerationJobResult & WithTemplate(Aws::String &&value)
CreateWorldGenerationJobResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateWorldGenerationJobResult & WithArn(Aws::String &&value)
CreateWorldGenerationJobResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateWorldGenerationJobResult & AddWorldTags(const char *key, const char *value)
CreateWorldGenerationJobResult & WithRequestId(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateWorldGenerationJobResult & WithTemplate(const char *value)
CreateWorldGenerationJobResult & AddTags(const char *key, const char *value)
CreateWorldGenerationJobResult & WithArn(const Aws::String &value)
CreateWorldGenerationJobResult & WithArn(const char *value)
CreateWorldGenerationJobResult & WithCreatedAt(Aws::Utils::DateTime &&value)
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
Aws::Utils::Json::JsonValue JsonValue