AWS SDK for C++  1.9.21
AWS SDK for C++
CreateWorldTemplateResult.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 CreateWorldTemplateResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
61 
65  inline CreateWorldTemplateResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
66 
70  inline CreateWorldTemplateResult& 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 CreateWorldTemplateResult& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
102 
107  inline CreateWorldTemplateResult& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
108 
113  inline CreateWorldTemplateResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
114 
115 
120  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
121 
126  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
127 
132  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
133 
138  inline CreateWorldTemplateResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
139 
144  inline CreateWorldTemplateResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
145 
146 
150  inline const Aws::String& GetName() const{ return m_name; }
151 
155  inline void SetName(const Aws::String& value) { m_name = value; }
156 
160  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
161 
165  inline void SetName(const char* value) { m_name.assign(value); }
166 
170  inline CreateWorldTemplateResult& WithName(const Aws::String& value) { SetName(value); return *this;}
171 
175  inline CreateWorldTemplateResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
176 
180  inline CreateWorldTemplateResult& WithName(const char* value) { SetName(value); return *this;}
181 
182 
187  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
188 
193  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
194 
199  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
200 
205  inline CreateWorldTemplateResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
206 
211  inline CreateWorldTemplateResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
212 
217  inline CreateWorldTemplateResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
218 
223  inline CreateWorldTemplateResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
224 
229  inline CreateWorldTemplateResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
230 
235  inline CreateWorldTemplateResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
236 
241  inline CreateWorldTemplateResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
242 
247  inline CreateWorldTemplateResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
248 
253  inline CreateWorldTemplateResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
254 
255  private:
256 
257  Aws::String m_arn;
258 
259  Aws::String m_clientRequestToken;
260 
261  Aws::Utils::DateTime m_createdAt;
262 
263  Aws::String m_name;
264 
266  };
267 
268 } // namespace Model
269 } // namespace RoboMaker
270 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::CreateWorldTemplateResult::AddTags
CreateWorldTemplateResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateWorldTemplateResult.h:229
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RoboMaker::Model::CreateWorldTemplateResult::WithName
CreateWorldTemplateResult & WithName(Aws::String &&value)
Definition: CreateWorldTemplateResult.h:175
Aws::RoboMaker::Model::CreateWorldTemplateResult::WithName
CreateWorldTemplateResult & WithName(const Aws::String &value)
Definition: CreateWorldTemplateResult.h:170
Aws::RoboMaker::Model::CreateWorldTemplateResult::CreateWorldTemplateResult
CreateWorldTemplateResult()
Aws::RoboMaker::Model::CreateWorldTemplateResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateWorldTemplateResult.h:193
Aws::RoboMaker::Model::CreateWorldTemplateResult::AddTags
CreateWorldTemplateResult & AddTags(const char *key, Aws::String &&value)
Definition: CreateWorldTemplateResult.h:241
Aws::RoboMaker::Model::CreateWorldTemplateResult::WithArn
CreateWorldTemplateResult & WithArn(const char *value)
Definition: CreateWorldTemplateResult.h:70
Aws::RoboMaker::Model::CreateWorldTemplateResult::WithArn
CreateWorldTemplateResult & WithArn(Aws::String &&value)
Definition: CreateWorldTemplateResult.h:65
Aws::RoboMaker::Model::CreateWorldTemplateResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateWorldTemplateResult.h:50
DateTime.h
Aws::RoboMaker::Model::CreateWorldTemplateResult::WithCreatedAt
CreateWorldTemplateResult & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: CreateWorldTemplateResult.h:138
Aws::RoboMaker::Model::CreateWorldTemplateResult::AddTags
CreateWorldTemplateResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateWorldTemplateResult.h:223
Aws::RoboMaker::Model::CreateWorldTemplateResult::WithTags
CreateWorldTemplateResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateWorldTemplateResult.h:211
Aws::RoboMaker::Model::CreateWorldTemplateResult::GetArn
const Aws::String & GetArn() const
Definition: CreateWorldTemplateResult.h:40
Aws::RoboMaker::Model::CreateWorldTemplateResult::AddTags
CreateWorldTemplateResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateWorldTemplateResult.h:235
Aws::RoboMaker::Model::CreateWorldTemplateResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateWorldTemplateResult.h:187
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::CreateWorldTemplateResult::CreateWorldTemplateResult
CreateWorldTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::CreateWorldTemplateResult::operator=
CreateWorldTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::CreateWorldTemplateResult::WithArn
CreateWorldTemplateResult & WithArn(const Aws::String &value)
Definition: CreateWorldTemplateResult.h:60
Aws::RoboMaker::Model::CreateWorldTemplateResult::WithClientRequestToken
CreateWorldTemplateResult & WithClientRequestToken(const char *value)
Definition: CreateWorldTemplateResult.h:113
RoboMaker_EXPORTS.h
AWSString.h
Aws::RoboMaker::Model::CreateWorldTemplateResult::SetName
void SetName(Aws::String &&value)
Definition: CreateWorldTemplateResult.h:160
Aws::RoboMaker::Model::CreateWorldTemplateResult::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: CreateWorldTemplateResult.h:126
Aws::RoboMaker::Model::CreateWorldTemplateResult::SetName
void SetName(const char *value)
Definition: CreateWorldTemplateResult.h:165
Aws::RoboMaker::Model::CreateWorldTemplateResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateWorldTemplateResult.h:45
Aws::RoboMaker::Model::CreateWorldTemplateResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateWorldTemplateResult.h:199
Aws::RoboMaker::Model::CreateWorldTemplateResult::AddTags
CreateWorldTemplateResult & AddTags(const char *key, const char *value)
Definition: CreateWorldTemplateResult.h:253
Aws::RoboMaker::Model::CreateWorldTemplateResult
Definition: CreateWorldTemplateResult.h:30
Aws::RoboMaker::Model::CreateWorldTemplateResult::WithName
CreateWorldTemplateResult & WithName(const char *value)
Definition: CreateWorldTemplateResult.h:180
Aws::RoboMaker::Model::CreateWorldTemplateResult::AddTags
CreateWorldTemplateResult & AddTags(Aws::String &&key, const char *value)
Definition: CreateWorldTemplateResult.h:247
Aws::RoboMaker::Model::CreateWorldTemplateResult::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: CreateWorldTemplateResult.h:83
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::CreateWorldTemplateResult::SetArn
void SetArn(const char *value)
Definition: CreateWorldTemplateResult.h:55
Aws::RoboMaker::Model::CreateWorldTemplateResult::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: CreateWorldTemplateResult.h:77
Aws::RoboMaker::Model::CreateWorldTemplateResult::WithClientRequestToken
CreateWorldTemplateResult & WithClientRequestToken(Aws::String &&value)
Definition: CreateWorldTemplateResult.h:107
Aws::RoboMaker::Model::CreateWorldTemplateResult::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: CreateWorldTemplateResult.h:89
Aws::RoboMaker::Model::CreateWorldTemplateResult::AddTags
CreateWorldTemplateResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateWorldTemplateResult.h:217
Aws::RoboMaker::Model::CreateWorldTemplateResult::WithClientRequestToken
CreateWorldTemplateResult & WithClientRequestToken(const Aws::String &value)
Definition: CreateWorldTemplateResult.h:101
Aws::RoboMaker::Model::CreateWorldTemplateResult::GetName
const Aws::String & GetName() const
Definition: CreateWorldTemplateResult.h:150
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::CreateWorldTemplateResult::WithCreatedAt
CreateWorldTemplateResult & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: CreateWorldTemplateResult.h:144
Aws::RoboMaker::Model::CreateWorldTemplateResult::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: CreateWorldTemplateResult.h:120
Aws::RoboMaker::Model::CreateWorldTemplateResult::WithTags
CreateWorldTemplateResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateWorldTemplateResult.h:205
Aws::RoboMaker::Model::CreateWorldTemplateResult::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: CreateWorldTemplateResult.h:95
AWSMap.h
Aws::RoboMaker::Model::CreateWorldTemplateResult::SetName
void SetName(const Aws::String &value)
Definition: CreateWorldTemplateResult.h:155
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::RoboMaker::Model::CreateWorldTemplateResult::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: CreateWorldTemplateResult.h:132