AWS SDK for C++  1.9.67
AWS SDK for C++
ClaimGameServerRequest.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 "ClaimGameServer"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
43  inline const Aws::String& GetGameServerGroupName() const{ return m_gameServerGroupName; }
44 
51  inline bool GameServerGroupNameHasBeenSet() const { return m_gameServerGroupNameHasBeenSet; }
52 
59  inline void SetGameServerGroupName(const Aws::String& value) { m_gameServerGroupNameHasBeenSet = true; m_gameServerGroupName = value; }
60 
67  inline void SetGameServerGroupName(Aws::String&& value) { m_gameServerGroupNameHasBeenSet = true; m_gameServerGroupName = std::move(value); }
68 
75  inline void SetGameServerGroupName(const char* value) { m_gameServerGroupNameHasBeenSet = true; m_gameServerGroupName.assign(value); }
76 
83  inline ClaimGameServerRequest& WithGameServerGroupName(const Aws::String& value) { SetGameServerGroupName(value); return *this;}
84 
91  inline ClaimGameServerRequest& WithGameServerGroupName(Aws::String&& value) { SetGameServerGroupName(std::move(value)); return *this;}
92 
99  inline ClaimGameServerRequest& WithGameServerGroupName(const char* value) { SetGameServerGroupName(value); return *this;}
100 
101 
107  inline const Aws::String& GetGameServerId() const{ return m_gameServerId; }
108 
114  inline bool GameServerIdHasBeenSet() const { return m_gameServerIdHasBeenSet; }
115 
121  inline void SetGameServerId(const Aws::String& value) { m_gameServerIdHasBeenSet = true; m_gameServerId = value; }
122 
128  inline void SetGameServerId(Aws::String&& value) { m_gameServerIdHasBeenSet = true; m_gameServerId = std::move(value); }
129 
135  inline void SetGameServerId(const char* value) { m_gameServerIdHasBeenSet = true; m_gameServerId.assign(value); }
136 
142  inline ClaimGameServerRequest& WithGameServerId(const Aws::String& value) { SetGameServerId(value); return *this;}
143 
149  inline ClaimGameServerRequest& WithGameServerId(Aws::String&& value) { SetGameServerId(std::move(value)); return *this;}
150 
156  inline ClaimGameServerRequest& WithGameServerId(const char* value) { SetGameServerId(value); return *this;}
157 
158 
164  inline const Aws::String& GetGameServerData() const{ return m_gameServerData; }
165 
171  inline bool GameServerDataHasBeenSet() const { return m_gameServerDataHasBeenSet; }
172 
178  inline void SetGameServerData(const Aws::String& value) { m_gameServerDataHasBeenSet = true; m_gameServerData = value; }
179 
185  inline void SetGameServerData(Aws::String&& value) { m_gameServerDataHasBeenSet = true; m_gameServerData = std::move(value); }
186 
192  inline void SetGameServerData(const char* value) { m_gameServerDataHasBeenSet = true; m_gameServerData.assign(value); }
193 
199  inline ClaimGameServerRequest& WithGameServerData(const Aws::String& value) { SetGameServerData(value); return *this;}
200 
206  inline ClaimGameServerRequest& WithGameServerData(Aws::String&& value) { SetGameServerData(std::move(value)); return *this;}
207 
213  inline ClaimGameServerRequest& WithGameServerData(const char* value) { SetGameServerData(value); return *this;}
214 
215  private:
216 
217  Aws::String m_gameServerGroupName;
218  bool m_gameServerGroupNameHasBeenSet;
219 
220  Aws::String m_gameServerId;
221  bool m_gameServerIdHasBeenSet;
222 
223  Aws::String m_gameServerData;
224  bool m_gameServerDataHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace GameLift
229 } // namespace Aws
Aws::GameLift::Model::ClaimGameServerRequest::GetGameServerGroupName
const Aws::String & GetGameServerGroupName() const
Definition: ClaimGameServerRequest.h:43
Aws::GameLift::Model::ClaimGameServerRequest::WithGameServerGroupName
ClaimGameServerRequest & WithGameServerGroupName(Aws::String &&value)
Definition: ClaimGameServerRequest.h:91
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::ClaimGameServerRequest::SetGameServerGroupName
void SetGameServerGroupName(Aws::String &&value)
Definition: ClaimGameServerRequest.h:67
Aws::GameLift::Model::ClaimGameServerRequest::GameServerGroupNameHasBeenSet
bool GameServerGroupNameHasBeenSet() const
Definition: ClaimGameServerRequest.h:51
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::ClaimGameServerRequest::GameServerIdHasBeenSet
bool GameServerIdHasBeenSet() const
Definition: ClaimGameServerRequest.h:114
Aws::GameLift::Model::ClaimGameServerRequest::SetGameServerId
void SetGameServerId(const char *value)
Definition: ClaimGameServerRequest.h:135
Aws::GameLift::Model::ClaimGameServerRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::ClaimGameServerRequest::GetGameServerData
const Aws::String & GetGameServerData() const
Definition: ClaimGameServerRequest.h:164
Aws::GameLift::Model::ClaimGameServerRequest::WithGameServerData
ClaimGameServerRequest & WithGameServerData(const Aws::String &value)
Definition: ClaimGameServerRequest.h:199
Aws::GameLift::Model::ClaimGameServerRequest::WithGameServerGroupName
ClaimGameServerRequest & WithGameServerGroupName(const Aws::String &value)
Definition: ClaimGameServerRequest.h:83
Aws::GameLift::Model::ClaimGameServerRequest::WithGameServerId
ClaimGameServerRequest & WithGameServerId(const Aws::String &value)
Definition: ClaimGameServerRequest.h:142
Aws::GameLift::Model::ClaimGameServerRequest
Definition: ClaimGameServerRequest.h:22
Aws::GameLift::Model::ClaimGameServerRequest::WithGameServerData
ClaimGameServerRequest & WithGameServerData(const char *value)
Definition: ClaimGameServerRequest.h:213
Aws::GameLift::Model::ClaimGameServerRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::ClaimGameServerRequest::WithGameServerId
ClaimGameServerRequest & WithGameServerId(Aws::String &&value)
Definition: ClaimGameServerRequest.h:149
Aws::GameLift::Model::ClaimGameServerRequest::GetGameServerId
const Aws::String & GetGameServerId() const
Definition: ClaimGameServerRequest.h:107
GameLift_EXPORTS.h
Aws::GameLift::Model::ClaimGameServerRequest::SetGameServerData
void SetGameServerData(const Aws::String &value)
Definition: ClaimGameServerRequest.h:178
Aws::GameLift::Model::ClaimGameServerRequest::WithGameServerData
ClaimGameServerRequest & WithGameServerData(Aws::String &&value)
Definition: ClaimGameServerRequest.h:206
GameLiftRequest.h
Aws::GameLift::Model::ClaimGameServerRequest::SetGameServerGroupName
void SetGameServerGroupName(const Aws::String &value)
Definition: ClaimGameServerRequest.h:59
Aws::GameLift::Model::ClaimGameServerRequest::SetGameServerGroupName
void SetGameServerGroupName(const char *value)
Definition: ClaimGameServerRequest.h:75
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
Aws::GameLift::Model::ClaimGameServerRequest::SetGameServerData
void SetGameServerData(const char *value)
Definition: ClaimGameServerRequest.h:192
AWSString.h
Aws::GameLift::Model::ClaimGameServerRequest::WithGameServerId
ClaimGameServerRequest & WithGameServerId(const char *value)
Definition: ClaimGameServerRequest.h:156
Aws::GameLift::Model::ClaimGameServerRequest::GameServerDataHasBeenSet
bool GameServerDataHasBeenSet() const
Definition: ClaimGameServerRequest.h:171
Aws::GameLift::Model::ClaimGameServerRequest::SetGameServerId
void SetGameServerId(const Aws::String &value)
Definition: ClaimGameServerRequest.h:121
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::ClaimGameServerRequest::ClaimGameServerRequest
ClaimGameServerRequest()
Aws::GameLift::Model::ClaimGameServerRequest::SetGameServerId
void SetGameServerId(Aws::String &&value)
Definition: ClaimGameServerRequest.h:128
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::ClaimGameServerRequest::SetGameServerData
void SetGameServerData(Aws::String &&value)
Definition: ClaimGameServerRequest.h:185
Aws::GameLift::Model::ClaimGameServerRequest::WithGameServerGroupName
ClaimGameServerRequest & WithGameServerGroupName(const char *value)
Definition: ClaimGameServerRequest.h:99
Aws::GameLift::Model::ClaimGameServerRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ClaimGameServerRequest.h:30