AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeWorldGenerationJobResult.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/robomaker/model/FinishedWorldsSummary.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace RoboMaker
30{
31namespace Model
32{
34 {
35 public:
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline void SetArn(const Aws::String& value) { m_arn = value; }
47 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
48 inline void SetArn(const char* value) { m_arn.assign(value); }
49 inline DescribeWorldGenerationJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
50 inline DescribeWorldGenerationJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
51 inline DescribeWorldGenerationJobResult& WithArn(const char* value) { SetArn(value); return *this;}
53
55
66 inline const WorldGenerationJobStatus& GetStatus() const{ return m_status; }
67 inline void SetStatus(const WorldGenerationJobStatus& value) { m_status = value; }
68 inline void SetStatus(WorldGenerationJobStatus&& value) { m_status = std::move(value); }
70 inline DescribeWorldGenerationJobResult& WithStatus(WorldGenerationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
72
74
78 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
79 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
80 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
82 inline DescribeWorldGenerationJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
84
86
96 inline const WorldGenerationJobErrorCode& GetFailureCode() const{ return m_failureCode; }
97 inline void SetFailureCode(const WorldGenerationJobErrorCode& value) { m_failureCode = value; }
98 inline void SetFailureCode(WorldGenerationJobErrorCode&& value) { m_failureCode = std::move(value); }
102
104
107 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
108 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
109 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
110 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
112 inline DescribeWorldGenerationJobResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
113 inline DescribeWorldGenerationJobResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
115
117
121 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
122 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
123 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
124 inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
127 inline DescribeWorldGenerationJobResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
129
131
134 inline const Aws::String& GetTemplate() const{ return m_template; }
135 inline void SetTemplate(const Aws::String& value) { m_template = value; }
136 inline void SetTemplate(Aws::String&& value) { m_template = std::move(value); }
137 inline void SetTemplate(const char* value) { m_template.assign(value); }
138 inline DescribeWorldGenerationJobResult& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
139 inline DescribeWorldGenerationJobResult& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
140 inline DescribeWorldGenerationJobResult& WithTemplate(const char* value) { SetTemplate(value); return *this;}
142
144
147 inline const WorldCount& GetWorldCount() const{ return m_worldCount; }
148 inline void SetWorldCount(const WorldCount& value) { m_worldCount = value; }
149 inline void SetWorldCount(WorldCount&& value) { m_worldCount = std::move(value); }
150 inline DescribeWorldGenerationJobResult& WithWorldCount(const WorldCount& value) { SetWorldCount(value); return *this;}
151 inline DescribeWorldGenerationJobResult& WithWorldCount(WorldCount&& value) { SetWorldCount(std::move(value)); return *this;}
153
155
158 inline const FinishedWorldsSummary& GetFinishedWorldsSummary() const{ return m_finishedWorldsSummary; }
159 inline void SetFinishedWorldsSummary(const FinishedWorldsSummary& value) { m_finishedWorldsSummary = value; }
160 inline void SetFinishedWorldsSummary(FinishedWorldsSummary&& value) { m_finishedWorldsSummary = std::move(value); }
164
166
170 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
171 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
172 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
174 inline DescribeWorldGenerationJobResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
175 inline DescribeWorldGenerationJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
176 inline DescribeWorldGenerationJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
177 inline DescribeWorldGenerationJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
178 inline DescribeWorldGenerationJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
179 inline DescribeWorldGenerationJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
180 inline DescribeWorldGenerationJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
181 inline DescribeWorldGenerationJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
183
185
189 inline const Aws::Map<Aws::String, Aws::String>& GetWorldTags() const{ return m_worldTags; }
190 inline void SetWorldTags(const Aws::Map<Aws::String, Aws::String>& value) { m_worldTags = value; }
191 inline void SetWorldTags(Aws::Map<Aws::String, Aws::String>&& value) { m_worldTags = std::move(value); }
194 inline DescribeWorldGenerationJobResult& AddWorldTags(const Aws::String& key, const Aws::String& value) { m_worldTags.emplace(key, value); return *this; }
195 inline DescribeWorldGenerationJobResult& AddWorldTags(Aws::String&& key, const Aws::String& value) { m_worldTags.emplace(std::move(key), value); return *this; }
196 inline DescribeWorldGenerationJobResult& AddWorldTags(const Aws::String& key, Aws::String&& value) { m_worldTags.emplace(key, std::move(value)); return *this; }
197 inline DescribeWorldGenerationJobResult& AddWorldTags(Aws::String&& key, Aws::String&& value) { m_worldTags.emplace(std::move(key), std::move(value)); return *this; }
198 inline DescribeWorldGenerationJobResult& AddWorldTags(const char* key, Aws::String&& value) { m_worldTags.emplace(key, std::move(value)); return *this; }
199 inline DescribeWorldGenerationJobResult& AddWorldTags(Aws::String&& key, const char* value) { m_worldTags.emplace(std::move(key), value); return *this; }
200 inline DescribeWorldGenerationJobResult& AddWorldTags(const char* key, const char* value) { m_worldTags.emplace(key, value); return *this; }
202
204
205 inline const Aws::String& GetRequestId() const{ return m_requestId; }
206 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
207 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
208 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
209 inline DescribeWorldGenerationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
210 inline DescribeWorldGenerationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
211 inline DescribeWorldGenerationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
213 private:
214
215 Aws::String m_arn;
216
218
219 Aws::Utils::DateTime m_createdAt;
220
221 WorldGenerationJobErrorCode m_failureCode;
222
223 Aws::String m_failureReason;
224
225 Aws::String m_clientRequestToken;
226
227 Aws::String m_template;
228
229 WorldCount m_worldCount;
230
231 FinishedWorldsSummary m_finishedWorldsSummary;
232
234
236
237 Aws::String m_requestId;
238 };
239
240} // namespace Model
241} // namespace RoboMaker
242} // namespace Aws
DescribeWorldGenerationJobResult & WithFinishedWorldsSummary(FinishedWorldsSummary &&value)
void SetWorldTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeWorldGenerationJobResult & WithCreatedAt(const Aws::Utils::DateTime &value)
DescribeWorldGenerationJobResult & AddWorldTags(const Aws::String &key, const Aws::String &value)
DescribeWorldGenerationJobResult & WithClientRequestToken(const char *value)
DescribeWorldGenerationJobResult & AddWorldTags(const Aws::String &key, Aws::String &&value)
DescribeWorldGenerationJobResult & WithFailureCode(WorldGenerationJobErrorCode &&value)
DescribeWorldGenerationJobResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeWorldGenerationJobResult & WithFailureCode(const WorldGenerationJobErrorCode &value)
DescribeWorldGenerationJobResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeWorldGenerationJobResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeWorldGenerationJobResult & WithArn(const Aws::String &value)
DescribeWorldGenerationJobResult & AddWorldTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetWorldTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeWorldGenerationJobResult & WithWorldCount(WorldCount &&value)
void SetFailureCode(const WorldGenerationJobErrorCode &value)
AWS_ROBOMAKER_API DescribeWorldGenerationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeWorldGenerationJobResult & WithRequestId(const Aws::String &value)
AWS_ROBOMAKER_API DescribeWorldGenerationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeWorldGenerationJobResult & WithStatus(const WorldGenerationJobStatus &value)
DescribeWorldGenerationJobResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeWorldGenerationJobResult & AddWorldTags(Aws::String &&key, Aws::String &&value)
DescribeWorldGenerationJobResult & WithFailureReason(const char *value)
DescribeWorldGenerationJobResult & WithWorldTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeWorldGenerationJobResult & WithFinishedWorldsSummary(const FinishedWorldsSummary &value)
DescribeWorldGenerationJobResult & WithRequestId(const char *value)
DescribeWorldGenerationJobResult & AddWorldTags(Aws::String &&key, const char *value)
DescribeWorldGenerationJobResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeWorldGenerationJobResult & WithFailureReason(Aws::String &&value)
DescribeWorldGenerationJobResult & WithTemplate(const char *value)
DescribeWorldGenerationJobResult & WithClientRequestToken(const Aws::String &value)
DescribeWorldGenerationJobResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribeWorldGenerationJobResult & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Map< Aws::String, Aws::String > & GetWorldTags() const
DescribeWorldGenerationJobResult & AddTags(const char *key, const char *value)
DescribeWorldGenerationJobResult & WithStatus(WorldGenerationJobStatus &&value)
DescribeWorldGenerationJobResult & WithWorldCount(const WorldCount &value)
DescribeWorldGenerationJobResult & WithWorldTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeWorldGenerationJobResult & WithTemplate(Aws::String &&value)
DescribeWorldGenerationJobResult & WithFailureReason(const Aws::String &value)
DescribeWorldGenerationJobResult & WithRequestId(Aws::String &&value)
DescribeWorldGenerationJobResult & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeWorldGenerationJobResult & WithArn(Aws::String &&value)
DescribeWorldGenerationJobResult & WithArn(const char *value)
DescribeWorldGenerationJobResult & WithTemplate(const Aws::String &value)
DescribeWorldGenerationJobResult & WithClientRequestToken(Aws::String &&value)
DescribeWorldGenerationJobResult & AddTags(Aws::String &&key, const char *value)
DescribeWorldGenerationJobResult & AddWorldTags(const char *key, const char *value)
DescribeWorldGenerationJobResult & AddWorldTags(const char *key, Aws::String &&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