AWS SDK for C++  1.9.21
AWS SDK for C++
DescribeFleetResult.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& GetName() const{ return m_name; }
44 
48  inline void SetName(const Aws::String& value) { m_name = value; }
49 
53  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
54 
58  inline void SetName(const char* value) { m_name.assign(value); }
59 
63  inline DescribeFleetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
64 
68  inline DescribeFleetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 
73  inline DescribeFleetResult& WithName(const char* value) { SetName(value); return *this;}
74 
75 
79  inline const Aws::String& GetArn() const{ return m_arn; }
80 
84  inline void SetArn(const Aws::String& value) { m_arn = value; }
85 
89  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
90 
94  inline void SetArn(const char* value) { m_arn.assign(value); }
95 
99  inline DescribeFleetResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
100 
104  inline DescribeFleetResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
105 
109  inline DescribeFleetResult& WithArn(const char* value) { SetArn(value); return *this;}
110 
111 
115  inline const Aws::Vector<Robot>& GetRobots() const{ return m_robots; }
116 
120  inline void SetRobots(const Aws::Vector<Robot>& value) { m_robots = value; }
121 
125  inline void SetRobots(Aws::Vector<Robot>&& value) { m_robots = std::move(value); }
126 
130  inline DescribeFleetResult& WithRobots(const Aws::Vector<Robot>& value) { SetRobots(value); return *this;}
131 
135  inline DescribeFleetResult& WithRobots(Aws::Vector<Robot>&& value) { SetRobots(std::move(value)); return *this;}
136 
140  inline DescribeFleetResult& AddRobots(const Robot& value) { m_robots.push_back(value); return *this; }
141 
145  inline DescribeFleetResult& AddRobots(Robot&& value) { m_robots.push_back(std::move(value)); return *this; }
146 
147 
151  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
152 
156  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
157 
161  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
162 
166  inline DescribeFleetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
167 
171  inline DescribeFleetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
172 
173 
177  inline const DeploymentStatus& GetLastDeploymentStatus() const{ return m_lastDeploymentStatus; }
178 
182  inline void SetLastDeploymentStatus(const DeploymentStatus& value) { m_lastDeploymentStatus = value; }
183 
187  inline void SetLastDeploymentStatus(DeploymentStatus&& value) { m_lastDeploymentStatus = std::move(value); }
188 
192  inline DescribeFleetResult& WithLastDeploymentStatus(const DeploymentStatus& value) { SetLastDeploymentStatus(value); return *this;}
193 
197  inline DescribeFleetResult& WithLastDeploymentStatus(DeploymentStatus&& value) { SetLastDeploymentStatus(std::move(value)); return *this;}
198 
199 
203  inline const Aws::String& GetLastDeploymentJob() const{ return m_lastDeploymentJob; }
204 
208  inline void SetLastDeploymentJob(const Aws::String& value) { m_lastDeploymentJob = value; }
209 
213  inline void SetLastDeploymentJob(Aws::String&& value) { m_lastDeploymentJob = std::move(value); }
214 
218  inline void SetLastDeploymentJob(const char* value) { m_lastDeploymentJob.assign(value); }
219 
223  inline DescribeFleetResult& WithLastDeploymentJob(const Aws::String& value) { SetLastDeploymentJob(value); return *this;}
224 
228  inline DescribeFleetResult& WithLastDeploymentJob(Aws::String&& value) { SetLastDeploymentJob(std::move(value)); return *this;}
229 
233  inline DescribeFleetResult& WithLastDeploymentJob(const char* value) { SetLastDeploymentJob(value); return *this;}
234 
235 
239  inline const Aws::Utils::DateTime& GetLastDeploymentTime() const{ return m_lastDeploymentTime; }
240 
244  inline void SetLastDeploymentTime(const Aws::Utils::DateTime& value) { m_lastDeploymentTime = value; }
245 
249  inline void SetLastDeploymentTime(Aws::Utils::DateTime&& value) { m_lastDeploymentTime = std::move(value); }
250 
254  inline DescribeFleetResult& WithLastDeploymentTime(const Aws::Utils::DateTime& value) { SetLastDeploymentTime(value); return *this;}
255 
259  inline DescribeFleetResult& WithLastDeploymentTime(Aws::Utils::DateTime&& value) { SetLastDeploymentTime(std::move(value)); return *this;}
260 
261 
265  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
266 
270  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
271 
275  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
276 
280  inline DescribeFleetResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
281 
285  inline DescribeFleetResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
286 
290  inline DescribeFleetResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
291 
295  inline DescribeFleetResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
296 
300  inline DescribeFleetResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
301 
305  inline DescribeFleetResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
306 
310  inline DescribeFleetResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
311 
315  inline DescribeFleetResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
316 
320  inline DescribeFleetResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
321 
322  private:
323 
324  Aws::String m_name;
325 
326  Aws::String m_arn;
327 
328  Aws::Vector<Robot> m_robots;
329 
330  Aws::Utils::DateTime m_createdAt;
331 
332  DeploymentStatus m_lastDeploymentStatus;
333 
334  Aws::String m_lastDeploymentJob;
335 
336  Aws::Utils::DateTime m_lastDeploymentTime;
337 
339  };
340 
341 } // namespace Model
342 } // namespace RoboMaker
343 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::DescribeFleetResult::WithTags
DescribeFleetResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeFleetResult.h:280
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RoboMaker::Model::DescribeFleetResult::GetLastDeploymentTime
const Aws::Utils::DateTime & GetLastDeploymentTime() const
Definition: DescribeFleetResult.h:239
Aws::RoboMaker::Model::DescribeFleetResult::SetLastDeploymentJob
void SetLastDeploymentJob(Aws::String &&value)
Definition: DescribeFleetResult.h:213
Aws::RoboMaker::Model::DescribeFleetResult::SetRobots
void SetRobots(Aws::Vector< Robot > &&value)
Definition: DescribeFleetResult.h:125
Aws::RoboMaker::Model::DescribeFleetResult::WithRobots
DescribeFleetResult & WithRobots(Aws::Vector< Robot > &&value)
Definition: DescribeFleetResult.h:135
Aws::RoboMaker::Model::DescribeFleetResult::AddTags
DescribeFleetResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: DescribeFleetResult.h:305
Aws::RoboMaker::Model::DescribeFleetResult::WithName
DescribeFleetResult & WithName(const char *value)
Definition: DescribeFleetResult.h:73
Aws::RoboMaker::Model::DeploymentStatus
DeploymentStatus
Definition: DeploymentStatus.h:17
Aws::RoboMaker::Model::DescribeFleetResult::WithArn
DescribeFleetResult & WithArn(const Aws::String &value)
Definition: DescribeFleetResult.h:99
Aws::RoboMaker::Model::DescribeFleetResult::AddTags
DescribeFleetResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: DescribeFleetResult.h:300
Aws::RoboMaker::Model::DescribeFleetResult::AddRobots
DescribeFleetResult & AddRobots(Robot &&value)
Definition: DescribeFleetResult.h:145
Aws::RoboMaker::Model::DescribeFleetResult::AddTags
DescribeFleetResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: DescribeFleetResult.h:290
Aws::RoboMaker::Model::DescribeFleetResult::WithTags
DescribeFleetResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeFleetResult.h:285
Aws::RoboMaker::Model::DescribeFleetResult::operator=
DescribeFleetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::DescribeFleetResult::SetLastDeploymentStatus
void SetLastDeploymentStatus(DeploymentStatus &&value)
Definition: DescribeFleetResult.h:187
Aws::RoboMaker::Model::DescribeFleetResult::SetArn
void SetArn(const char *value)
Definition: DescribeFleetResult.h:94
Aws::RoboMaker::Model::DescribeFleetResult::AddTags
DescribeFleetResult & AddTags(Aws::String &&key, const char *value)
Definition: DescribeFleetResult.h:315
Aws::RoboMaker::Model::DescribeFleetResult::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: DescribeFleetResult.h:156
DateTime.h
Aws::RoboMaker::Model::DescribeFleetResult::GetLastDeploymentJob
const Aws::String & GetLastDeploymentJob() const
Definition: DescribeFleetResult.h:203
Aws::RoboMaker::Model::DescribeFleetResult::SetArn
void SetArn(Aws::String &&value)
Definition: DescribeFleetResult.h:89
Aws::RoboMaker::Model::DescribeFleetResult::GetName
const Aws::String & GetName() const
Definition: DescribeFleetResult.h:43
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::DescribeFleetResult::AddTags
DescribeFleetResult & AddTags(const char *key, const char *value)
Definition: DescribeFleetResult.h:320
Aws::RoboMaker::Model::DescribeFleetResult::AddTags
DescribeFleetResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: DescribeFleetResult.h:295
Aws::RoboMaker::Model::DescribeFleetResult::WithCreatedAt
DescribeFleetResult & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: DescribeFleetResult.h:171
Aws::RoboMaker::Model::DescribeFleetResult::WithName
DescribeFleetResult & WithName(Aws::String &&value)
Definition: DescribeFleetResult.h:68
Aws::RoboMaker::Model::DescribeFleetResult
Definition: DescribeFleetResult.h:33
Aws::RoboMaker::Model::DescribeFleetResult::WithLastDeploymentStatus
DescribeFleetResult & WithLastDeploymentStatus(DeploymentStatus &&value)
Definition: DescribeFleetResult.h:197
Aws::RoboMaker::Model::DescribeFleetResult::SetName
void SetName(Aws::String &&value)
Definition: DescribeFleetResult.h:53
AWSVector.h
Aws::RoboMaker::Model::Robot
Definition: Robot.h:35
Aws::RoboMaker::Model::DescribeFleetResult::AddRobots
DescribeFleetResult & AddRobots(const Robot &value)
Definition: DescribeFleetResult.h:140
Aws::RoboMaker::Model::DescribeFleetResult::WithLastDeploymentJob
DescribeFleetResult & WithLastDeploymentJob(const char *value)
Definition: DescribeFleetResult.h:233
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::DescribeFleetResult::SetArn
void SetArn(const Aws::String &value)
Definition: DescribeFleetResult.h:84
Aws::RoboMaker::Model::DescribeFleetResult::SetLastDeploymentJob
void SetLastDeploymentJob(const char *value)
Definition: DescribeFleetResult.h:218
Aws::RoboMaker::Model::DescribeFleetResult::WithLastDeploymentTime
DescribeFleetResult & WithLastDeploymentTime(Aws::Utils::DateTime &&value)
Definition: DescribeFleetResult.h:259
Aws::RoboMaker::Model::DescribeFleetResult::WithLastDeploymentTime
DescribeFleetResult & WithLastDeploymentTime(const Aws::Utils::DateTime &value)
Definition: DescribeFleetResult.h:254
Aws::RoboMaker::Model::DescribeFleetResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeFleetResult.h:275
Aws::RoboMaker::Model::DescribeFleetResult::DescribeFleetResult
DescribeFleetResult()
Aws::RoboMaker::Model::DescribeFleetResult::WithName
DescribeFleetResult & WithName(const Aws::String &value)
Definition: DescribeFleetResult.h:63
Aws::RoboMaker::Model::DescribeFleetResult::GetLastDeploymentStatus
const DeploymentStatus & GetLastDeploymentStatus() const
Definition: DescribeFleetResult.h:177
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::DescribeFleetResult::SetRobots
void SetRobots(const Aws::Vector< Robot > &value)
Definition: DescribeFleetResult.h:120
Aws::RoboMaker::Model::DescribeFleetResult::WithLastDeploymentJob
DescribeFleetResult & WithLastDeploymentJob(Aws::String &&value)
Definition: DescribeFleetResult.h:228
Aws::RoboMaker::Model::DescribeFleetResult::WithArn
DescribeFleetResult & WithArn(Aws::String &&value)
Definition: DescribeFleetResult.h:104
AWSString.h
Aws::RoboMaker::Model::DescribeFleetResult::WithLastDeploymentJob
DescribeFleetResult & WithLastDeploymentJob(const Aws::String &value)
Definition: DescribeFleetResult.h:223
Aws::RoboMaker::Model::DescribeFleetResult::SetName
void SetName(const char *value)
Definition: DescribeFleetResult.h:58
DeploymentStatus.h
Aws::RoboMaker::Model::DescribeFleetResult::WithLastDeploymentStatus
DescribeFleetResult & WithLastDeploymentStatus(const DeploymentStatus &value)
Definition: DescribeFleetResult.h:192
Aws::RoboMaker::Model::DescribeFleetResult::SetLastDeploymentStatus
void SetLastDeploymentStatus(const DeploymentStatus &value)
Definition: DescribeFleetResult.h:182
Aws::RoboMaker::Model::DescribeFleetResult::GetArn
const Aws::String & GetArn() const
Definition: DescribeFleetResult.h:79
Aws::RoboMaker::Model::DescribeFleetResult::SetLastDeploymentTime
void SetLastDeploymentTime(Aws::Utils::DateTime &&value)
Definition: DescribeFleetResult.h:249
Aws::RoboMaker::Model::DescribeFleetResult::SetLastDeploymentJob
void SetLastDeploymentJob(const Aws::String &value)
Definition: DescribeFleetResult.h:208
Aws::RoboMaker::Model::DescribeFleetResult::DescribeFleetResult
DescribeFleetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::DescribeFleetResult::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: DescribeFleetResult.h:151
Aws::RoboMaker::Model::DescribeFleetResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeFleetResult.h:270
Robot.h
Aws::RoboMaker::Model::DescribeFleetResult::GetRobots
const Aws::Vector< Robot > & GetRobots() const
Definition: DescribeFleetResult.h:115
Aws::RoboMaker::Model::DescribeFleetResult::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: DescribeFleetResult.h:161
Aws::RoboMaker::Model::DescribeFleetResult::SetName
void SetName(const Aws::String &value)
Definition: DescribeFleetResult.h:48
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::DescribeFleetResult::AddTags
DescribeFleetResult & AddTags(const char *key, Aws::String &&value)
Definition: DescribeFleetResult.h:310
Aws::RoboMaker::Model::DescribeFleetResult::WithCreatedAt
DescribeFleetResult & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: DescribeFleetResult.h:166
Aws::RoboMaker::Model::DescribeFleetResult::SetLastDeploymentTime
void SetLastDeploymentTime(const Aws::Utils::DateTime &value)
Definition: DescribeFleetResult.h:244
Aws::RoboMaker::Model::DescribeFleetResult::WithRobots
DescribeFleetResult & WithRobots(const Aws::Vector< Robot > &value)
Definition: DescribeFleetResult.h:130
AWSMap.h
Aws::RoboMaker::Model::DescribeFleetResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: DescribeFleetResult.h:265
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::RoboMaker::Model::DescribeFleetResult::WithArn
DescribeFleetResult & WithArn(const char *value)
Definition: DescribeFleetResult.h:109