AWS SDK for C++  1.8.126
AWS SDK for C++
CreateRobotApplicationVersionResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace RoboMaker
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const Aws::String& GetArn() const{ return m_arn; }
43 
47  inline void SetArn(const Aws::String& value) { m_arn = value; }
48 
52  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
53 
57  inline void SetArn(const char* value) { m_arn.assign(value); }
58 
62  inline CreateRobotApplicationVersionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
63 
67  inline CreateRobotApplicationVersionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 
72  inline CreateRobotApplicationVersionResult& WithArn(const char* value) { SetArn(value); return *this;}
73 
74 
78  inline const Aws::String& GetName() const{ return m_name; }
79 
83  inline void SetName(const Aws::String& value) { m_name = value; }
84 
88  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
89 
93  inline void SetName(const char* value) { m_name.assign(value); }
94 
98  inline CreateRobotApplicationVersionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
99 
103  inline CreateRobotApplicationVersionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
104 
108  inline CreateRobotApplicationVersionResult& WithName(const char* value) { SetName(value); return *this;}
109 
110 
114  inline const Aws::String& GetVersion() const{ return m_version; }
115 
119  inline void SetVersion(const Aws::String& value) { m_version = value; }
120 
124  inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
125 
129  inline void SetVersion(const char* value) { m_version.assign(value); }
130 
134  inline CreateRobotApplicationVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
135 
139  inline CreateRobotApplicationVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
140 
144  inline CreateRobotApplicationVersionResult& WithVersion(const char* value) { SetVersion(value); return *this;}
145 
146 
150  inline const Aws::Vector<Source>& GetSources() const{ return m_sources; }
151 
155  inline void SetSources(const Aws::Vector<Source>& value) { m_sources = value; }
156 
160  inline void SetSources(Aws::Vector<Source>&& value) { m_sources = std::move(value); }
161 
165  inline CreateRobotApplicationVersionResult& WithSources(const Aws::Vector<Source>& value) { SetSources(value); return *this;}
166 
170  inline CreateRobotApplicationVersionResult& WithSources(Aws::Vector<Source>&& value) { SetSources(std::move(value)); return *this;}
171 
175  inline CreateRobotApplicationVersionResult& AddSources(const Source& value) { m_sources.push_back(value); return *this; }
176 
180  inline CreateRobotApplicationVersionResult& AddSources(Source&& value) { m_sources.push_back(std::move(value)); return *this; }
181 
182 
187  inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
188 
193  inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuite = value; }
194 
199  inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuite = std::move(value); }
200 
205  inline CreateRobotApplicationVersionResult& WithRobotSoftwareSuite(const RobotSoftwareSuite& value) { SetRobotSoftwareSuite(value); return *this;}
206 
211  inline CreateRobotApplicationVersionResult& WithRobotSoftwareSuite(RobotSoftwareSuite&& value) { SetRobotSoftwareSuite(std::move(value)); return *this;}
212 
213 
218  inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
219 
224  inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
225 
230  inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
231 
236  inline CreateRobotApplicationVersionResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
237 
242  inline CreateRobotApplicationVersionResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
243 
244 
248  inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
249 
253  inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
254 
258  inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
259 
263  inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
264 
268  inline CreateRobotApplicationVersionResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
269 
273  inline CreateRobotApplicationVersionResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
274 
278  inline CreateRobotApplicationVersionResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
279 
280  private:
281 
282  Aws::String m_arn;
283 
284  Aws::String m_name;
285 
286  Aws::String m_version;
287 
288  Aws::Vector<Source> m_sources;
289 
290  RobotSoftwareSuite m_robotSoftwareSuite;
291 
292  Aws::Utils::DateTime m_lastUpdatedAt;
293 
294  Aws::String m_revisionId;
295  };
296 
297 } // namespace Model
298 } // namespace RoboMaker
299 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateRobotApplicationVersionResult.h:52
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetName
void SetName(const Aws::String &value)
Definition: CreateRobotApplicationVersionResult.h:83
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithArn
CreateRobotApplicationVersionResult & WithArn(const char *value)
Definition: CreateRobotApplicationVersionResult.h:72
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::GetName
const Aws::String & GetName() const
Definition: CreateRobotApplicationVersionResult.h:78
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetRevisionId
void SetRevisionId(const Aws::String &value)
Definition: CreateRobotApplicationVersionResult.h:253
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult
Definition: CreateRobotApplicationVersionResult.h:32
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithRevisionId
CreateRobotApplicationVersionResult & WithRevisionId(const char *value)
Definition: CreateRobotApplicationVersionResult.h:278
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetLastUpdatedAt
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: CreateRobotApplicationVersionResult.h:224
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithArn
CreateRobotApplicationVersionResult & WithArn(Aws::String &&value)
Definition: CreateRobotApplicationVersionResult.h:67
DateTime.h
Source.h
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetRobotSoftwareSuite
void SetRobotSoftwareSuite(RobotSoftwareSuite &&value)
Definition: CreateRobotApplicationVersionResult.h:199
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetVersion
void SetVersion(Aws::String &&value)
Definition: CreateRobotApplicationVersionResult.h:124
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithSources
CreateRobotApplicationVersionResult & WithSources(Aws::Vector< Source > &&value)
Definition: CreateRobotApplicationVersionResult.h:170
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::GetLastUpdatedAt
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition: CreateRobotApplicationVersionResult.h:218
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetSources
void SetSources(Aws::Vector< Source > &&value)
Definition: CreateRobotApplicationVersionResult.h:160
AWSVector.h
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateRobotApplicationVersionResult.h:47
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::GetRevisionId
const Aws::String & GetRevisionId() const
Definition: CreateRobotApplicationVersionResult.h:248
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetRevisionId
void SetRevisionId(const char *value)
Definition: CreateRobotApplicationVersionResult.h:263
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetName
void SetName(const char *value)
Definition: CreateRobotApplicationVersionResult.h:93
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetRobotSoftwareSuite
void SetRobotSoftwareSuite(const RobotSoftwareSuite &value)
Definition: CreateRobotApplicationVersionResult.h:193
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::GetSources
const Aws::Vector< Source > & GetSources() const
Definition: CreateRobotApplicationVersionResult.h:150
Aws::RoboMaker::Model::RobotSoftwareSuite
Definition: RobotSoftwareSuite.h:34
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithRevisionId
CreateRobotApplicationVersionResult & WithRevisionId(const Aws::String &value)
Definition: CreateRobotApplicationVersionResult.h:268
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::GetRobotSoftwareSuite
const RobotSoftwareSuite & GetRobotSoftwareSuite() const
Definition: CreateRobotApplicationVersionResult.h:187
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::AddSources
CreateRobotApplicationVersionResult & AddSources(const Source &value)
Definition: CreateRobotApplicationVersionResult.h:175
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::operator=
CreateRobotApplicationVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithName
CreateRobotApplicationVersionResult & WithName(const Aws::String &value)
Definition: CreateRobotApplicationVersionResult.h:98
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::GetArn
const Aws::String & GetArn() const
Definition: CreateRobotApplicationVersionResult.h:42
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithLastUpdatedAt
CreateRobotApplicationVersionResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: CreateRobotApplicationVersionResult.h:236
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithSources
CreateRobotApplicationVersionResult & WithSources(const Aws::Vector< Source > &value)
Definition: CreateRobotApplicationVersionResult.h:165
AWSString.h
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetSources
void SetSources(const Aws::Vector< Source > &value)
Definition: CreateRobotApplicationVersionResult.h:155
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithArn
CreateRobotApplicationVersionResult & WithArn(const Aws::String &value)
Definition: CreateRobotApplicationVersionResult.h:62
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetVersion
void SetVersion(const char *value)
Definition: CreateRobotApplicationVersionResult.h:129
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetName
void SetName(Aws::String &&value)
Definition: CreateRobotApplicationVersionResult.h:88
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::CreateRobotApplicationVersionResult
CreateRobotApplicationVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithRevisionId
CreateRobotApplicationVersionResult & WithRevisionId(Aws::String &&value)
Definition: CreateRobotApplicationVersionResult.h:273
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetRevisionId
void SetRevisionId(Aws::String &&value)
Definition: CreateRobotApplicationVersionResult.h:258
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithName
CreateRobotApplicationVersionResult & WithName(Aws::String &&value)
Definition: CreateRobotApplicationVersionResult.h:103
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::AddSources
CreateRobotApplicationVersionResult & AddSources(Source &&value)
Definition: CreateRobotApplicationVersionResult.h:180
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithVersion
CreateRobotApplicationVersionResult & WithVersion(Aws::String &&value)
Definition: CreateRobotApplicationVersionResult.h:139
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetArn
void SetArn(const char *value)
Definition: CreateRobotApplicationVersionResult.h:57
RobotSoftwareSuite.h
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithVersion
CreateRobotApplicationVersionResult & WithVersion(const char *value)
Definition: CreateRobotApplicationVersionResult.h:144
Aws::RoboMaker::Model::Source
Definition: Source.h:33
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithName
CreateRobotApplicationVersionResult & WithName(const char *value)
Definition: CreateRobotApplicationVersionResult.h:108
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetVersion
void SetVersion(const Aws::String &value)
Definition: CreateRobotApplicationVersionResult.h:119
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithVersion
CreateRobotApplicationVersionResult & WithVersion(const Aws::String &value)
Definition: CreateRobotApplicationVersionResult.h:134
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithLastUpdatedAt
CreateRobotApplicationVersionResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: CreateRobotApplicationVersionResult.h:242
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithRobotSoftwareSuite
CreateRobotApplicationVersionResult & WithRobotSoftwareSuite(RobotSoftwareSuite &&value)
Definition: CreateRobotApplicationVersionResult.h:211
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::CreateRobotApplicationVersionResult
CreateRobotApplicationVersionResult()
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::GetVersion
const Aws::String & GetVersion() const
Definition: CreateRobotApplicationVersionResult.h:114
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::WithRobotSoftwareSuite
CreateRobotApplicationVersionResult & WithRobotSoftwareSuite(const RobotSoftwareSuite &value)
Definition: CreateRobotApplicationVersionResult.h:205
Aws::RoboMaker::Model::CreateRobotApplicationVersionResult::SetLastUpdatedAt
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: CreateRobotApplicationVersionResult.h:230