AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
36 AWS_ROBOMAKER_API DescribeWorldGenerationJobResult() = default;
39
40
42
45 inline const Aws::String& GetArn() const { return m_arn; }
46 template<typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
48 template<typename ArnT = Aws::String>
49 DescribeWorldGenerationJobResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
51
53
64 inline WorldGenerationJobStatus GetStatus() const { return m_status; }
65 inline void SetStatus(WorldGenerationJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
68
70
74 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
75 template<typename CreatedAtT = Aws::Utils::DateTime>
76 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
77 template<typename CreatedAtT = Aws::Utils::DateTime>
78 DescribeWorldGenerationJobResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
80
82
92 inline WorldGenerationJobErrorCode GetFailureCode() const { return m_failureCode; }
93 inline void SetFailureCode(WorldGenerationJobErrorCode value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
96
98
101 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
102 template<typename FailureReasonT = Aws::String>
103 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
104 template<typename FailureReasonT = Aws::String>
105 DescribeWorldGenerationJobResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
107
109
113 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
114 template<typename ClientRequestTokenT = Aws::String>
115 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
116 template<typename ClientRequestTokenT = Aws::String>
117 DescribeWorldGenerationJobResult& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
119
121
124 inline const Aws::String& GetTemplate() const { return m_template; }
125 template<typename TemplateT = Aws::String>
126 void SetTemplate(TemplateT&& value) { m_templateHasBeenSet = true; m_template = std::forward<TemplateT>(value); }
127 template<typename TemplateT = Aws::String>
128 DescribeWorldGenerationJobResult& WithTemplate(TemplateT&& value) { SetTemplate(std::forward<TemplateT>(value)); return *this;}
130
132
135 inline const WorldCount& GetWorldCount() const { return m_worldCount; }
136 template<typename WorldCountT = WorldCount>
137 void SetWorldCount(WorldCountT&& value) { m_worldCountHasBeenSet = true; m_worldCount = std::forward<WorldCountT>(value); }
138 template<typename WorldCountT = WorldCount>
139 DescribeWorldGenerationJobResult& WithWorldCount(WorldCountT&& value) { SetWorldCount(std::forward<WorldCountT>(value)); return *this;}
141
143
146 inline const FinishedWorldsSummary& GetFinishedWorldsSummary() const { return m_finishedWorldsSummary; }
147 template<typename FinishedWorldsSummaryT = FinishedWorldsSummary>
148 void SetFinishedWorldsSummary(FinishedWorldsSummaryT&& value) { m_finishedWorldsSummaryHasBeenSet = true; m_finishedWorldsSummary = std::forward<FinishedWorldsSummaryT>(value); }
149 template<typename FinishedWorldsSummaryT = FinishedWorldsSummary>
150 DescribeWorldGenerationJobResult& WithFinishedWorldsSummary(FinishedWorldsSummaryT&& value) { SetFinishedWorldsSummary(std::forward<FinishedWorldsSummaryT>(value)); return *this;}
152
154
158 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
159 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
160 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
161 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
162 DescribeWorldGenerationJobResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
163 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
164 DescribeWorldGenerationJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
165 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
166 }
168
170
174 inline const Aws::Map<Aws::String, Aws::String>& GetWorldTags() const { return m_worldTags; }
175 template<typename WorldTagsT = Aws::Map<Aws::String, Aws::String>>
176 void SetWorldTags(WorldTagsT&& value) { m_worldTagsHasBeenSet = true; m_worldTags = std::forward<WorldTagsT>(value); }
177 template<typename WorldTagsT = Aws::Map<Aws::String, Aws::String>>
178 DescribeWorldGenerationJobResult& WithWorldTags(WorldTagsT&& value) { SetWorldTags(std::forward<WorldTagsT>(value)); return *this;}
179 template<typename WorldTagsKeyT = Aws::String, typename WorldTagsValueT = Aws::String>
180 DescribeWorldGenerationJobResult& AddWorldTags(WorldTagsKeyT&& key, WorldTagsValueT&& value) {
181 m_worldTagsHasBeenSet = true; m_worldTags.emplace(std::forward<WorldTagsKeyT>(key), std::forward<WorldTagsValueT>(value)); return *this;
182 }
184
186
187 inline const Aws::String& GetRequestId() const { return m_requestId; }
188 template<typename RequestIdT = Aws::String>
189 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
190 template<typename RequestIdT = Aws::String>
191 DescribeWorldGenerationJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
193 private:
194
195 Aws::String m_arn;
196 bool m_arnHasBeenSet = false;
197
199 bool m_statusHasBeenSet = false;
200
201 Aws::Utils::DateTime m_createdAt{};
202 bool m_createdAtHasBeenSet = false;
203
205 bool m_failureCodeHasBeenSet = false;
206
207 Aws::String m_failureReason;
208 bool m_failureReasonHasBeenSet = false;
209
210 Aws::String m_clientRequestToken;
211 bool m_clientRequestTokenHasBeenSet = false;
212
213 Aws::String m_template;
214 bool m_templateHasBeenSet = false;
215
216 WorldCount m_worldCount;
217 bool m_worldCountHasBeenSet = false;
218
219 FinishedWorldsSummary m_finishedWorldsSummary;
220 bool m_finishedWorldsSummaryHasBeenSet = false;
221
223 bool m_tagsHasBeenSet = false;
224
226 bool m_worldTagsHasBeenSet = false;
227
228 Aws::String m_requestId;
229 bool m_requestIdHasBeenSet = false;
230 };
231
232} // namespace Model
233} // namespace RoboMaker
234} // namespace Aws
DescribeWorldGenerationJobResult & WithClientRequestToken(ClientRequestTokenT &&value)
DescribeWorldGenerationJobResult & WithFinishedWorldsSummary(FinishedWorldsSummaryT &&value)
DescribeWorldGenerationJobResult & WithTags(TagsT &&value)
DescribeWorldGenerationJobResult & WithWorldCount(WorldCountT &&value)
DescribeWorldGenerationJobResult & WithFailureReason(FailureReasonT &&value)
DescribeWorldGenerationJobResult & WithTemplate(TemplateT &&value)
DescribeWorldGenerationJobResult & WithRequestId(RequestIdT &&value)
AWS_ROBOMAKER_API DescribeWorldGenerationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ROBOMAKER_API DescribeWorldGenerationJobResult()=default
AWS_ROBOMAKER_API DescribeWorldGenerationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeWorldGenerationJobResult & WithCreatedAt(CreatedAtT &&value)
DescribeWorldGenerationJobResult & WithWorldTags(WorldTagsT &&value)
DescribeWorldGenerationJobResult & AddWorldTags(WorldTagsKeyT &&key, WorldTagsValueT &&value)
DescribeWorldGenerationJobResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetWorldTags() const
DescribeWorldGenerationJobResult & WithStatus(WorldGenerationJobStatus value)
DescribeWorldGenerationJobResult & WithFailureCode(WorldGenerationJobErrorCode value)
const Aws::Map< Aws::String, Aws::String > & GetTags() 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
Aws::Utils::Json::JsonValue JsonValue