AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateMatchmakingConfigurationRequest.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/BackfillMode.h>
12#include <aws/gamelift/model/FlexMatchMode.h>
13#include <aws/gamelift/model/GameProperty.h>
14#include <utility>
15
16namespace Aws
17{
18namespace GameLift
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateMatchmakingConfiguration"; }
35
36 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
37
39
40
42
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline UpdateMatchmakingConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline UpdateMatchmakingConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline UpdateMatchmakingConfigurationRequest& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline UpdateMatchmakingConfigurationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline UpdateMatchmakingConfigurationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
82 inline const Aws::Vector<Aws::String>& GetGameSessionQueueArns() const{ return m_gameSessionQueueArns; }
83 inline bool GameSessionQueueArnsHasBeenSet() const { return m_gameSessionQueueArnsHasBeenSet; }
84 inline void SetGameSessionQueueArns(const Aws::Vector<Aws::String>& value) { m_gameSessionQueueArnsHasBeenSet = true; m_gameSessionQueueArns = value; }
85 inline void SetGameSessionQueueArns(Aws::Vector<Aws::String>&& value) { m_gameSessionQueueArnsHasBeenSet = true; m_gameSessionQueueArns = std::move(value); }
88 inline UpdateMatchmakingConfigurationRequest& AddGameSessionQueueArns(const Aws::String& value) { m_gameSessionQueueArnsHasBeenSet = true; m_gameSessionQueueArns.push_back(value); return *this; }
89 inline UpdateMatchmakingConfigurationRequest& AddGameSessionQueueArns(Aws::String&& value) { m_gameSessionQueueArnsHasBeenSet = true; m_gameSessionQueueArns.push_back(std::move(value)); return *this; }
90 inline UpdateMatchmakingConfigurationRequest& AddGameSessionQueueArns(const char* value) { m_gameSessionQueueArnsHasBeenSet = true; m_gameSessionQueueArns.push_back(value); return *this; }
92
94
99 inline int GetRequestTimeoutSeconds() const{ return m_requestTimeoutSeconds; }
100 inline bool RequestTimeoutSecondsHasBeenSet() const { return m_requestTimeoutSecondsHasBeenSet; }
101 inline void SetRequestTimeoutSeconds(int value) { m_requestTimeoutSecondsHasBeenSet = true; m_requestTimeoutSeconds = value; }
104
106
110 inline int GetAcceptanceTimeoutSeconds() const{ return m_acceptanceTimeoutSeconds; }
111 inline bool AcceptanceTimeoutSecondsHasBeenSet() const { return m_acceptanceTimeoutSecondsHasBeenSet; }
112 inline void SetAcceptanceTimeoutSeconds(int value) { m_acceptanceTimeoutSecondsHasBeenSet = true; m_acceptanceTimeoutSeconds = value; }
115
117
124 inline bool GetAcceptanceRequired() const{ return m_acceptanceRequired; }
125 inline bool AcceptanceRequiredHasBeenSet() const { return m_acceptanceRequiredHasBeenSet; }
126 inline void SetAcceptanceRequired(bool value) { m_acceptanceRequiredHasBeenSet = true; m_acceptanceRequired = value; }
129
131
136 inline const Aws::String& GetRuleSetName() const{ return m_ruleSetName; }
137 inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
138 inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
139 inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); }
140 inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); }
142 inline UpdateMatchmakingConfigurationRequest& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;}
143 inline UpdateMatchmakingConfigurationRequest& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
145
147
152 inline const Aws::String& GetNotificationTarget() const{ return m_notificationTarget; }
153 inline bool NotificationTargetHasBeenSet() const { return m_notificationTargetHasBeenSet; }
154 inline void SetNotificationTarget(const Aws::String& value) { m_notificationTargetHasBeenSet = true; m_notificationTarget = value; }
155 inline void SetNotificationTarget(Aws::String&& value) { m_notificationTargetHasBeenSet = true; m_notificationTarget = std::move(value); }
156 inline void SetNotificationTarget(const char* value) { m_notificationTargetHasBeenSet = true; m_notificationTarget.assign(value); }
161
163
171 inline int GetAdditionalPlayerCount() const{ return m_additionalPlayerCount; }
172 inline bool AdditionalPlayerCountHasBeenSet() const { return m_additionalPlayerCountHasBeenSet; }
173 inline void SetAdditionalPlayerCount(int value) { m_additionalPlayerCountHasBeenSet = true; m_additionalPlayerCount = value; }
176
178
182 inline const Aws::String& GetCustomEventData() const{ return m_customEventData; }
183 inline bool CustomEventDataHasBeenSet() const { return m_customEventDataHasBeenSet; }
184 inline void SetCustomEventData(const Aws::String& value) { m_customEventDataHasBeenSet = true; m_customEventData = value; }
185 inline void SetCustomEventData(Aws::String&& value) { m_customEventDataHasBeenSet = true; m_customEventData = std::move(value); }
186 inline void SetCustomEventData(const char* value) { m_customEventDataHasBeenSet = true; m_customEventData.assign(value); }
189 inline UpdateMatchmakingConfigurationRequest& WithCustomEventData(const char* value) { SetCustomEventData(value); return *this;}
191
193
200 inline const Aws::Vector<GameProperty>& GetGameProperties() const{ return m_gameProperties; }
201 inline bool GamePropertiesHasBeenSet() const { return m_gamePropertiesHasBeenSet; }
202 inline void SetGameProperties(const Aws::Vector<GameProperty>& value) { m_gamePropertiesHasBeenSet = true; m_gameProperties = value; }
203 inline void SetGameProperties(Aws::Vector<GameProperty>&& value) { m_gamePropertiesHasBeenSet = true; m_gameProperties = std::move(value); }
206 inline UpdateMatchmakingConfigurationRequest& AddGameProperties(const GameProperty& value) { m_gamePropertiesHasBeenSet = true; m_gameProperties.push_back(value); return *this; }
207 inline UpdateMatchmakingConfigurationRequest& AddGameProperties(GameProperty&& value) { m_gamePropertiesHasBeenSet = true; m_gameProperties.push_back(std::move(value)); return *this; }
209
211
220 inline const Aws::String& GetGameSessionData() const{ return m_gameSessionData; }
221 inline bool GameSessionDataHasBeenSet() const { return m_gameSessionDataHasBeenSet; }
222 inline void SetGameSessionData(const Aws::String& value) { m_gameSessionDataHasBeenSet = true; m_gameSessionData = value; }
223 inline void SetGameSessionData(Aws::String&& value) { m_gameSessionDataHasBeenSet = true; m_gameSessionData = std::move(value); }
224 inline void SetGameSessionData(const char* value) { m_gameSessionDataHasBeenSet = true; m_gameSessionData.assign(value); }
227 inline UpdateMatchmakingConfigurationRequest& WithGameSessionData(const char* value) { SetGameSessionData(value); return *this;}
229
231
241 inline const BackfillMode& GetBackfillMode() const{ return m_backfillMode; }
242 inline bool BackfillModeHasBeenSet() const { return m_backfillModeHasBeenSet; }
243 inline void SetBackfillMode(const BackfillMode& value) { m_backfillModeHasBeenSet = true; m_backfillMode = value; }
244 inline void SetBackfillMode(BackfillMode&& value) { m_backfillModeHasBeenSet = true; m_backfillMode = std::move(value); }
246 inline UpdateMatchmakingConfigurationRequest& WithBackfillMode(BackfillMode&& value) { SetBackfillMode(std::move(value)); return *this;}
248
250
260 inline const FlexMatchMode& GetFlexMatchMode() const{ return m_flexMatchMode; }
261 inline bool FlexMatchModeHasBeenSet() const { return m_flexMatchModeHasBeenSet; }
262 inline void SetFlexMatchMode(const FlexMatchMode& value) { m_flexMatchModeHasBeenSet = true; m_flexMatchMode = value; }
263 inline void SetFlexMatchMode(FlexMatchMode&& value) { m_flexMatchModeHasBeenSet = true; m_flexMatchMode = std::move(value); }
267 private:
268
269 Aws::String m_name;
270 bool m_nameHasBeenSet = false;
271
272 Aws::String m_description;
273 bool m_descriptionHasBeenSet = false;
274
275 Aws::Vector<Aws::String> m_gameSessionQueueArns;
276 bool m_gameSessionQueueArnsHasBeenSet = false;
277
278 int m_requestTimeoutSeconds;
279 bool m_requestTimeoutSecondsHasBeenSet = false;
280
281 int m_acceptanceTimeoutSeconds;
282 bool m_acceptanceTimeoutSecondsHasBeenSet = false;
283
284 bool m_acceptanceRequired;
285 bool m_acceptanceRequiredHasBeenSet = false;
286
287 Aws::String m_ruleSetName;
288 bool m_ruleSetNameHasBeenSet = false;
289
290 Aws::String m_notificationTarget;
291 bool m_notificationTargetHasBeenSet = false;
292
293 int m_additionalPlayerCount;
294 bool m_additionalPlayerCountHasBeenSet = false;
295
296 Aws::String m_customEventData;
297 bool m_customEventDataHasBeenSet = false;
298
299 Aws::Vector<GameProperty> m_gameProperties;
300 bool m_gamePropertiesHasBeenSet = false;
301
302 Aws::String m_gameSessionData;
303 bool m_gameSessionDataHasBeenSet = false;
304
305 BackfillMode m_backfillMode;
306 bool m_backfillModeHasBeenSet = false;
307
308 FlexMatchMode m_flexMatchMode;
309 bool m_flexMatchModeHasBeenSet = false;
310 };
311
312} // namespace Model
313} // namespace GameLift
314} // namespace Aws
UpdateMatchmakingConfigurationRequest & WithGameProperties(const Aws::Vector< GameProperty > &value)
UpdateMatchmakingConfigurationRequest & AddGameSessionQueueArns(const char *value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateMatchmakingConfigurationRequest & WithAcceptanceRequired(bool value)
UpdateMatchmakingConfigurationRequest & AddGameProperties(GameProperty &&value)
UpdateMatchmakingConfigurationRequest & WithGameSessionQueueArns(Aws::Vector< Aws::String > &&value)
UpdateMatchmakingConfigurationRequest & WithFlexMatchMode(const FlexMatchMode &value)
UpdateMatchmakingConfigurationRequest & WithDescription(const char *value)
UpdateMatchmakingConfigurationRequest & WithRuleSetName(Aws::String &&value)
UpdateMatchmakingConfigurationRequest & WithRuleSetName(const Aws::String &value)
UpdateMatchmakingConfigurationRequest & WithNotificationTarget(Aws::String &&value)
UpdateMatchmakingConfigurationRequest & WithGameSessionData(const char *value)
UpdateMatchmakingConfigurationRequest & WithGameSessionData(Aws::String &&value)
UpdateMatchmakingConfigurationRequest & WithBackfillMode(const BackfillMode &value)
UpdateMatchmakingConfigurationRequest & WithName(const char *value)
UpdateMatchmakingConfigurationRequest & WithRequestTimeoutSeconds(int value)
UpdateMatchmakingConfigurationRequest & WithCustomEventData(Aws::String &&value)
UpdateMatchmakingConfigurationRequest & WithGameProperties(Aws::Vector< GameProperty > &&value)
UpdateMatchmakingConfigurationRequest & WithAcceptanceTimeoutSeconds(int value)
UpdateMatchmakingConfigurationRequest & WithCustomEventData(const Aws::String &value)
UpdateMatchmakingConfigurationRequest & WithCustomEventData(const char *value)
UpdateMatchmakingConfigurationRequest & WithFlexMatchMode(FlexMatchMode &&value)
UpdateMatchmakingConfigurationRequest & AddGameSessionQueueArns(Aws::String &&value)
UpdateMatchmakingConfigurationRequest & AddGameSessionQueueArns(const Aws::String &value)
UpdateMatchmakingConfigurationRequest & WithBackfillMode(BackfillMode &&value)
UpdateMatchmakingConfigurationRequest & WithName(const Aws::String &value)
UpdateMatchmakingConfigurationRequest & WithName(Aws::String &&value)
UpdateMatchmakingConfigurationRequest & WithGameSessionQueueArns(const Aws::Vector< Aws::String > &value)
UpdateMatchmakingConfigurationRequest & WithGameSessionData(const Aws::String &value)
UpdateMatchmakingConfigurationRequest & WithNotificationTarget(const char *value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
UpdateMatchmakingConfigurationRequest & WithAdditionalPlayerCount(int value)
UpdateMatchmakingConfigurationRequest & WithDescription(Aws::String &&value)
UpdateMatchmakingConfigurationRequest & WithNotificationTarget(const Aws::String &value)
UpdateMatchmakingConfigurationRequest & AddGameProperties(const GameProperty &value)
UpdateMatchmakingConfigurationRequest & WithRuleSetName(const char *value)
UpdateMatchmakingConfigurationRequest & WithDescription(const Aws::String &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