AWS SDK for C++  1.9.20
AWS SDK for C++
CreateRobotApplicationResult.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 template<typename RESULT_TYPE>
19 class AmazonWebServiceResult;
20 
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace RoboMaker
29 {
30 namespace Model
31 {
33  {
34  public:
38 
39 
43  inline const Aws::String& GetArn() const{ return m_arn; }
44 
48  inline void SetArn(const Aws::String& value) { m_arn = value; }
49 
53  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
54 
58  inline void SetArn(const char* value) { m_arn.assign(value); }
59 
63  inline CreateRobotApplicationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
64 
68  inline CreateRobotApplicationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
69 
73  inline CreateRobotApplicationResult& WithArn(const char* value) { SetArn(value); return *this;}
74 
75 
79  inline const Aws::String& GetName() const{ return m_name; }
80 
84  inline void SetName(const Aws::String& value) { m_name = value; }
85 
89  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
90 
94  inline void SetName(const char* value) { m_name.assign(value); }
95 
99  inline CreateRobotApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
100 
104  inline CreateRobotApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
105 
109  inline CreateRobotApplicationResult& WithName(const char* value) { SetName(value); return *this;}
110 
111 
115  inline const Aws::String& GetVersion() const{ return m_version; }
116 
120  inline void SetVersion(const Aws::String& value) { m_version = value; }
121 
125  inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
126 
130  inline void SetVersion(const char* value) { m_version.assign(value); }
131 
135  inline CreateRobotApplicationResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
136 
140  inline CreateRobotApplicationResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
141 
145  inline CreateRobotApplicationResult& WithVersion(const char* value) { SetVersion(value); return *this;}
146 
147 
151  inline const Aws::Vector<Source>& GetSources() const{ return m_sources; }
152 
156  inline void SetSources(const Aws::Vector<Source>& value) { m_sources = value; }
157 
161  inline void SetSources(Aws::Vector<Source>&& value) { m_sources = std::move(value); }
162 
166  inline CreateRobotApplicationResult& WithSources(const Aws::Vector<Source>& value) { SetSources(value); return *this;}
167 
171  inline CreateRobotApplicationResult& WithSources(Aws::Vector<Source>&& value) { SetSources(std::move(value)); return *this;}
172 
176  inline CreateRobotApplicationResult& AddSources(const Source& value) { m_sources.push_back(value); return *this; }
177 
181  inline CreateRobotApplicationResult& AddSources(Source&& value) { m_sources.push_back(std::move(value)); return *this; }
182 
183 
188  inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
189 
194  inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuite = value; }
195 
200  inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuite = std::move(value); }
201 
206  inline CreateRobotApplicationResult& WithRobotSoftwareSuite(const RobotSoftwareSuite& value) { SetRobotSoftwareSuite(value); return *this;}
207 
212  inline CreateRobotApplicationResult& WithRobotSoftwareSuite(RobotSoftwareSuite&& value) { SetRobotSoftwareSuite(std::move(value)); return *this;}
213 
214 
219  inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
220 
225  inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
226 
231  inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
232 
237  inline CreateRobotApplicationResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
238 
243  inline CreateRobotApplicationResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
244 
245 
249  inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
250 
254  inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
255 
259  inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
260 
264  inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
265 
269  inline CreateRobotApplicationResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
270 
274  inline CreateRobotApplicationResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
275 
279  inline CreateRobotApplicationResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
280 
281 
285  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
286 
290  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
291 
295  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
296 
300  inline CreateRobotApplicationResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
301 
305  inline CreateRobotApplicationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
306 
310  inline CreateRobotApplicationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
311 
315  inline CreateRobotApplicationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
316 
320  inline CreateRobotApplicationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
321 
325  inline CreateRobotApplicationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
326 
330  inline CreateRobotApplicationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
331 
335  inline CreateRobotApplicationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
336 
340  inline CreateRobotApplicationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
341 
342  private:
343 
344  Aws::String m_arn;
345 
346  Aws::String m_name;
347 
348  Aws::String m_version;
349 
350  Aws::Vector<Source> m_sources;
351 
352  RobotSoftwareSuite m_robotSoftwareSuite;
353 
354  Aws::Utils::DateTime m_lastUpdatedAt;
355 
356  Aws::String m_revisionId;
357 
359  };
360 
361 } // namespace Model
362 } // namespace RoboMaker
363 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetRevisionId
void SetRevisionId(const char *value)
Definition: CreateRobotApplicationResult.h:264
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithArn
CreateRobotApplicationResult & WithArn(Aws::String &&value)
Definition: CreateRobotApplicationResult.h:68
Aws::RoboMaker::Model::CreateRobotApplicationResult::AddSources
CreateRobotApplicationResult & AddSources(const Source &value)
Definition: CreateRobotApplicationResult.h:176
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RoboMaker::Model::CreateRobotApplicationResult::operator=
CreateRobotApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::CreateRobotApplicationResult::AddSources
CreateRobotApplicationResult & AddSources(Source &&value)
Definition: CreateRobotApplicationResult.h:181
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetRobotSoftwareSuite
void SetRobotSoftwareSuite(const RobotSoftwareSuite &value)
Definition: CreateRobotApplicationResult.h:194
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithArn
CreateRobotApplicationResult & WithArn(const Aws::String &value)
Definition: CreateRobotApplicationResult.h:63
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateRobotApplicationResult.h:48
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithTags
CreateRobotApplicationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateRobotApplicationResult.h:300
DateTime.h
Source.h
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithVersion
CreateRobotApplicationResult & WithVersion(const char *value)
Definition: CreateRobotApplicationResult.h:145
Aws::RoboMaker::Model::CreateRobotApplicationResult::GetRobotSoftwareSuite
const RobotSoftwareSuite & GetRobotSoftwareSuite() const
Definition: CreateRobotApplicationResult.h:188
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateRobotApplicationResult.h:53
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithVersion
CreateRobotApplicationResult & WithVersion(const Aws::String &value)
Definition: CreateRobotApplicationResult.h:135
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithArn
CreateRobotApplicationResult & WithArn(const char *value)
Definition: CreateRobotApplicationResult.h:73
AWSVector.h
Aws::RoboMaker::Model::CreateRobotApplicationResult::GetName
const Aws::String & GetName() const
Definition: CreateRobotApplicationResult.h:79
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetRobotSoftwareSuite
void SetRobotSoftwareSuite(RobotSoftwareSuite &&value)
Definition: CreateRobotApplicationResult.h:200
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithSources
CreateRobotApplicationResult & WithSources(const Aws::Vector< Source > &value)
Definition: CreateRobotApplicationResult.h:166
Aws::RoboMaker::Model::CreateRobotApplicationResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateRobotApplicationResult.h:285
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithVersion
CreateRobotApplicationResult & WithVersion(Aws::String &&value)
Definition: CreateRobotApplicationResult.h:140
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithRevisionId
CreateRobotApplicationResult & WithRevisionId(Aws::String &&value)
Definition: CreateRobotApplicationResult.h:274
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetRevisionId
void SetRevisionId(Aws::String &&value)
Definition: CreateRobotApplicationResult.h:259
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetLastUpdatedAt
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: CreateRobotApplicationResult.h:231
Aws::RoboMaker::Model::RobotSoftwareSuite
Definition: RobotSoftwareSuite.h:34
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetVersion
void SetVersion(const char *value)
Definition: CreateRobotApplicationResult.h:130
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithRevisionId
CreateRobotApplicationResult & WithRevisionId(const char *value)
Definition: CreateRobotApplicationResult.h:279
Aws::RoboMaker::Model::CreateRobotApplicationResult::CreateRobotApplicationResult
CreateRobotApplicationResult()
Aws::RoboMaker::Model::CreateRobotApplicationResult::GetSources
const Aws::Vector< Source > & GetSources() const
Definition: CreateRobotApplicationResult.h:151
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithTags
CreateRobotApplicationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateRobotApplicationResult.h:305
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateRobotApplicationResult.h:290
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetRevisionId
void SetRevisionId(const Aws::String &value)
Definition: CreateRobotApplicationResult.h:254
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetSources
void SetSources(const Aws::Vector< Source > &value)
Definition: CreateRobotApplicationResult.h:156
Aws::RoboMaker::Model::CreateRobotApplicationResult::AddTags
CreateRobotApplicationResult & AddTags(const char *key, const char *value)
Definition: CreateRobotApplicationResult.h:340
AWSString.h
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithRobotSoftwareSuite
CreateRobotApplicationResult & WithRobotSoftwareSuite(RobotSoftwareSuite &&value)
Definition: CreateRobotApplicationResult.h:212
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetName
void SetName(const Aws::String &value)
Definition: CreateRobotApplicationResult.h:84
Aws::RoboMaker::Model::CreateRobotApplicationResult::AddTags
CreateRobotApplicationResult & AddTags(const char *key, Aws::String &&value)
Definition: CreateRobotApplicationResult.h:330
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithName
CreateRobotApplicationResult & WithName(const Aws::String &value)
Definition: CreateRobotApplicationResult.h:99
Aws::RoboMaker::Model::CreateRobotApplicationResult::CreateRobotApplicationResult
CreateRobotApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetLastUpdatedAt
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: CreateRobotApplicationResult.h:225
Aws::RoboMaker::Model::CreateRobotApplicationResult::GetArn
const Aws::String & GetArn() const
Definition: CreateRobotApplicationResult.h:43
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithName
CreateRobotApplicationResult & WithName(Aws::String &&value)
Definition: CreateRobotApplicationResult.h:104
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetArn
void SetArn(const char *value)
Definition: CreateRobotApplicationResult.h:58
Aws::RoboMaker::Model::CreateRobotApplicationResult::GetVersion
const Aws::String & GetVersion() const
Definition: CreateRobotApplicationResult.h:115
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetVersion
void SetVersion(const Aws::String &value)
Definition: CreateRobotApplicationResult.h:120
Aws::RoboMaker::Model::CreateRobotApplicationResult::AddTags
CreateRobotApplicationResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateRobotApplicationResult.h:310
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithLastUpdatedAt
CreateRobotApplicationResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: CreateRobotApplicationResult.h:237
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithRevisionId
CreateRobotApplicationResult & WithRevisionId(const Aws::String &value)
Definition: CreateRobotApplicationResult.h:269
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithLastUpdatedAt
CreateRobotApplicationResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: CreateRobotApplicationResult.h:243
Aws
Definition: AccessManagementClient.h:15
RobotSoftwareSuite.h
Aws::RoboMaker::Model::CreateRobotApplicationResult::GetLastUpdatedAt
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition: CreateRobotApplicationResult.h:219
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithName
CreateRobotApplicationResult & WithName(const char *value)
Definition: CreateRobotApplicationResult.h:109
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetVersion
void SetVersion(Aws::String &&value)
Definition: CreateRobotApplicationResult.h:125
Aws::RoboMaker::Model::Source
Definition: Source.h:33
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetSources
void SetSources(Aws::Vector< Source > &&value)
Definition: CreateRobotApplicationResult.h:161
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetName
void SetName(const char *value)
Definition: CreateRobotApplicationResult.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::CreateRobotApplicationResult::AddTags
CreateRobotApplicationResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateRobotApplicationResult.h:320
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithRobotSoftwareSuite
CreateRobotApplicationResult & WithRobotSoftwareSuite(const RobotSoftwareSuite &value)
Definition: CreateRobotApplicationResult.h:206
Aws::RoboMaker::Model::CreateRobotApplicationResult::AddTags
CreateRobotApplicationResult & AddTags(Aws::String &&key, const char *value)
Definition: CreateRobotApplicationResult.h:335
Aws::RoboMaker::Model::CreateRobotApplicationResult::AddTags
CreateRobotApplicationResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateRobotApplicationResult.h:315
Aws::RoboMaker::Model::CreateRobotApplicationResult::AddTags
CreateRobotApplicationResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateRobotApplicationResult.h:325
AWSMap.h
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithSources
CreateRobotApplicationResult & WithSources(Aws::Vector< Source > &&value)
Definition: CreateRobotApplicationResult.h:171
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetName
void SetName(Aws::String &&value)
Definition: CreateRobotApplicationResult.h:89
Aws::RoboMaker::Model::CreateRobotApplicationResult::GetRevisionId
const Aws::String & GetRevisionId() const
Definition: CreateRobotApplicationResult.h:249
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateRobotApplicationResult.h:295
Aws::RoboMaker::Model::CreateRobotApplicationResult
Definition: CreateRobotApplicationResult.h:33