AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 template<typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
47 template<typename ArnT = Aws::String>
48 CreateWorldGenerationJobResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
50
52
63 inline WorldGenerationJobStatus GetStatus() const { return m_status; }
64 inline void SetStatus(WorldGenerationJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
67
69
73 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
74 template<typename CreatedAtT = Aws::Utils::DateTime>
75 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
76 template<typename CreatedAtT = Aws::Utils::DateTime>
77 CreateWorldGenerationJobResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
79
81
91 inline WorldGenerationJobErrorCode GetFailureCode() const { return m_failureCode; }
92 inline void SetFailureCode(WorldGenerationJobErrorCode value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
95
97
101 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
102 template<typename ClientRequestTokenT = Aws::String>
103 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
104 template<typename ClientRequestTokenT = Aws::String>
105 CreateWorldGenerationJobResult& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
107
109
112 inline const Aws::String& GetTemplate() const { return m_template; }
113 template<typename TemplateT = Aws::String>
114 void SetTemplate(TemplateT&& value) { m_templateHasBeenSet = true; m_template = std::forward<TemplateT>(value); }
115 template<typename TemplateT = Aws::String>
116 CreateWorldGenerationJobResult& WithTemplate(TemplateT&& value) { SetTemplate(std::forward<TemplateT>(value)); return *this;}
118
120
123 inline const WorldCount& GetWorldCount() const { return m_worldCount; }
124 template<typename WorldCountT = WorldCount>
125 void SetWorldCount(WorldCountT&& value) { m_worldCountHasBeenSet = true; m_worldCount = std::forward<WorldCountT>(value); }
126 template<typename WorldCountT = WorldCount>
127 CreateWorldGenerationJobResult& WithWorldCount(WorldCountT&& value) { SetWorldCount(std::forward<WorldCountT>(value)); return *this;}
129
131
135 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
136 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
137 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
138 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
139 CreateWorldGenerationJobResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
140 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
141 CreateWorldGenerationJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
142 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
143 }
145
147
151 inline const Aws::Map<Aws::String, Aws::String>& GetWorldTags() const { return m_worldTags; }
152 template<typename WorldTagsT = Aws::Map<Aws::String, Aws::String>>
153 void SetWorldTags(WorldTagsT&& value) { m_worldTagsHasBeenSet = true; m_worldTags = std::forward<WorldTagsT>(value); }
154 template<typename WorldTagsT = Aws::Map<Aws::String, Aws::String>>
155 CreateWorldGenerationJobResult& WithWorldTags(WorldTagsT&& value) { SetWorldTags(std::forward<WorldTagsT>(value)); return *this;}
156 template<typename WorldTagsKeyT = Aws::String, typename WorldTagsValueT = Aws::String>
157 CreateWorldGenerationJobResult& AddWorldTags(WorldTagsKeyT&& key, WorldTagsValueT&& value) {
158 m_worldTagsHasBeenSet = true; m_worldTags.emplace(std::forward<WorldTagsKeyT>(key), std::forward<WorldTagsValueT>(value)); return *this;
159 }
161
163
164 inline const Aws::String& GetRequestId() const { return m_requestId; }
165 template<typename RequestIdT = Aws::String>
166 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
167 template<typename RequestIdT = Aws::String>
168 CreateWorldGenerationJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
170 private:
171
172 Aws::String m_arn;
173 bool m_arnHasBeenSet = false;
174
176 bool m_statusHasBeenSet = false;
177
178 Aws::Utils::DateTime m_createdAt{};
179 bool m_createdAtHasBeenSet = false;
180
182 bool m_failureCodeHasBeenSet = false;
183
184 Aws::String m_clientRequestToken;
185 bool m_clientRequestTokenHasBeenSet = false;
186
187 Aws::String m_template;
188 bool m_templateHasBeenSet = false;
189
190 WorldCount m_worldCount;
191 bool m_worldCountHasBeenSet = false;
192
194 bool m_tagsHasBeenSet = false;
195
197 bool m_worldTagsHasBeenSet = false;
198
199 Aws::String m_requestId;
200 bool m_requestIdHasBeenSet = false;
201 };
202
203} // namespace Model
204} // namespace RoboMaker
205} // namespace Aws
CreateWorldGenerationJobResult & WithCreatedAt(CreatedAtT &&value)
CreateWorldGenerationJobResult & AddWorldTags(WorldTagsKeyT &&key, WorldTagsValueT &&value)
CreateWorldGenerationJobResult & WithTemplate(TemplateT &&value)
CreateWorldGenerationJobResult & WithWorldTags(WorldTagsT &&value)
CreateWorldGenerationJobResult & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_ROBOMAKER_API CreateWorldGenerationJobResult()=default
CreateWorldGenerationJobResult & WithWorldCount(WorldCountT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_ROBOMAKER_API CreateWorldGenerationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorldGenerationJobResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_ROBOMAKER_API CreateWorldGenerationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorldGenerationJobResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetWorldTags() const
CreateWorldGenerationJobResult & WithArn(ArnT &&value)
CreateWorldGenerationJobResult & WithTags(TagsT &&value)
CreateWorldGenerationJobResult & WithStatus(WorldGenerationJobStatus value)
CreateWorldGenerationJobResult & WithFailureCode(WorldGenerationJobErrorCode 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