AWS SDK for C++  1.9.20
AWS SDK for C++
UpdateRobotApplicationResult.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 UpdateRobotApplicationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
63 
67  inline UpdateRobotApplicationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 
72  inline UpdateRobotApplicationResult& 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 UpdateRobotApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
99 
103  inline UpdateRobotApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
104 
108  inline UpdateRobotApplicationResult& 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 UpdateRobotApplicationResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
135 
139  inline UpdateRobotApplicationResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
140 
144  inline UpdateRobotApplicationResult& 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 UpdateRobotApplicationResult& WithSources(const Aws::Vector<Source>& value) { SetSources(value); return *this;}
166 
170  inline UpdateRobotApplicationResult& WithSources(Aws::Vector<Source>&& value) { SetSources(std::move(value)); return *this;}
171 
175  inline UpdateRobotApplicationResult& AddSources(const Source& value) { m_sources.push_back(value); return *this; }
176 
180  inline UpdateRobotApplicationResult& 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 UpdateRobotApplicationResult& WithRobotSoftwareSuite(const RobotSoftwareSuite& value) { SetRobotSoftwareSuite(value); return *this;}
206 
211  inline UpdateRobotApplicationResult& 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 UpdateRobotApplicationResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
237 
242  inline UpdateRobotApplicationResult& 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 UpdateRobotApplicationResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
269 
273  inline UpdateRobotApplicationResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
274 
278  inline UpdateRobotApplicationResult& 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::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetLastUpdatedAt
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: UpdateRobotApplicationResult.h:230
Aws::RoboMaker::Model::UpdateRobotApplicationResult::GetLastUpdatedAt
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition: UpdateRobotApplicationResult.h:218
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetRobotSoftwareSuite
void SetRobotSoftwareSuite(RobotSoftwareSuite &&value)
Definition: UpdateRobotApplicationResult.h:199
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithArn
UpdateRobotApplicationResult & WithArn(const Aws::String &value)
Definition: UpdateRobotApplicationResult.h:62
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithArn
UpdateRobotApplicationResult & WithArn(Aws::String &&value)
Definition: UpdateRobotApplicationResult.h:67
Aws::RoboMaker::Model::UpdateRobotApplicationResult::GetVersion
const Aws::String & GetVersion() const
Definition: UpdateRobotApplicationResult.h:114
DateTime.h
Aws::RoboMaker::Model::UpdateRobotApplicationResult::GetArn
const Aws::String & GetArn() const
Definition: UpdateRobotApplicationResult.h:42
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithSources
UpdateRobotApplicationResult & WithSources(const Aws::Vector< Source > &value)
Definition: UpdateRobotApplicationResult.h:165
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetRevisionId
void SetRevisionId(const char *value)
Definition: UpdateRobotApplicationResult.h:263
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetSources
void SetSources(const Aws::Vector< Source > &value)
Definition: UpdateRobotApplicationResult.h:155
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetRevisionId
void SetRevisionId(const Aws::String &value)
Definition: UpdateRobotApplicationResult.h:253
Source.h
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithLastUpdatedAt
UpdateRobotApplicationResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: UpdateRobotApplicationResult.h:242
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetLastUpdatedAt
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: UpdateRobotApplicationResult.h:224
AWSVector.h
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithName
UpdateRobotApplicationResult & WithName(Aws::String &&value)
Definition: UpdateRobotApplicationResult.h:103
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetVersion
void SetVersion(Aws::String &&value)
Definition: UpdateRobotApplicationResult.h:124
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetRobotSoftwareSuite
void SetRobotSoftwareSuite(const RobotSoftwareSuite &value)
Definition: UpdateRobotApplicationResult.h:193
Aws::RoboMaker::Model::UpdateRobotApplicationResult::UpdateRobotApplicationResult
UpdateRobotApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::UpdateRobotApplicationResult::AddSources
UpdateRobotApplicationResult & AddSources(Source &&value)
Definition: UpdateRobotApplicationResult.h:180
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetSources
void SetSources(Aws::Vector< Source > &&value)
Definition: UpdateRobotApplicationResult.h:160
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetVersion
void SetVersion(const Aws::String &value)
Definition: UpdateRobotApplicationResult.h:119
Aws::RoboMaker::Model::RobotSoftwareSuite
Definition: RobotSoftwareSuite.h:34
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithVersion
UpdateRobotApplicationResult & WithVersion(const Aws::String &value)
Definition: UpdateRobotApplicationResult.h:134
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithName
UpdateRobotApplicationResult & WithName(const Aws::String &value)
Definition: UpdateRobotApplicationResult.h:98
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithVersion
UpdateRobotApplicationResult & WithVersion(Aws::String &&value)
Definition: UpdateRobotApplicationResult.h:139
Aws::RoboMaker::Model::UpdateRobotApplicationResult::GetSources
const Aws::Vector< Source > & GetSources() const
Definition: UpdateRobotApplicationResult.h:150
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetArn
void SetArn(const Aws::String &value)
Definition: UpdateRobotApplicationResult.h:47
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetName
void SetName(const char *value)
Definition: UpdateRobotApplicationResult.h:93
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetArn
void SetArn(const char *value)
Definition: UpdateRobotApplicationResult.h:57
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetArn
void SetArn(Aws::String &&value)
Definition: UpdateRobotApplicationResult.h:52
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetVersion
void SetVersion(const char *value)
Definition: UpdateRobotApplicationResult.h:129
AWSString.h
Aws::RoboMaker::Model::UpdateRobotApplicationResult::GetRevisionId
const Aws::String & GetRevisionId() const
Definition: UpdateRobotApplicationResult.h:248
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithRobotSoftwareSuite
UpdateRobotApplicationResult & WithRobotSoftwareSuite(const RobotSoftwareSuite &value)
Definition: UpdateRobotApplicationResult.h:205
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithRobotSoftwareSuite
UpdateRobotApplicationResult & WithRobotSoftwareSuite(RobotSoftwareSuite &&value)
Definition: UpdateRobotApplicationResult.h:211
Aws::RoboMaker::Model::UpdateRobotApplicationResult
Definition: UpdateRobotApplicationResult.h:32
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithSources
UpdateRobotApplicationResult & WithSources(Aws::Vector< Source > &&value)
Definition: UpdateRobotApplicationResult.h:170
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithLastUpdatedAt
UpdateRobotApplicationResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: UpdateRobotApplicationResult.h:236
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetName
void SetName(const Aws::String &value)
Definition: UpdateRobotApplicationResult.h:83
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithRevisionId
UpdateRobotApplicationResult & WithRevisionId(const Aws::String &value)
Definition: UpdateRobotApplicationResult.h:268
Aws::RoboMaker::Model::UpdateRobotApplicationResult::operator=
UpdateRobotApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
RobotSoftwareSuite.h
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithArn
UpdateRobotApplicationResult & WithArn(const char *value)
Definition: UpdateRobotApplicationResult.h:72
Aws::RoboMaker::Model::Source
Definition: Source.h:33
Aws::RoboMaker::Model::UpdateRobotApplicationResult::GetName
const Aws::String & GetName() const
Definition: UpdateRobotApplicationResult.h:78
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithRevisionId
UpdateRobotApplicationResult & WithRevisionId(Aws::String &&value)
Definition: UpdateRobotApplicationResult.h:273
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithRevisionId
UpdateRobotApplicationResult & WithRevisionId(const char *value)
Definition: UpdateRobotApplicationResult.h:278
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetName
void SetName(Aws::String &&value)
Definition: UpdateRobotApplicationResult.h:88
Aws::RoboMaker::Model::UpdateRobotApplicationResult::UpdateRobotApplicationResult
UpdateRobotApplicationResult()
Aws::RoboMaker::Model::UpdateRobotApplicationResult::SetRevisionId
void SetRevisionId(Aws::String &&value)
Definition: UpdateRobotApplicationResult.h:258
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithVersion
UpdateRobotApplicationResult & WithVersion(const char *value)
Definition: UpdateRobotApplicationResult.h:144
Aws::RoboMaker::Model::UpdateRobotApplicationResult::WithName
UpdateRobotApplicationResult & WithName(const char *value)
Definition: UpdateRobotApplicationResult.h:108
Aws::RoboMaker::Model::UpdateRobotApplicationResult::GetRobotSoftwareSuite
const RobotSoftwareSuite & GetRobotSoftwareSuite() const
Definition: UpdateRobotApplicationResult.h:187
Aws::RoboMaker::Model::UpdateRobotApplicationResult::AddSources
UpdateRobotApplicationResult & AddSources(const Source &value)
Definition: UpdateRobotApplicationResult.h:175