AWS SDK for C++  1.9.160
AWS SDK for C++
CreateRobotApplicationResult.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 template<typename RESULT_TYPE>
20 class AmazonWebServiceResult;
21 
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace RoboMaker
30 {
31 namespace Model
32 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetArn() const{ return m_arn; }
45 
49  inline void SetArn(const Aws::String& value) { m_arn = value; }
50 
54  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
55 
59  inline void SetArn(const char* value) { m_arn.assign(value); }
60 
64  inline CreateRobotApplicationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
65 
69  inline CreateRobotApplicationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
70 
74  inline CreateRobotApplicationResult& WithArn(const char* value) { SetArn(value); return *this;}
75 
76 
80  inline const Aws::String& GetName() const{ return m_name; }
81 
85  inline void SetName(const Aws::String& value) { m_name = value; }
86 
90  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
91 
95  inline void SetName(const char* value) { m_name.assign(value); }
96 
100  inline CreateRobotApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
101 
105  inline CreateRobotApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
106 
110  inline CreateRobotApplicationResult& WithName(const char* value) { SetName(value); return *this;}
111 
112 
116  inline const Aws::String& GetVersion() const{ return m_version; }
117 
121  inline void SetVersion(const Aws::String& value) { m_version = value; }
122 
126  inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
127 
131  inline void SetVersion(const char* value) { m_version.assign(value); }
132 
136  inline CreateRobotApplicationResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
137 
141  inline CreateRobotApplicationResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
142 
146  inline CreateRobotApplicationResult& WithVersion(const char* value) { SetVersion(value); return *this;}
147 
148 
152  inline const Aws::Vector<Source>& GetSources() const{ return m_sources; }
153 
157  inline void SetSources(const Aws::Vector<Source>& value) { m_sources = value; }
158 
162  inline void SetSources(Aws::Vector<Source>&& value) { m_sources = std::move(value); }
163 
167  inline CreateRobotApplicationResult& WithSources(const Aws::Vector<Source>& value) { SetSources(value); return *this;}
168 
172  inline CreateRobotApplicationResult& WithSources(Aws::Vector<Source>&& value) { SetSources(std::move(value)); return *this;}
173 
177  inline CreateRobotApplicationResult& AddSources(const Source& value) { m_sources.push_back(value); return *this; }
178 
182  inline CreateRobotApplicationResult& AddSources(Source&& value) { m_sources.push_back(std::move(value)); return *this; }
183 
184 
189  inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
190 
195  inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuite = value; }
196 
201  inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuite = std::move(value); }
202 
207  inline CreateRobotApplicationResult& WithRobotSoftwareSuite(const RobotSoftwareSuite& value) { SetRobotSoftwareSuite(value); return *this;}
208 
213  inline CreateRobotApplicationResult& WithRobotSoftwareSuite(RobotSoftwareSuite&& value) { SetRobotSoftwareSuite(std::move(value)); return *this;}
214 
215 
220  inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
221 
226  inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
227 
232  inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
233 
238  inline CreateRobotApplicationResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
239 
244  inline CreateRobotApplicationResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
245 
246 
250  inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
251 
255  inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
256 
260  inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
261 
265  inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
266 
270  inline CreateRobotApplicationResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
271 
275  inline CreateRobotApplicationResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
276 
280  inline CreateRobotApplicationResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
281 
282 
286  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
287 
291  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
292 
296  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
297 
301  inline CreateRobotApplicationResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
302 
306  inline CreateRobotApplicationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
307 
311  inline CreateRobotApplicationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
312 
316  inline CreateRobotApplicationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
317 
321  inline CreateRobotApplicationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
322 
326  inline CreateRobotApplicationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
327 
331  inline CreateRobotApplicationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
332 
336  inline CreateRobotApplicationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
337 
341  inline CreateRobotApplicationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
342 
343 
348  inline const Environment& GetEnvironment() const{ return m_environment; }
349 
354  inline void SetEnvironment(const Environment& value) { m_environment = value; }
355 
360  inline void SetEnvironment(Environment&& value) { m_environment = std::move(value); }
361 
366  inline CreateRobotApplicationResult& WithEnvironment(const Environment& value) { SetEnvironment(value); return *this;}
367 
372  inline CreateRobotApplicationResult& WithEnvironment(Environment&& value) { SetEnvironment(std::move(value)); return *this;}
373 
374  private:
375 
376  Aws::String m_arn;
377 
378  Aws::String m_name;
379 
380  Aws::String m_version;
381 
382  Aws::Vector<Source> m_sources;
383 
384  RobotSoftwareSuite m_robotSoftwareSuite;
385 
386  Aws::Utils::DateTime m_lastUpdatedAt;
387 
388  Aws::String m_revisionId;
389 
391 
392  Environment m_environment;
393  };
394 
395 } // namespace Model
396 } // namespace RoboMaker
397 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetRevisionId
void SetRevisionId(const char *value)
Definition: CreateRobotApplicationResult.h:265
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithArn
CreateRobotApplicationResult & WithArn(Aws::String &&value)
Definition: CreateRobotApplicationResult.h:69
Aws::RoboMaker::Model::CreateRobotApplicationResult::AddSources
CreateRobotApplicationResult & AddSources(const Source &value)
Definition: CreateRobotApplicationResult.h:177
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:182
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetRobotSoftwareSuite
void SetRobotSoftwareSuite(const RobotSoftwareSuite &value)
Definition: CreateRobotApplicationResult.h:195
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithArn
CreateRobotApplicationResult & WithArn(const Aws::String &value)
Definition: CreateRobotApplicationResult.h:64
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateRobotApplicationResult.h:49
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithTags
CreateRobotApplicationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateRobotApplicationResult.h:301
DateTime.h
Source.h
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithVersion
CreateRobotApplicationResult & WithVersion(const char *value)
Definition: CreateRobotApplicationResult.h:146
Aws::RoboMaker::Model::CreateRobotApplicationResult::GetRobotSoftwareSuite
const RobotSoftwareSuite & GetRobotSoftwareSuite() const
Definition: CreateRobotApplicationResult.h:189
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::Environment
Definition: Environment.h:33
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateRobotApplicationResult.h:54
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithVersion
CreateRobotApplicationResult & WithVersion(const Aws::String &value)
Definition: CreateRobotApplicationResult.h:136
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithArn
CreateRobotApplicationResult & WithArn(const char *value)
Definition: CreateRobotApplicationResult.h:74
AWSVector.h
Aws::RoboMaker::Model::CreateRobotApplicationResult::GetName
const Aws::String & GetName() const
Definition: CreateRobotApplicationResult.h:80
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetRobotSoftwareSuite
void SetRobotSoftwareSuite(RobotSoftwareSuite &&value)
Definition: CreateRobotApplicationResult.h:201
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithSources
CreateRobotApplicationResult & WithSources(const Aws::Vector< Source > &value)
Definition: CreateRobotApplicationResult.h:167
Aws::RoboMaker::Model::CreateRobotApplicationResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateRobotApplicationResult.h:286
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithVersion
CreateRobotApplicationResult & WithVersion(Aws::String &&value)
Definition: CreateRobotApplicationResult.h:141
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithRevisionId
CreateRobotApplicationResult & WithRevisionId(Aws::String &&value)
Definition: CreateRobotApplicationResult.h:275
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:260
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetLastUpdatedAt
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: CreateRobotApplicationResult.h:232
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetEnvironment
void SetEnvironment(Environment &&value)
Definition: CreateRobotApplicationResult.h:360
Aws::RoboMaker::Model::RobotSoftwareSuite
Definition: RobotSoftwareSuite.h:34
Environment.h
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetVersion
void SetVersion(const char *value)
Definition: CreateRobotApplicationResult.h:131
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithRevisionId
CreateRobotApplicationResult & WithRevisionId(const char *value)
Definition: CreateRobotApplicationResult.h:280
Aws::RoboMaker::Model::CreateRobotApplicationResult::CreateRobotApplicationResult
CreateRobotApplicationResult()
Aws::RoboMaker::Model::CreateRobotApplicationResult::GetSources
const Aws::Vector< Source > & GetSources() const
Definition: CreateRobotApplicationResult.h:152
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithTags
CreateRobotApplicationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateRobotApplicationResult.h:306
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateRobotApplicationResult.h:291
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetRevisionId
void SetRevisionId(const Aws::String &value)
Definition: CreateRobotApplicationResult.h:255
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetSources
void SetSources(const Aws::Vector< Source > &value)
Definition: CreateRobotApplicationResult.h:157
Aws::RoboMaker::Model::CreateRobotApplicationResult::AddTags
CreateRobotApplicationResult & AddTags(const char *key, const char *value)
Definition: CreateRobotApplicationResult.h:341
AWSString.h
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithRobotSoftwareSuite
CreateRobotApplicationResult & WithRobotSoftwareSuite(RobotSoftwareSuite &&value)
Definition: CreateRobotApplicationResult.h:213
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetName
void SetName(const Aws::String &value)
Definition: CreateRobotApplicationResult.h:85
Aws::RoboMaker::Model::CreateRobotApplicationResult::AddTags
CreateRobotApplicationResult & AddTags(const char *key, Aws::String &&value)
Definition: CreateRobotApplicationResult.h:331
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithName
CreateRobotApplicationResult & WithName(const Aws::String &value)
Definition: CreateRobotApplicationResult.h:100
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:226
Aws::RoboMaker::Model::CreateRobotApplicationResult::GetArn
const Aws::String & GetArn() const
Definition: CreateRobotApplicationResult.h:44
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithName
CreateRobotApplicationResult & WithName(Aws::String &&value)
Definition: CreateRobotApplicationResult.h:105
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetArn
void SetArn(const char *value)
Definition: CreateRobotApplicationResult.h:59
Aws::RoboMaker::Model::CreateRobotApplicationResult::GetVersion
const Aws::String & GetVersion() const
Definition: CreateRobotApplicationResult.h:116
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetVersion
void SetVersion(const Aws::String &value)
Definition: CreateRobotApplicationResult.h:121
Aws::RoboMaker::Model::CreateRobotApplicationResult::AddTags
CreateRobotApplicationResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateRobotApplicationResult.h:311
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithLastUpdatedAt
CreateRobotApplicationResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: CreateRobotApplicationResult.h:238
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithRevisionId
CreateRobotApplicationResult & WithRevisionId(const Aws::String &value)
Definition: CreateRobotApplicationResult.h:270
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithLastUpdatedAt
CreateRobotApplicationResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: CreateRobotApplicationResult.h:244
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
RobotSoftwareSuite.h
Aws::RoboMaker::Model::CreateRobotApplicationResult::GetLastUpdatedAt
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition: CreateRobotApplicationResult.h:220
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithName
CreateRobotApplicationResult & WithName(const char *value)
Definition: CreateRobotApplicationResult.h:110
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetVersion
void SetVersion(Aws::String &&value)
Definition: CreateRobotApplicationResult.h:126
Aws::RoboMaker::Model::Source
Definition: Source.h:33
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetSources
void SetSources(Aws::Vector< Source > &&value)
Definition: CreateRobotApplicationResult.h:162
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetName
void SetName(const char *value)
Definition: CreateRobotApplicationResult.h:95
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:321
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithEnvironment
CreateRobotApplicationResult & WithEnvironment(Environment &&value)
Definition: CreateRobotApplicationResult.h:372
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithRobotSoftwareSuite
CreateRobotApplicationResult & WithRobotSoftwareSuite(const RobotSoftwareSuite &value)
Definition: CreateRobotApplicationResult.h:207
Aws::RoboMaker::Model::CreateRobotApplicationResult::AddTags
CreateRobotApplicationResult & AddTags(Aws::String &&key, const char *value)
Definition: CreateRobotApplicationResult.h:336
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithEnvironment
CreateRobotApplicationResult & WithEnvironment(const Environment &value)
Definition: CreateRobotApplicationResult.h:366
Aws::RoboMaker::Model::CreateRobotApplicationResult::AddTags
CreateRobotApplicationResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateRobotApplicationResult.h:316
Aws::RoboMaker::Model::CreateRobotApplicationResult::AddTags
CreateRobotApplicationResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateRobotApplicationResult.h:326
AWSMap.h
Aws::RoboMaker::Model::CreateRobotApplicationResult::WithSources
CreateRobotApplicationResult & WithSources(Aws::Vector< Source > &&value)
Definition: CreateRobotApplicationResult.h:172
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetName
void SetName(Aws::String &&value)
Definition: CreateRobotApplicationResult.h:90
Aws::RoboMaker::Model::CreateRobotApplicationResult::GetRevisionId
const Aws::String & GetRevisionId() const
Definition: CreateRobotApplicationResult.h:250
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:296
Aws::RoboMaker::Model::CreateRobotApplicationResult::GetEnvironment
const Environment & GetEnvironment() const
Definition: CreateRobotApplicationResult.h:348
Aws::RoboMaker::Model::CreateRobotApplicationResult
Definition: CreateRobotApplicationResult.h:34
Aws::RoboMaker::Model::CreateRobotApplicationResult::SetEnvironment
void SetEnvironment(const Environment &value)
Definition: CreateRobotApplicationResult.h:354