AWS SDK for C++  1.9.14
AWS SDK for C++
RegisterGameServerRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace GameLift
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 "RegisterGameServer"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetGameServerGroupName() const{ return m_gameServerGroupName; }
42 
47  inline bool GameServerGroupNameHasBeenSet() const { return m_gameServerGroupNameHasBeenSet; }
48 
53  inline void SetGameServerGroupName(const Aws::String& value) { m_gameServerGroupNameHasBeenSet = true; m_gameServerGroupName = value; }
54 
59  inline void SetGameServerGroupName(Aws::String&& value) { m_gameServerGroupNameHasBeenSet = true; m_gameServerGroupName = std::move(value); }
60 
65  inline void SetGameServerGroupName(const char* value) { m_gameServerGroupNameHasBeenSet = true; m_gameServerGroupName.assign(value); }
66 
71  inline RegisterGameServerRequest& WithGameServerGroupName(const Aws::String& value) { SetGameServerGroupName(value); return *this;}
72 
77  inline RegisterGameServerRequest& WithGameServerGroupName(Aws::String&& value) { SetGameServerGroupName(std::move(value)); return *this;}
78 
83  inline RegisterGameServerRequest& WithGameServerGroupName(const char* value) { SetGameServerGroupName(value); return *this;}
84 
85 
91  inline const Aws::String& GetGameServerId() const{ return m_gameServerId; }
92 
98  inline bool GameServerIdHasBeenSet() const { return m_gameServerIdHasBeenSet; }
99 
105  inline void SetGameServerId(const Aws::String& value) { m_gameServerIdHasBeenSet = true; m_gameServerId = value; }
106 
112  inline void SetGameServerId(Aws::String&& value) { m_gameServerIdHasBeenSet = true; m_gameServerId = std::move(value); }
113 
119  inline void SetGameServerId(const char* value) { m_gameServerIdHasBeenSet = true; m_gameServerId.assign(value); }
120 
126  inline RegisterGameServerRequest& WithGameServerId(const Aws::String& value) { SetGameServerId(value); return *this;}
127 
133  inline RegisterGameServerRequest& WithGameServerId(Aws::String&& value) { SetGameServerId(std::move(value)); return *this;}
134 
140  inline RegisterGameServerRequest& WithGameServerId(const char* value) { SetGameServerId(value); return *this;}
141 
142 
148  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
149 
155  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
156 
162  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
163 
169  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
170 
176  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
177 
183  inline RegisterGameServerRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
184 
190  inline RegisterGameServerRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
191 
197  inline RegisterGameServerRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
198 
199 
205  inline const Aws::String& GetConnectionInfo() const{ return m_connectionInfo; }
206 
212  inline bool ConnectionInfoHasBeenSet() const { return m_connectionInfoHasBeenSet; }
213 
219  inline void SetConnectionInfo(const Aws::String& value) { m_connectionInfoHasBeenSet = true; m_connectionInfo = value; }
220 
226  inline void SetConnectionInfo(Aws::String&& value) { m_connectionInfoHasBeenSet = true; m_connectionInfo = std::move(value); }
227 
233  inline void SetConnectionInfo(const char* value) { m_connectionInfoHasBeenSet = true; m_connectionInfo.assign(value); }
234 
240  inline RegisterGameServerRequest& WithConnectionInfo(const Aws::String& value) { SetConnectionInfo(value); return *this;}
241 
247  inline RegisterGameServerRequest& WithConnectionInfo(Aws::String&& value) { SetConnectionInfo(std::move(value)); return *this;}
248 
254  inline RegisterGameServerRequest& WithConnectionInfo(const char* value) { SetConnectionInfo(value); return *this;}
255 
256 
262  inline const Aws::String& GetGameServerData() const{ return m_gameServerData; }
263 
269  inline bool GameServerDataHasBeenSet() const { return m_gameServerDataHasBeenSet; }
270 
276  inline void SetGameServerData(const Aws::String& value) { m_gameServerDataHasBeenSet = true; m_gameServerData = value; }
277 
283  inline void SetGameServerData(Aws::String&& value) { m_gameServerDataHasBeenSet = true; m_gameServerData = std::move(value); }
284 
290  inline void SetGameServerData(const char* value) { m_gameServerDataHasBeenSet = true; m_gameServerData.assign(value); }
291 
297  inline RegisterGameServerRequest& WithGameServerData(const Aws::String& value) { SetGameServerData(value); return *this;}
298 
304  inline RegisterGameServerRequest& WithGameServerData(Aws::String&& value) { SetGameServerData(std::move(value)); return *this;}
305 
311  inline RegisterGameServerRequest& WithGameServerData(const char* value) { SetGameServerData(value); return *this;}
312 
313  private:
314 
315  Aws::String m_gameServerGroupName;
316  bool m_gameServerGroupNameHasBeenSet;
317 
318  Aws::String m_gameServerId;
319  bool m_gameServerIdHasBeenSet;
320 
321  Aws::String m_instanceId;
322  bool m_instanceIdHasBeenSet;
323 
324  Aws::String m_connectionInfo;
325  bool m_connectionInfoHasBeenSet;
326 
327  Aws::String m_gameServerData;
328  bool m_gameServerDataHasBeenSet;
329  };
330 
331 } // namespace Model
332 } // namespace GameLift
333 } // namespace Aws
Aws::GameLift::Model::RegisterGameServerRequest::SetConnectionInfo
void SetConnectionInfo(const char *value)
Definition: RegisterGameServerRequest.h:233
Aws::GameLift::Model::RegisterGameServerRequest::SetConnectionInfo
void SetConnectionInfo(Aws::String &&value)
Definition: RegisterGameServerRequest.h:226
Aws::GameLift::Model::RegisterGameServerRequest::SetGameServerGroupName
void SetGameServerGroupName(const char *value)
Definition: RegisterGameServerRequest.h:65
Aws::GameLift::Model::RegisterGameServerRequest::WithGameServerId
RegisterGameServerRequest & WithGameServerId(Aws::String &&value)
Definition: RegisterGameServerRequest.h:133
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::RegisterGameServerRequest::SetGameServerId
void SetGameServerId(const Aws::String &value)
Definition: RegisterGameServerRequest.h:105
Aws::GameLift::Model::RegisterGameServerRequest::GetGameServerGroupName
const Aws::String & GetGameServerGroupName() const
Definition: RegisterGameServerRequest.h:41
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::RegisterGameServerRequest::GetGameServerId
const Aws::String & GetGameServerId() const
Definition: RegisterGameServerRequest.h:91
Aws::GameLift::Model::RegisterGameServerRequest
Definition: RegisterGameServerRequest.h:22
Aws::GameLift::Model::RegisterGameServerRequest::GameServerDataHasBeenSet
bool GameServerDataHasBeenSet() const
Definition: RegisterGameServerRequest.h:269
Aws::GameLift::Model::RegisterGameServerRequest::SetGameServerData
void SetGameServerData(const char *value)
Definition: RegisterGameServerRequest.h:290
Aws::GameLift::Model::RegisterGameServerRequest::ConnectionInfoHasBeenSet
bool ConnectionInfoHasBeenSet() const
Definition: RegisterGameServerRequest.h:212
Aws::GameLift::Model::RegisterGameServerRequest::GameServerIdHasBeenSet
bool GameServerIdHasBeenSet() const
Definition: RegisterGameServerRequest.h:98
GameLift_EXPORTS.h
GameLiftRequest.h
Aws::GameLift::Model::RegisterGameServerRequest::WithInstanceId
RegisterGameServerRequest & WithInstanceId(const char *value)
Definition: RegisterGameServerRequest.h:197
Aws::GameLift::Model::RegisterGameServerRequest::WithConnectionInfo
RegisterGameServerRequest & WithConnectionInfo(Aws::String &&value)
Definition: RegisterGameServerRequest.h:247
Aws::GameLift::Model::RegisterGameServerRequest::SetGameServerId
void SetGameServerId(Aws::String &&value)
Definition: RegisterGameServerRequest.h:112
Aws::GameLift::Model::RegisterGameServerRequest::WithGameServerGroupName
RegisterGameServerRequest & WithGameServerGroupName(const char *value)
Definition: RegisterGameServerRequest.h:83
Aws::GameLift::Model::RegisterGameServerRequest::SetConnectionInfo
void SetConnectionInfo(const Aws::String &value)
Definition: RegisterGameServerRequest.h:219
Aws::GameLift::Model::RegisterGameServerRequest::SetGameServerData
void SetGameServerData(Aws::String &&value)
Definition: RegisterGameServerRequest.h:283
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
AWSString.h
Aws::GameLift::Model::RegisterGameServerRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::RegisterGameServerRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: RegisterGameServerRequest.h:148
Aws::GameLift::Model::RegisterGameServerRequest::WithGameServerData
RegisterGameServerRequest & WithGameServerData(const char *value)
Definition: RegisterGameServerRequest.h:311
Aws::GameLift::Model::RegisterGameServerRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::RegisterGameServerRequest::WithGameServerId
RegisterGameServerRequest & WithGameServerId(const char *value)
Definition: RegisterGameServerRequest.h:140
Aws::GameLift::Model::RegisterGameServerRequest::GameServerGroupNameHasBeenSet
bool GameServerGroupNameHasBeenSet() const
Definition: RegisterGameServerRequest.h:47
Aws::GameLift::Model::RegisterGameServerRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: RegisterGameServerRequest.h:155
Aws::GameLift::Model::RegisterGameServerRequest::SetGameServerGroupName
void SetGameServerGroupName(const Aws::String &value)
Definition: RegisterGameServerRequest.h:53
Aws::GameLift::Model::RegisterGameServerRequest::GetConnectionInfo
const Aws::String & GetConnectionInfo() const
Definition: RegisterGameServerRequest.h:205
Aws::GameLift::Model::RegisterGameServerRequest::WithGameServerId
RegisterGameServerRequest & WithGameServerId(const Aws::String &value)
Definition: RegisterGameServerRequest.h:126
Aws::GameLift::Model::RegisterGameServerRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RegisterGameServerRequest.h:30
Aws::GameLift::Model::RegisterGameServerRequest::GetGameServerData
const Aws::String & GetGameServerData() const
Definition: RegisterGameServerRequest.h:262
Aws::GameLift::Model::RegisterGameServerRequest::WithGameServerGroupName
RegisterGameServerRequest & WithGameServerGroupName(Aws::String &&value)
Definition: RegisterGameServerRequest.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::RegisterGameServerRequest::WithGameServerGroupName
RegisterGameServerRequest & WithGameServerGroupName(const Aws::String &value)
Definition: RegisterGameServerRequest.h:71
Aws::GameLift::Model::RegisterGameServerRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: RegisterGameServerRequest.h:169
Aws::GameLift::Model::RegisterGameServerRequest::WithGameServerData
RegisterGameServerRequest & WithGameServerData(const Aws::String &value)
Definition: RegisterGameServerRequest.h:297
Aws::GameLift::Model::RegisterGameServerRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: RegisterGameServerRequest.h:176
Aws::GameLift::Model::RegisterGameServerRequest::WithConnectionInfo
RegisterGameServerRequest & WithConnectionInfo(const Aws::String &value)
Definition: RegisterGameServerRequest.h:240
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::RegisterGameServerRequest::WithInstanceId
RegisterGameServerRequest & WithInstanceId(const Aws::String &value)
Definition: RegisterGameServerRequest.h:183
Aws::GameLift::Model::RegisterGameServerRequest::WithGameServerData
RegisterGameServerRequest & WithGameServerData(Aws::String &&value)
Definition: RegisterGameServerRequest.h:304
Aws::GameLift::Model::RegisterGameServerRequest::WithConnectionInfo
RegisterGameServerRequest & WithConnectionInfo(const char *value)
Definition: RegisterGameServerRequest.h:254
Aws::GameLift::Model::RegisterGameServerRequest::SetGameServerData
void SetGameServerData(const Aws::String &value)
Definition: RegisterGameServerRequest.h:276
Aws::GameLift::Model::RegisterGameServerRequest::WithInstanceId
RegisterGameServerRequest & WithInstanceId(Aws::String &&value)
Definition: RegisterGameServerRequest.h:190
Aws::GameLift::Model::RegisterGameServerRequest::SetGameServerId
void SetGameServerId(const char *value)
Definition: RegisterGameServerRequest.h:119
Aws::GameLift::Model::RegisterGameServerRequest::RegisterGameServerRequest
RegisterGameServerRequest()
Aws::GameLift::Model::RegisterGameServerRequest::SetGameServerGroupName
void SetGameServerGroupName(Aws::String &&value)
Definition: RegisterGameServerRequest.h:59
Aws::GameLift::Model::RegisterGameServerRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: RegisterGameServerRequest.h:162