AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartMatchBackfillRequest.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/gamelift/model/Player.h>
12#include <utility>
13
14namespace Aws
15{
16namespace GameLift
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GAMELIFT_API StartMatchBackfillRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartMatchBackfill"; }
33
34 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
35
37
38
40
46 inline const Aws::String& GetTicketId() const{ return m_ticketId; }
47 inline bool TicketIdHasBeenSet() const { return m_ticketIdHasBeenSet; }
48 inline void SetTicketId(const Aws::String& value) { m_ticketIdHasBeenSet = true; m_ticketId = value; }
49 inline void SetTicketId(Aws::String&& value) { m_ticketIdHasBeenSet = true; m_ticketId = std::move(value); }
50 inline void SetTicketId(const char* value) { m_ticketIdHasBeenSet = true; m_ticketId.assign(value); }
51 inline StartMatchBackfillRequest& WithTicketId(const Aws::String& value) { SetTicketId(value); return *this;}
52 inline StartMatchBackfillRequest& WithTicketId(Aws::String&& value) { SetTicketId(std::move(value)); return *this;}
53 inline StartMatchBackfillRequest& WithTicketId(const char* value) { SetTicketId(value); return *this;}
55
57
63 inline const Aws::String& GetConfigurationName() const{ return m_configurationName; }
64 inline bool ConfigurationNameHasBeenSet() const { return m_configurationNameHasBeenSet; }
65 inline void SetConfigurationName(const Aws::String& value) { m_configurationNameHasBeenSet = true; m_configurationName = value; }
66 inline void SetConfigurationName(Aws::String&& value) { m_configurationNameHasBeenSet = true; m_configurationName = std::move(value); }
67 inline void SetConfigurationName(const char* value) { m_configurationNameHasBeenSet = true; m_configurationName.assign(value); }
69 inline StartMatchBackfillRequest& WithConfigurationName(Aws::String&& value) { SetConfigurationName(std::move(value)); return *this;}
70 inline StartMatchBackfillRequest& WithConfigurationName(const char* value) { SetConfigurationName(value); return *this;}
72
74
79 inline const Aws::String& GetGameSessionArn() const{ return m_gameSessionArn; }
80 inline bool GameSessionArnHasBeenSet() const { return m_gameSessionArnHasBeenSet; }
81 inline void SetGameSessionArn(const Aws::String& value) { m_gameSessionArnHasBeenSet = true; m_gameSessionArn = value; }
82 inline void SetGameSessionArn(Aws::String&& value) { m_gameSessionArnHasBeenSet = true; m_gameSessionArn = std::move(value); }
83 inline void SetGameSessionArn(const char* value) { m_gameSessionArnHasBeenSet = true; m_gameSessionArn.assign(value); }
84 inline StartMatchBackfillRequest& WithGameSessionArn(const Aws::String& value) { SetGameSessionArn(value); return *this;}
85 inline StartMatchBackfillRequest& WithGameSessionArn(Aws::String&& value) { SetGameSessionArn(std::move(value)); return *this;}
86 inline StartMatchBackfillRequest& WithGameSessionArn(const char* value) { SetGameSessionArn(value); return *this;}
88
90
106 inline const Aws::Vector<Player>& GetPlayers() const{ return m_players; }
107 inline bool PlayersHasBeenSet() const { return m_playersHasBeenSet; }
108 inline void SetPlayers(const Aws::Vector<Player>& value) { m_playersHasBeenSet = true; m_players = value; }
109 inline void SetPlayers(Aws::Vector<Player>&& value) { m_playersHasBeenSet = true; m_players = std::move(value); }
110 inline StartMatchBackfillRequest& WithPlayers(const Aws::Vector<Player>& value) { SetPlayers(value); return *this;}
111 inline StartMatchBackfillRequest& WithPlayers(Aws::Vector<Player>&& value) { SetPlayers(std::move(value)); return *this;}
112 inline StartMatchBackfillRequest& AddPlayers(const Player& value) { m_playersHasBeenSet = true; m_players.push_back(value); return *this; }
113 inline StartMatchBackfillRequest& AddPlayers(Player&& value) { m_playersHasBeenSet = true; m_players.push_back(std::move(value)); return *this; }
115 private:
116
117 Aws::String m_ticketId;
118 bool m_ticketIdHasBeenSet = false;
119
120 Aws::String m_configurationName;
121 bool m_configurationNameHasBeenSet = false;
122
123 Aws::String m_gameSessionArn;
124 bool m_gameSessionArnHasBeenSet = false;
125
126 Aws::Vector<Player> m_players;
127 bool m_playersHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace GameLift
132} // namespace Aws
StartMatchBackfillRequest & WithTicketId(const Aws::String &value)
StartMatchBackfillRequest & WithConfigurationName(Aws::String &&value)
StartMatchBackfillRequest & WithGameSessionArn(Aws::String &&value)
StartMatchBackfillRequest & WithConfigurationName(const Aws::String &value)
StartMatchBackfillRequest & WithPlayers(const Aws::Vector< Player > &value)
StartMatchBackfillRequest & WithConfigurationName(const char *value)
StartMatchBackfillRequest & AddPlayers(const Player &value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartMatchBackfillRequest & WithTicketId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_GAMELIFT_API Aws::String SerializePayload() const override
StartMatchBackfillRequest & WithGameSessionArn(const char *value)
StartMatchBackfillRequest & AddPlayers(Player &&value)
void SetPlayers(const Aws::Vector< Player > &value)
StartMatchBackfillRequest & WithPlayers(Aws::Vector< Player > &&value)
StartMatchBackfillRequest & WithGameSessionArn(const Aws::String &value)
StartMatchBackfillRequest & WithTicketId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector