AWS SDK for C++  1.9.158
AWS SDK for C++
RegisterRobotRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RoboMaker
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "RegisterRobot"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetFleet() const{ return m_fleet; }
39 
43  inline bool FleetHasBeenSet() const { return m_fleetHasBeenSet; }
44 
48  inline void SetFleet(const Aws::String& value) { m_fleetHasBeenSet = true; m_fleet = value; }
49 
53  inline void SetFleet(Aws::String&& value) { m_fleetHasBeenSet = true; m_fleet = std::move(value); }
54 
58  inline void SetFleet(const char* value) { m_fleetHasBeenSet = true; m_fleet.assign(value); }
59 
63  inline RegisterRobotRequest& WithFleet(const Aws::String& value) { SetFleet(value); return *this;}
64 
68  inline RegisterRobotRequest& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;}
69 
73  inline RegisterRobotRequest& WithFleet(const char* value) { SetFleet(value); return *this;}
74 
75 
79  inline const Aws::String& GetRobot() const{ return m_robot; }
80 
84  inline bool RobotHasBeenSet() const { return m_robotHasBeenSet; }
85 
89  inline void SetRobot(const Aws::String& value) { m_robotHasBeenSet = true; m_robot = value; }
90 
94  inline void SetRobot(Aws::String&& value) { m_robotHasBeenSet = true; m_robot = std::move(value); }
95 
99  inline void SetRobot(const char* value) { m_robotHasBeenSet = true; m_robot.assign(value); }
100 
104  inline RegisterRobotRequest& WithRobot(const Aws::String& value) { SetRobot(value); return *this;}
105 
109  inline RegisterRobotRequest& WithRobot(Aws::String&& value) { SetRobot(std::move(value)); return *this;}
110 
114  inline RegisterRobotRequest& WithRobot(const char* value) { SetRobot(value); return *this;}
115 
116  private:
117 
118  Aws::String m_fleet;
119  bool m_fleetHasBeenSet;
120 
121  Aws::String m_robot;
122  bool m_robotHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace RoboMaker
127 } // namespace Aws
Aws::RoboMaker::Model::RegisterRobotRequest
Definition: RegisterRobotRequest.h:22
Aws::RoboMaker::Model::RegisterRobotRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RegisterRobotRequest.h:30
Aws::RoboMaker::Model::RegisterRobotRequest::WithFleet
RegisterRobotRequest & WithFleet(Aws::String &&value)
Definition: RegisterRobotRequest.h:68
Aws::RoboMaker::Model::RegisterRobotRequest::WithRobot
RegisterRobotRequest & WithRobot(const Aws::String &value)
Definition: RegisterRobotRequest.h:104
Aws::RoboMaker::Model::RegisterRobotRequest::RobotHasBeenSet
bool RobotHasBeenSet() const
Definition: RegisterRobotRequest.h:84
RoboMakerRequest.h
Aws::RoboMaker::Model::RegisterRobotRequest::SetFleet
void SetFleet(const Aws::String &value)
Definition: RegisterRobotRequest.h:48
Aws::RoboMaker::Model::RegisterRobotRequest::SetRobot
void SetRobot(const Aws::String &value)
Definition: RegisterRobotRequest.h:89
Aws::RoboMaker::Model::RegisterRobotRequest::FleetHasBeenSet
bool FleetHasBeenSet() const
Definition: RegisterRobotRequest.h:43
Aws::RoboMaker::Model::RegisterRobotRequest::GetFleet
const Aws::String & GetFleet() const
Definition: RegisterRobotRequest.h:38
Aws::RoboMaker::Model::RegisterRobotRequest::RegisterRobotRequest
RegisterRobotRequest()
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::RegisterRobotRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RoboMaker::Model::RegisterRobotRequest::SetFleet
void SetFleet(const char *value)
Definition: RegisterRobotRequest.h:58
Aws::RoboMaker::Model::RegisterRobotRequest::SetRobot
void SetRobot(const char *value)
Definition: RegisterRobotRequest.h:99
Aws::RoboMaker::Model::RegisterRobotRequest::GetRobot
const Aws::String & GetRobot() const
Definition: RegisterRobotRequest.h:79
RoboMaker_EXPORTS.h
AWSString.h
Aws::RoboMaker::Model::RegisterRobotRequest::SetRobot
void SetRobot(Aws::String &&value)
Definition: RegisterRobotRequest.h:94
Aws::RoboMaker::Model::RegisterRobotRequest::WithFleet
RegisterRobotRequest & WithFleet(const Aws::String &value)
Definition: RegisterRobotRequest.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::RoboMaker::Model::RegisterRobotRequest::SetFleet
void SetFleet(Aws::String &&value)
Definition: RegisterRobotRequest.h:53
Aws::RoboMaker::Model::RegisterRobotRequest::WithRobot
RegisterRobotRequest & WithRobot(Aws::String &&value)
Definition: RegisterRobotRequest.h:109
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::RegisterRobotRequest::WithFleet
RegisterRobotRequest & WithFleet(const char *value)
Definition: RegisterRobotRequest.h:73
Aws::RoboMaker::Model::RegisterRobotRequest::WithRobot
RegisterRobotRequest & WithRobot(const char *value)
Definition: RegisterRobotRequest.h:114