AWS SDK for C++  1.9.21
AWS SDK for C++
RegisterRobotResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace RoboMaker
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetFleet() const{ return m_fleet; }
39 
43  inline void SetFleet(const Aws::String& value) { m_fleet = value; }
44 
48  inline void SetFleet(Aws::String&& value) { m_fleet = std::move(value); }
49 
53  inline void SetFleet(const char* value) { m_fleet.assign(value); }
54 
58  inline RegisterRobotResult& WithFleet(const Aws::String& value) { SetFleet(value); return *this;}
59 
63  inline RegisterRobotResult& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;}
64 
68  inline RegisterRobotResult& WithFleet(const char* value) { SetFleet(value); return *this;}
69 
70 
74  inline const Aws::String& GetRobot() const{ return m_robot; }
75 
79  inline void SetRobot(const Aws::String& value) { m_robot = value; }
80 
84  inline void SetRobot(Aws::String&& value) { m_robot = std::move(value); }
85 
89  inline void SetRobot(const char* value) { m_robot.assign(value); }
90 
94  inline RegisterRobotResult& WithRobot(const Aws::String& value) { SetRobot(value); return *this;}
95 
99  inline RegisterRobotResult& WithRobot(Aws::String&& value) { SetRobot(std::move(value)); return *this;}
100 
104  inline RegisterRobotResult& WithRobot(const char* value) { SetRobot(value); return *this;}
105 
106  private:
107 
108  Aws::String m_fleet;
109 
110  Aws::String m_robot;
111  };
112 
113 } // namespace Model
114 } // namespace RoboMaker
115 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RoboMaker::Model::RegisterRobotResult::SetFleet
void SetFleet(Aws::String &&value)
Definition: RegisterRobotResult.h:48
Aws::RoboMaker::Model::RegisterRobotResult::SetFleet
void SetFleet(const char *value)
Definition: RegisterRobotResult.h:53
Aws::RoboMaker::Model::RegisterRobotResult::WithRobot
RegisterRobotResult & WithRobot(Aws::String &&value)
Definition: RegisterRobotResult.h:99
Aws::RoboMaker::Model::RegisterRobotResult::WithRobot
RegisterRobotResult & WithRobot(const Aws::String &value)
Definition: RegisterRobotResult.h:94
Aws::RoboMaker::Model::RegisterRobotResult::WithFleet
RegisterRobotResult & WithFleet(const char *value)
Definition: RegisterRobotResult.h:68
Aws::RoboMaker::Model::RegisterRobotResult::SetRobot
void SetRobot(Aws::String &&value)
Definition: RegisterRobotResult.h:84
Aws::RoboMaker::Model::RegisterRobotResult::WithRobot
RegisterRobotResult & WithRobot(const char *value)
Definition: RegisterRobotResult.h:104
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::RegisterRobotResult::WithFleet
RegisterRobotResult & WithFleet(Aws::String &&value)
Definition: RegisterRobotResult.h:63
Aws::RoboMaker::Model::RegisterRobotResult::SetRobot
void SetRobot(const Aws::String &value)
Definition: RegisterRobotResult.h:79
Aws::RoboMaker::Model::RegisterRobotResult::GetFleet
const Aws::String & GetFleet() const
Definition: RegisterRobotResult.h:38
Aws::RoboMaker::Model::RegisterRobotResult::SetRobot
void SetRobot(const char *value)
Definition: RegisterRobotResult.h:89
Aws::RoboMaker::Model::RegisterRobotResult::GetRobot
const Aws::String & GetRobot() const
Definition: RegisterRobotResult.h:74
Aws::RoboMaker::Model::RegisterRobotResult
Definition: RegisterRobotResult.h:28
RoboMaker_EXPORTS.h
AWSString.h
Aws::RoboMaker::Model::RegisterRobotResult::operator=
RegisterRobotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::RegisterRobotResult::WithFleet
RegisterRobotResult & WithFleet(const Aws::String &value)
Definition: RegisterRobotResult.h:58
Aws::RoboMaker::Model::RegisterRobotResult::RegisterRobotResult
RegisterRobotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::RegisterRobotResult::SetFleet
void SetFleet(const Aws::String &value)
Definition: RegisterRobotResult.h:43
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::RegisterRobotResult::RegisterRobotResult
RegisterRobotResult()