AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename TicketIdT = Aws::String>
49 void SetTicketId(TicketIdT&& value) { m_ticketIdHasBeenSet = true; m_ticketId = std::forward<TicketIdT>(value); }
50 template<typename TicketIdT = Aws::String>
51 StartMatchBackfillRequest& WithTicketId(TicketIdT&& value) { SetTicketId(std::forward<TicketIdT>(value)); return *this;}
53
55
61 inline const Aws::String& GetConfigurationName() const { return m_configurationName; }
62 inline bool ConfigurationNameHasBeenSet() const { return m_configurationNameHasBeenSet; }
63 template<typename ConfigurationNameT = Aws::String>
64 void SetConfigurationName(ConfigurationNameT&& value) { m_configurationNameHasBeenSet = true; m_configurationName = std::forward<ConfigurationNameT>(value); }
65 template<typename ConfigurationNameT = Aws::String>
66 StartMatchBackfillRequest& WithConfigurationName(ConfigurationNameT&& value) { SetConfigurationName(std::forward<ConfigurationNameT>(value)); return *this;}
68
70
75 inline const Aws::String& GetGameSessionArn() const { return m_gameSessionArn; }
76 inline bool GameSessionArnHasBeenSet() const { return m_gameSessionArnHasBeenSet; }
77 template<typename GameSessionArnT = Aws::String>
78 void SetGameSessionArn(GameSessionArnT&& value) { m_gameSessionArnHasBeenSet = true; m_gameSessionArn = std::forward<GameSessionArnT>(value); }
79 template<typename GameSessionArnT = Aws::String>
80 StartMatchBackfillRequest& WithGameSessionArn(GameSessionArnT&& value) { SetGameSessionArn(std::forward<GameSessionArnT>(value)); return *this;}
82
84
100 inline const Aws::Vector<Player>& GetPlayers() const { return m_players; }
101 inline bool PlayersHasBeenSet() const { return m_playersHasBeenSet; }
102 template<typename PlayersT = Aws::Vector<Player>>
103 void SetPlayers(PlayersT&& value) { m_playersHasBeenSet = true; m_players = std::forward<PlayersT>(value); }
104 template<typename PlayersT = Aws::Vector<Player>>
105 StartMatchBackfillRequest& WithPlayers(PlayersT&& value) { SetPlayers(std::forward<PlayersT>(value)); return *this;}
106 template<typename PlayersT = Player>
107 StartMatchBackfillRequest& AddPlayers(PlayersT&& value) { m_playersHasBeenSet = true; m_players.emplace_back(std::forward<PlayersT>(value)); return *this; }
109 private:
110
111 Aws::String m_ticketId;
112 bool m_ticketIdHasBeenSet = false;
113
114 Aws::String m_configurationName;
115 bool m_configurationNameHasBeenSet = false;
116
117 Aws::String m_gameSessionArn;
118 bool m_gameSessionArnHasBeenSet = false;
119
120 Aws::Vector<Player> m_players;
121 bool m_playersHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace GameLift
126} // namespace Aws
StartMatchBackfillRequest & AddPlayers(PlayersT &&value)
StartMatchBackfillRequest & WithGameSessionArn(GameSessionArnT &&value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartMatchBackfillRequest & WithPlayers(PlayersT &&value)
virtual const char * GetServiceRequestName() const override
StartMatchBackfillRequest & WithTicketId(TicketIdT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
StartMatchBackfillRequest & WithConfigurationName(ConfigurationNameT &&value)
AWS_GAMELIFT_API StartMatchBackfillRequest()=default
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