AWS SDK for C++  1.9.20
AWS SDK for C++
DescribeWorldTemplateResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace RoboMaker
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetArn() const{ return m_arn; }
41 
45  inline void SetArn(const Aws::String& value) { m_arn = value; }
46 
50  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
51 
55  inline void SetArn(const char* value) { m_arn.assign(value); }
56 
60  inline DescribeWorldTemplateResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
61 
65  inline DescribeWorldTemplateResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
66 
70  inline DescribeWorldTemplateResult& WithArn(const char* value) { SetArn(value); return *this;}
71 
72 
77  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
78 
83  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
84 
89  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
90 
95  inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
96 
101  inline DescribeWorldTemplateResult& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
102 
107  inline DescribeWorldTemplateResult& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
108 
113  inline DescribeWorldTemplateResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
114 
115 
119  inline const Aws::String& GetName() const{ return m_name; }
120 
124  inline void SetName(const Aws::String& value) { m_name = value; }
125 
129  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
130 
134  inline void SetName(const char* value) { m_name.assign(value); }
135 
139  inline DescribeWorldTemplateResult& WithName(const Aws::String& value) { SetName(value); return *this;}
140 
144  inline DescribeWorldTemplateResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
145 
149  inline DescribeWorldTemplateResult& WithName(const char* value) { SetName(value); return *this;}
150 
151 
156  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
157 
162  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
163 
168  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
169 
174  inline DescribeWorldTemplateResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
175 
180  inline DescribeWorldTemplateResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
181 
182 
187  inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
188 
193  inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
194 
199  inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
200 
205  inline DescribeWorldTemplateResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
206 
211  inline DescribeWorldTemplateResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
212 
213 
218  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
219 
224  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
225 
230  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
231 
236  inline DescribeWorldTemplateResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
237 
242  inline DescribeWorldTemplateResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
243 
248  inline DescribeWorldTemplateResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
249 
254  inline DescribeWorldTemplateResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
255 
260  inline DescribeWorldTemplateResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
261 
266  inline DescribeWorldTemplateResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
267 
272  inline DescribeWorldTemplateResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
273 
278  inline DescribeWorldTemplateResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
279 
284  inline DescribeWorldTemplateResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
285 
286  private:
287 
288  Aws::String m_arn;
289 
290  Aws::String m_clientRequestToken;
291 
292  Aws::String m_name;
293 
294  Aws::Utils::DateTime m_createdAt;
295 
296  Aws::Utils::DateTime m_lastUpdatedAt;
297 
299  };
300 
301 } // namespace Model
302 } // namespace RoboMaker
303 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::DescribeWorldTemplateResult::DescribeWorldTemplateResult
DescribeWorldTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::DescribeWorldTemplateResult::SetArn
void SetArn(Aws::String &&value)
Definition: DescribeWorldTemplateResult.h:50
Aws::RoboMaker::Model::DescribeWorldTemplateResult::GetName
const Aws::String & GetName() const
Definition: DescribeWorldTemplateResult.h:119
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RoboMaker::Model::DescribeWorldTemplateResult::SetArn
void SetArn(const Aws::String &value)
Definition: DescribeWorldTemplateResult.h:45
Aws::RoboMaker::Model::DescribeWorldTemplateResult::AddTags
DescribeWorldTemplateResult & AddTags(const char *key, Aws::String &&value)
Definition: DescribeWorldTemplateResult.h:272
Aws::RoboMaker::Model::DescribeWorldTemplateResult::WithCreatedAt
DescribeWorldTemplateResult & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: DescribeWorldTemplateResult.h:180
Aws::RoboMaker::Model::DescribeWorldTemplateResult::WithName
DescribeWorldTemplateResult & WithName(const Aws::String &value)
Definition: DescribeWorldTemplateResult.h:139
Aws::RoboMaker::Model::DescribeWorldTemplateResult::AddTags
DescribeWorldTemplateResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: DescribeWorldTemplateResult.h:254
Aws::RoboMaker::Model::DescribeWorldTemplateResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeWorldTemplateResult.h:230
Aws::RoboMaker::Model::DescribeWorldTemplateResult::WithClientRequestToken
DescribeWorldTemplateResult & WithClientRequestToken(const Aws::String &value)
Definition: DescribeWorldTemplateResult.h:101
DateTime.h
Aws::RoboMaker::Model::DescribeWorldTemplateResult::AddTags
DescribeWorldTemplateResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: DescribeWorldTemplateResult.h:248
Aws::RoboMaker::Model::DescribeWorldTemplateResult::WithTags
DescribeWorldTemplateResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeWorldTemplateResult.h:236
Aws::RoboMaker::Model::DescribeWorldTemplateResult::WithClientRequestToken
DescribeWorldTemplateResult & WithClientRequestToken(const char *value)
Definition: DescribeWorldTemplateResult.h:113
Aws::RoboMaker::Model::DescribeWorldTemplateResult::SetLastUpdatedAt
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: DescribeWorldTemplateResult.h:193
Aws::RoboMaker::Model::DescribeWorldTemplateResult::WithLastUpdatedAt
DescribeWorldTemplateResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: DescribeWorldTemplateResult.h:205
Aws::RoboMaker::Model::DescribeWorldTemplateResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeWorldTemplateResult.h:224
Aws::RoboMaker::Model::DescribeWorldTemplateResult::DescribeWorldTemplateResult
DescribeWorldTemplateResult()
Aws::RoboMaker::Model::DescribeWorldTemplateResult::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: DescribeWorldTemplateResult.h:162
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::DescribeWorldTemplateResult::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: DescribeWorldTemplateResult.h:156
Aws::RoboMaker::Model::DescribeWorldTemplateResult::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: DescribeWorldTemplateResult.h:77
Aws::RoboMaker::Model::DescribeWorldTemplateResult::WithTags
DescribeWorldTemplateResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeWorldTemplateResult.h:242
Aws::RoboMaker::Model::DescribeWorldTemplateResult
Definition: DescribeWorldTemplateResult.h:30
Aws::RoboMaker::Model::DescribeWorldTemplateResult::AddTags
DescribeWorldTemplateResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: DescribeWorldTemplateResult.h:266
Aws::RoboMaker::Model::DescribeWorldTemplateResult::SetName
void SetName(const char *value)
Definition: DescribeWorldTemplateResult.h:134
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::DescribeWorldTemplateResult::WithArn
DescribeWorldTemplateResult & WithArn(const char *value)
Definition: DescribeWorldTemplateResult.h:70
Aws::RoboMaker::Model::DescribeWorldTemplateResult::WithArn
DescribeWorldTemplateResult & WithArn(const Aws::String &value)
Definition: DescribeWorldTemplateResult.h:60
AWSString.h
Aws::RoboMaker::Model::DescribeWorldTemplateResult::GetLastUpdatedAt
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition: DescribeWorldTemplateResult.h:187
Aws::RoboMaker::Model::DescribeWorldTemplateResult::WithClientRequestToken
DescribeWorldTemplateResult & WithClientRequestToken(Aws::String &&value)
Definition: DescribeWorldTemplateResult.h:107
Aws::RoboMaker::Model::DescribeWorldTemplateResult::SetName
void SetName(Aws::String &&value)
Definition: DescribeWorldTemplateResult.h:129
Aws::RoboMaker::Model::DescribeWorldTemplateResult::GetArn
const Aws::String & GetArn() const
Definition: DescribeWorldTemplateResult.h:40
Aws::RoboMaker::Model::DescribeWorldTemplateResult::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: DescribeWorldTemplateResult.h:95
Aws::RoboMaker::Model::DescribeWorldTemplateResult::WithName
DescribeWorldTemplateResult & WithName(Aws::String &&value)
Definition: DescribeWorldTemplateResult.h:144
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::DescribeWorldTemplateResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: DescribeWorldTemplateResult.h:218
Aws::RoboMaker::Model::DescribeWorldTemplateResult::SetArn
void SetArn(const char *value)
Definition: DescribeWorldTemplateResult.h:55
Aws::RoboMaker::Model::DescribeWorldTemplateResult::WithName
DescribeWorldTemplateResult & WithName(const char *value)
Definition: DescribeWorldTemplateResult.h:149
Aws::RoboMaker::Model::DescribeWorldTemplateResult::SetName
void SetName(const Aws::String &value)
Definition: DescribeWorldTemplateResult.h:124
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::DescribeWorldTemplateResult::operator=
DescribeWorldTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::DescribeWorldTemplateResult::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: DescribeWorldTemplateResult.h:168
Aws::RoboMaker::Model::DescribeWorldTemplateResult::AddTags
DescribeWorldTemplateResult & AddTags(const char *key, const char *value)
Definition: DescribeWorldTemplateResult.h:284
Aws::RoboMaker::Model::DescribeWorldTemplateResult::SetLastUpdatedAt
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: DescribeWorldTemplateResult.h:199
Aws::RoboMaker::Model::DescribeWorldTemplateResult::WithLastUpdatedAt
DescribeWorldTemplateResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: DescribeWorldTemplateResult.h:211
Aws::RoboMaker::Model::DescribeWorldTemplateResult::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: DescribeWorldTemplateResult.h:83
AWSMap.h
Aws::RoboMaker::Model::DescribeWorldTemplateResult::WithCreatedAt
DescribeWorldTemplateResult & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: DescribeWorldTemplateResult.h:174
Aws::RoboMaker::Model::DescribeWorldTemplateResult::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: DescribeWorldTemplateResult.h:89
Aws::RoboMaker::Model::DescribeWorldTemplateResult::AddTags
DescribeWorldTemplateResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: DescribeWorldTemplateResult.h:260
Aws::RoboMaker::Model::DescribeWorldTemplateResult::WithArn
DescribeWorldTemplateResult & WithArn(Aws::String &&value)
Definition: DescribeWorldTemplateResult.h:65
Aws::RoboMaker::Model::DescribeWorldTemplateResult::AddTags
DescribeWorldTemplateResult & AddTags(Aws::String &&key, const char *value)
Definition: DescribeWorldTemplateResult.h:278
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19