AWS SDK for C++  1.9.105
AWS SDK for C++
StartMatchBackfillRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace GameLift
17 {
18 namespace Model
19 {
20 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "StartMatchBackfill"; }
36 
37  Aws::String SerializePayload() const override;
38 
40 
41 
48  inline const Aws::String& GetTicketId() const{ return m_ticketId; }
49 
56  inline bool TicketIdHasBeenSet() const { return m_ticketIdHasBeenSet; }
57 
64  inline void SetTicketId(const Aws::String& value) { m_ticketIdHasBeenSet = true; m_ticketId = value; }
65 
72  inline void SetTicketId(Aws::String&& value) { m_ticketIdHasBeenSet = true; m_ticketId = std::move(value); }
73 
80  inline void SetTicketId(const char* value) { m_ticketIdHasBeenSet = true; m_ticketId.assign(value); }
81 
88  inline StartMatchBackfillRequest& WithTicketId(const Aws::String& value) { SetTicketId(value); return *this;}
89 
96  inline StartMatchBackfillRequest& WithTicketId(Aws::String&& value) { SetTicketId(std::move(value)); return *this;}
97 
104  inline StartMatchBackfillRequest& WithTicketId(const char* value) { SetTicketId(value); return *this;}
105 
106 
113  inline const Aws::String& GetConfigurationName() const{ return m_configurationName; }
114 
121  inline bool ConfigurationNameHasBeenSet() const { return m_configurationNameHasBeenSet; }
122 
129  inline void SetConfigurationName(const Aws::String& value) { m_configurationNameHasBeenSet = true; m_configurationName = value; }
130 
137  inline void SetConfigurationName(Aws::String&& value) { m_configurationNameHasBeenSet = true; m_configurationName = std::move(value); }
138 
145  inline void SetConfigurationName(const char* value) { m_configurationNameHasBeenSet = true; m_configurationName.assign(value); }
146 
153  inline StartMatchBackfillRequest& WithConfigurationName(const Aws::String& value) { SetConfigurationName(value); return *this;}
154 
161  inline StartMatchBackfillRequest& WithConfigurationName(Aws::String&& value) { SetConfigurationName(std::move(value)); return *this;}
162 
169  inline StartMatchBackfillRequest& WithConfigurationName(const char* value) { SetConfigurationName(value); return *this;}
170 
171 
177  inline const Aws::String& GetGameSessionArn() const{ return m_gameSessionArn; }
178 
184  inline bool GameSessionArnHasBeenSet() const { return m_gameSessionArnHasBeenSet; }
185 
191  inline void SetGameSessionArn(const Aws::String& value) { m_gameSessionArnHasBeenSet = true; m_gameSessionArn = value; }
192 
198  inline void SetGameSessionArn(Aws::String&& value) { m_gameSessionArnHasBeenSet = true; m_gameSessionArn = std::move(value); }
199 
205  inline void SetGameSessionArn(const char* value) { m_gameSessionArnHasBeenSet = true; m_gameSessionArn.assign(value); }
206 
212  inline StartMatchBackfillRequest& WithGameSessionArn(const Aws::String& value) { SetGameSessionArn(value); return *this;}
213 
219  inline StartMatchBackfillRequest& WithGameSessionArn(Aws::String&& value) { SetGameSessionArn(std::move(value)); return *this;}
220 
226  inline StartMatchBackfillRequest& WithGameSessionArn(const char* value) { SetGameSessionArn(value); return *this;}
227 
228 
243  inline const Aws::Vector<Player>& GetPlayers() const{ return m_players; }
244 
259  inline bool PlayersHasBeenSet() const { return m_playersHasBeenSet; }
260 
275  inline void SetPlayers(const Aws::Vector<Player>& value) { m_playersHasBeenSet = true; m_players = value; }
276 
291  inline void SetPlayers(Aws::Vector<Player>&& value) { m_playersHasBeenSet = true; m_players = std::move(value); }
292 
307  inline StartMatchBackfillRequest& WithPlayers(const Aws::Vector<Player>& value) { SetPlayers(value); return *this;}
308 
323  inline StartMatchBackfillRequest& WithPlayers(Aws::Vector<Player>&& value) { SetPlayers(std::move(value)); return *this;}
324 
339  inline StartMatchBackfillRequest& AddPlayers(const Player& value) { m_playersHasBeenSet = true; m_players.push_back(value); return *this; }
340 
355  inline StartMatchBackfillRequest& AddPlayers(Player&& value) { m_playersHasBeenSet = true; m_players.push_back(std::move(value)); return *this; }
356 
357  private:
358 
359  Aws::String m_ticketId;
360  bool m_ticketIdHasBeenSet;
361 
362  Aws::String m_configurationName;
363  bool m_configurationNameHasBeenSet;
364 
365  Aws::String m_gameSessionArn;
366  bool m_gameSessionArnHasBeenSet;
367 
368  Aws::Vector<Player> m_players;
369  bool m_playersHasBeenSet;
370  };
371 
372 } // namespace Model
373 } // namespace GameLift
374 } // namespace Aws
Aws::GameLift::Model::StartMatchBackfillRequest::SetTicketId
void SetTicketId(const char *value)
Definition: StartMatchBackfillRequest.h:80
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::StartMatchBackfillRequest::GameSessionArnHasBeenSet
bool GameSessionArnHasBeenSet() const
Definition: StartMatchBackfillRequest.h:184
Aws::GameLift::Model::StartMatchBackfillRequest::WithTicketId
StartMatchBackfillRequest & WithTicketId(Aws::String &&value)
Definition: StartMatchBackfillRequest.h:96
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::StartMatchBackfillRequest::AddPlayers
StartMatchBackfillRequest & AddPlayers(const Player &value)
Definition: StartMatchBackfillRequest.h:339
Aws::GameLift::Model::StartMatchBackfillRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::StartMatchBackfillRequest::TicketIdHasBeenSet
bool TicketIdHasBeenSet() const
Definition: StartMatchBackfillRequest.h:56
Aws::GameLift::Model::StartMatchBackfillRequest::PlayersHasBeenSet
bool PlayersHasBeenSet() const
Definition: StartMatchBackfillRequest.h:259
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GameLift::Model::StartMatchBackfillRequest::StartMatchBackfillRequest
StartMatchBackfillRequest()
Aws::GameLift::Model::StartMatchBackfillRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartMatchBackfillRequest.h:35
Aws::GameLift::Model::StartMatchBackfillRequest::GetGameSessionArn
const Aws::String & GetGameSessionArn() const
Definition: StartMatchBackfillRequest.h:177
AWSVector.h
Aws::GameLift::Model::StartMatchBackfillRequest::SetPlayers
void SetPlayers(Aws::Vector< Player > &&value)
Definition: StartMatchBackfillRequest.h:291
Aws::GameLift::Model::StartMatchBackfillRequest::SetGameSessionArn
void SetGameSessionArn(const char *value)
Definition: StartMatchBackfillRequest.h:205
Aws::GameLift::Model::StartMatchBackfillRequest::ConfigurationNameHasBeenSet
bool ConfigurationNameHasBeenSet() const
Definition: StartMatchBackfillRequest.h:121
Aws::GameLift::Model::StartMatchBackfillRequest::SetGameSessionArn
void SetGameSessionArn(const Aws::String &value)
Definition: StartMatchBackfillRequest.h:191
Aws::GameLift::Model::StartMatchBackfillRequest::SetTicketId
void SetTicketId(Aws::String &&value)
Definition: StartMatchBackfillRequest.h:72
Aws::GameLift::Model::StartMatchBackfillRequest::WithPlayers
StartMatchBackfillRequest & WithPlayers(const Aws::Vector< Player > &value)
Definition: StartMatchBackfillRequest.h:307
GameLift_EXPORTS.h
Aws::GameLift::Model::StartMatchBackfillRequest::AddPlayers
StartMatchBackfillRequest & AddPlayers(Player &&value)
Definition: StartMatchBackfillRequest.h:355
Aws::GameLift::Model::Player
Definition: Player.h:36
GameLiftRequest.h
Aws::GameLift::Model::StartMatchBackfillRequest::WithConfigurationName
StartMatchBackfillRequest & WithConfigurationName(const char *value)
Definition: StartMatchBackfillRequest.h:169
Aws::GameLift::Model::StartMatchBackfillRequest::WithTicketId
StartMatchBackfillRequest & WithTicketId(const char *value)
Definition: StartMatchBackfillRequest.h:104
Aws::GameLift::Model::StartMatchBackfillRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::StartMatchBackfillRequest::GetTicketId
const Aws::String & GetTicketId() const
Definition: StartMatchBackfillRequest.h:48
Aws::GameLift::Model::StartMatchBackfillRequest::WithPlayers
StartMatchBackfillRequest & WithPlayers(Aws::Vector< Player > &&value)
Definition: StartMatchBackfillRequest.h:323
Aws::GameLift::Model::StartMatchBackfillRequest::WithConfigurationName
StartMatchBackfillRequest & WithConfigurationName(Aws::String &&value)
Definition: StartMatchBackfillRequest.h:161
Aws::GameLift::Model::StartMatchBackfillRequest::GetConfigurationName
const Aws::String & GetConfigurationName() const
Definition: StartMatchBackfillRequest.h:113
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
Aws::GameLift::Model::StartMatchBackfillRequest::WithGameSessionArn
StartMatchBackfillRequest & WithGameSessionArn(const char *value)
Definition: StartMatchBackfillRequest.h:226
AWSString.h
Aws::GameLift::Model::StartMatchBackfillRequest::WithConfigurationName
StartMatchBackfillRequest & WithConfigurationName(const Aws::String &value)
Definition: StartMatchBackfillRequest.h:153
Aws::GameLift::Model::StartMatchBackfillRequest::WithGameSessionArn
StartMatchBackfillRequest & WithGameSessionArn(Aws::String &&value)
Definition: StartMatchBackfillRequest.h:219
Aws::GameLift::Model::StartMatchBackfillRequest::WithTicketId
StartMatchBackfillRequest & WithTicketId(const Aws::String &value)
Definition: StartMatchBackfillRequest.h:88
Aws::GameLift::Model::StartMatchBackfillRequest::SetPlayers
void SetPlayers(const Aws::Vector< Player > &value)
Definition: StartMatchBackfillRequest.h:275
Player.h
Aws::GameLift::Model::StartMatchBackfillRequest::SetConfigurationName
void SetConfigurationName(const Aws::String &value)
Definition: StartMatchBackfillRequest.h:129
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::StartMatchBackfillRequest::SetConfigurationName
void SetConfigurationName(Aws::String &&value)
Definition: StartMatchBackfillRequest.h:137
Aws::GameLift::Model::StartMatchBackfillRequest::WithGameSessionArn
StartMatchBackfillRequest & WithGameSessionArn(const Aws::String &value)
Definition: StartMatchBackfillRequest.h:212
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::StartMatchBackfillRequest
Definition: StartMatchBackfillRequest.h:27
Aws::GameLift::Model::StartMatchBackfillRequest::SetTicketId
void SetTicketId(const Aws::String &value)
Definition: StartMatchBackfillRequest.h:64
Aws::GameLift::Model::StartMatchBackfillRequest::SetGameSessionArn
void SetGameSessionArn(Aws::String &&value)
Definition: StartMatchBackfillRequest.h:198
Aws::GameLift::Model::StartMatchBackfillRequest::GetPlayers
const Aws::Vector< Player > & GetPlayers() const
Definition: StartMatchBackfillRequest.h:243
Aws::GameLift::Model::StartMatchBackfillRequest::SetConfigurationName
void SetConfigurationName(const char *value)
Definition: StartMatchBackfillRequest.h:145