AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
StartMatchBackfillRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/gamelift/GameLiftRequest.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
11#include <aws/gamelift/model/Player.h>
12
13#include <utility>
14
15namespace Aws {
16namespace GameLift {
17namespace Model {
18
22 public:
23 AWS_GAMELIFT_API StartMatchBackfillRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "StartMatchBackfill"; }
30
31 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
32
34
36
42 inline const Aws::String& GetTicketId() const { return m_ticketId; }
43 inline bool TicketIdHasBeenSet() const { return m_ticketIdHasBeenSet; }
44 template <typename TicketIdT = Aws::String>
45 void SetTicketId(TicketIdT&& value) {
46 m_ticketIdHasBeenSet = true;
47 m_ticketId = std::forward<TicketIdT>(value);
48 }
49 template <typename TicketIdT = Aws::String>
51 SetTicketId(std::forward<TicketIdT>(value));
52 return *this;
53 }
55
57
63 inline const Aws::String& GetConfigurationName() const { return m_configurationName; }
64 inline bool ConfigurationNameHasBeenSet() const { return m_configurationNameHasBeenSet; }
65 template <typename ConfigurationNameT = Aws::String>
66 void SetConfigurationName(ConfigurationNameT&& value) {
67 m_configurationNameHasBeenSet = true;
68 m_configurationName = std::forward<ConfigurationNameT>(value);
69 }
70 template <typename ConfigurationNameT = Aws::String>
71 StartMatchBackfillRequest& WithConfigurationName(ConfigurationNameT&& value) {
72 SetConfigurationName(std::forward<ConfigurationNameT>(value));
73 return *this;
74 }
76
78
83 inline const Aws::String& GetGameSessionArn() const { return m_gameSessionArn; }
84 inline bool GameSessionArnHasBeenSet() const { return m_gameSessionArnHasBeenSet; }
85 template <typename GameSessionArnT = Aws::String>
86 void SetGameSessionArn(GameSessionArnT&& value) {
87 m_gameSessionArnHasBeenSet = true;
88 m_gameSessionArn = std::forward<GameSessionArnT>(value);
89 }
90 template <typename GameSessionArnT = Aws::String>
92 SetGameSessionArn(std::forward<GameSessionArnT>(value));
93 return *this;
94 }
96
98
114 inline const Aws::Vector<Player>& GetPlayers() const { return m_players; }
115 inline bool PlayersHasBeenSet() const { return m_playersHasBeenSet; }
116 template <typename PlayersT = Aws::Vector<Player>>
117 void SetPlayers(PlayersT&& value) {
118 m_playersHasBeenSet = true;
119 m_players = std::forward<PlayersT>(value);
120 }
121 template <typename PlayersT = Aws::Vector<Player>>
123 SetPlayers(std::forward<PlayersT>(value));
124 return *this;
125 }
126 template <typename PlayersT = Player>
128 m_playersHasBeenSet = true;
129 m_players.emplace_back(std::forward<PlayersT>(value));
130 return *this;
131 }
133 private:
134 Aws::String m_ticketId;
135
136 Aws::String m_configurationName;
137
138 Aws::String m_gameSessionArn;
139
140 Aws::Vector<Player> m_players;
141 bool m_ticketIdHasBeenSet = false;
142 bool m_configurationNameHasBeenSet = false;
143 bool m_gameSessionArnHasBeenSet = false;
144 bool m_playersHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace GameLift
149} // 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