AWS SDK for C++  1.9.107
AWS SDK for C++
UpdateGameSessionQueueRequest.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace GameLift
20 {
21 namespace Model
22 {
23 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "UpdateGameSessionQueue"; }
39 
40  Aws::String SerializePayload() const override;
41 
43 
44 
50  inline const Aws::String& GetName() const{ return m_name; }
51 
57  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 
64  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 
71  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
72 
78  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 
85  inline UpdateGameSessionQueueRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
86 
92  inline UpdateGameSessionQueueRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
93 
99  inline UpdateGameSessionQueueRequest& WithName(const char* value) { SetName(value); return *this;}
100 
101 
107  inline int GetTimeoutInSeconds() const{ return m_timeoutInSeconds; }
108 
114  inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
115 
121  inline void SetTimeoutInSeconds(int value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; }
122 
128  inline UpdateGameSessionQueueRequest& WithTimeoutInSeconds(int value) { SetTimeoutInSeconds(value); return *this;}
129 
130 
140  inline const Aws::Vector<PlayerLatencyPolicy>& GetPlayerLatencyPolicies() const{ return m_playerLatencyPolicies; }
141 
151  inline bool PlayerLatencyPoliciesHasBeenSet() const { return m_playerLatencyPoliciesHasBeenSet; }
152 
162  inline void SetPlayerLatencyPolicies(const Aws::Vector<PlayerLatencyPolicy>& value) { m_playerLatencyPoliciesHasBeenSet = true; m_playerLatencyPolicies = value; }
163 
173  inline void SetPlayerLatencyPolicies(Aws::Vector<PlayerLatencyPolicy>&& value) { m_playerLatencyPoliciesHasBeenSet = true; m_playerLatencyPolicies = std::move(value); }
174 
184  inline UpdateGameSessionQueueRequest& WithPlayerLatencyPolicies(const Aws::Vector<PlayerLatencyPolicy>& value) { SetPlayerLatencyPolicies(value); return *this;}
185 
195  inline UpdateGameSessionQueueRequest& WithPlayerLatencyPolicies(Aws::Vector<PlayerLatencyPolicy>&& value) { SetPlayerLatencyPolicies(std::move(value)); return *this;}
196 
206  inline UpdateGameSessionQueueRequest& AddPlayerLatencyPolicies(const PlayerLatencyPolicy& value) { m_playerLatencyPoliciesHasBeenSet = true; m_playerLatencyPolicies.push_back(value); return *this; }
207 
217  inline UpdateGameSessionQueueRequest& AddPlayerLatencyPolicies(PlayerLatencyPolicy&& value) { m_playerLatencyPoliciesHasBeenSet = true; m_playerLatencyPolicies.push_back(std::move(value)); return *this; }
218 
219 
226  inline const Aws::Vector<GameSessionQueueDestination>& GetDestinations() const{ return m_destinations; }
227 
234  inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
235 
242  inline void SetDestinations(const Aws::Vector<GameSessionQueueDestination>& value) { m_destinationsHasBeenSet = true; m_destinations = value; }
243 
250  inline void SetDestinations(Aws::Vector<GameSessionQueueDestination>&& value) { m_destinationsHasBeenSet = true; m_destinations = std::move(value); }
251 
258  inline UpdateGameSessionQueueRequest& WithDestinations(const Aws::Vector<GameSessionQueueDestination>& value) { SetDestinations(value); return *this;}
259 
266  inline UpdateGameSessionQueueRequest& WithDestinations(Aws::Vector<GameSessionQueueDestination>&& value) { SetDestinations(std::move(value)); return *this;}
267 
274  inline UpdateGameSessionQueueRequest& AddDestinations(const GameSessionQueueDestination& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; }
275 
282  inline UpdateGameSessionQueueRequest& AddDestinations(GameSessionQueueDestination&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(value)); return *this; }
283 
284 
292  inline const FilterConfiguration& GetFilterConfiguration() const{ return m_filterConfiguration; }
293 
301  inline bool FilterConfigurationHasBeenSet() const { return m_filterConfigurationHasBeenSet; }
302 
310  inline void SetFilterConfiguration(const FilterConfiguration& value) { m_filterConfigurationHasBeenSet = true; m_filterConfiguration = value; }
311 
319  inline void SetFilterConfiguration(FilterConfiguration&& value) { m_filterConfigurationHasBeenSet = true; m_filterConfiguration = std::move(value); }
320 
328  inline UpdateGameSessionQueueRequest& WithFilterConfiguration(const FilterConfiguration& value) { SetFilterConfiguration(value); return *this;}
329 
337  inline UpdateGameSessionQueueRequest& WithFilterConfiguration(FilterConfiguration&& value) { SetFilterConfiguration(std::move(value)); return *this;}
338 
339 
347  inline const PriorityConfiguration& GetPriorityConfiguration() const{ return m_priorityConfiguration; }
348 
356  inline bool PriorityConfigurationHasBeenSet() const { return m_priorityConfigurationHasBeenSet; }
357 
365  inline void SetPriorityConfiguration(const PriorityConfiguration& value) { m_priorityConfigurationHasBeenSet = true; m_priorityConfiguration = value; }
366 
374  inline void SetPriorityConfiguration(PriorityConfiguration&& value) { m_priorityConfigurationHasBeenSet = true; m_priorityConfiguration = std::move(value); }
375 
383  inline UpdateGameSessionQueueRequest& WithPriorityConfiguration(const PriorityConfiguration& value) { SetPriorityConfiguration(value); return *this;}
384 
392  inline UpdateGameSessionQueueRequest& WithPriorityConfiguration(PriorityConfiguration&& value) { SetPriorityConfiguration(std::move(value)); return *this;}
393 
394 
399  inline const Aws::String& GetCustomEventData() const{ return m_customEventData; }
400 
405  inline bool CustomEventDataHasBeenSet() const { return m_customEventDataHasBeenSet; }
406 
411  inline void SetCustomEventData(const Aws::String& value) { m_customEventDataHasBeenSet = true; m_customEventData = value; }
412 
417  inline void SetCustomEventData(Aws::String&& value) { m_customEventDataHasBeenSet = true; m_customEventData = std::move(value); }
418 
423  inline void SetCustomEventData(const char* value) { m_customEventDataHasBeenSet = true; m_customEventData.assign(value); }
424 
429  inline UpdateGameSessionQueueRequest& WithCustomEventData(const Aws::String& value) { SetCustomEventData(value); return *this;}
430 
435  inline UpdateGameSessionQueueRequest& WithCustomEventData(Aws::String&& value) { SetCustomEventData(std::move(value)); return *this;}
436 
441  inline UpdateGameSessionQueueRequest& WithCustomEventData(const char* value) { SetCustomEventData(value); return *this;}
442 
443 
450  inline const Aws::String& GetNotificationTarget() const{ return m_notificationTarget; }
451 
458  inline bool NotificationTargetHasBeenSet() const { return m_notificationTargetHasBeenSet; }
459 
466  inline void SetNotificationTarget(const Aws::String& value) { m_notificationTargetHasBeenSet = true; m_notificationTarget = value; }
467 
474  inline void SetNotificationTarget(Aws::String&& value) { m_notificationTargetHasBeenSet = true; m_notificationTarget = std::move(value); }
475 
482  inline void SetNotificationTarget(const char* value) { m_notificationTargetHasBeenSet = true; m_notificationTarget.assign(value); }
483 
490  inline UpdateGameSessionQueueRequest& WithNotificationTarget(const Aws::String& value) { SetNotificationTarget(value); return *this;}
491 
498  inline UpdateGameSessionQueueRequest& WithNotificationTarget(Aws::String&& value) { SetNotificationTarget(std::move(value)); return *this;}
499 
506  inline UpdateGameSessionQueueRequest& WithNotificationTarget(const char* value) { SetNotificationTarget(value); return *this;}
507 
508  private:
509 
510  Aws::String m_name;
511  bool m_nameHasBeenSet;
512 
513  int m_timeoutInSeconds;
514  bool m_timeoutInSecondsHasBeenSet;
515 
516  Aws::Vector<PlayerLatencyPolicy> m_playerLatencyPolicies;
517  bool m_playerLatencyPoliciesHasBeenSet;
518 
520  bool m_destinationsHasBeenSet;
521 
522  FilterConfiguration m_filterConfiguration;
523  bool m_filterConfigurationHasBeenSet;
524 
525  PriorityConfiguration m_priorityConfiguration;
526  bool m_priorityConfigurationHasBeenSet;
527 
528  Aws::String m_customEventData;
529  bool m_customEventDataHasBeenSet;
530 
531  Aws::String m_notificationTarget;
532  bool m_notificationTargetHasBeenSet;
533  };
534 
535 } // namespace Model
536 } // namespace GameLift
537 } // namespace Aws
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetTimeoutInSeconds
void SetTimeoutInSeconds(int value)
Definition: UpdateGameSessionQueueRequest.h:121
Aws::GameLift::Model::UpdateGameSessionQueueRequest::GetPriorityConfiguration
const PriorityConfiguration & GetPriorityConfiguration() const
Definition: UpdateGameSessionQueueRequest.h:347
Aws::GameLift::Model::UpdateGameSessionQueueRequest::AddDestinations
UpdateGameSessionQueueRequest & AddDestinations(GameSessionQueueDestination &&value)
Definition: UpdateGameSessionQueueRequest.h:282
Aws::GameLift::Model::GameSessionQueueDestination
Definition: GameSessionQueueDestination.h:35
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetDestinations
void SetDestinations(const Aws::Vector< GameSessionQueueDestination > &value)
Definition: UpdateGameSessionQueueRequest.h:242
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateGameSessionQueueRequest.h:64
Aws::GameLift::Model::UpdateGameSessionQueueRequest::GetDestinations
const Aws::Vector< GameSessionQueueDestination > & GetDestinations() const
Definition: UpdateGameSessionQueueRequest.h:226
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithName
UpdateGameSessionQueueRequest & WithName(Aws::String &&value)
Definition: UpdateGameSessionQueueRequest.h:92
Aws::GameLift::Model::PlayerLatencyPolicy
Definition: PlayerLatencyPolicy.h:36
Aws::GameLift::Model::UpdateGameSessionQueueRequest::DestinationsHasBeenSet
bool DestinationsHasBeenSet() const
Definition: UpdateGameSessionQueueRequest.h:234
Aws::GameLift::Model::UpdateGameSessionQueueRequest::PlayerLatencyPoliciesHasBeenSet
bool PlayerLatencyPoliciesHasBeenSet() const
Definition: UpdateGameSessionQueueRequest.h:151
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetCustomEventData
void SetCustomEventData(const Aws::String &value)
Definition: UpdateGameSessionQueueRequest.h:411
Aws::GameLift::Model::UpdateGameSessionQueueRequest::CustomEventDataHasBeenSet
bool CustomEventDataHasBeenSet() const
Definition: UpdateGameSessionQueueRequest.h:405
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithDestinations
UpdateGameSessionQueueRequest & WithDestinations(Aws::Vector< GameSessionQueueDestination > &&value)
Definition: UpdateGameSessionQueueRequest.h:266
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetNotificationTarget
void SetNotificationTarget(const Aws::String &value)
Definition: UpdateGameSessionQueueRequest.h:466
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetNotificationTarget
void SetNotificationTarget(const char *value)
Definition: UpdateGameSessionQueueRequest.h:482
Aws::GameLift::Model::UpdateGameSessionQueueRequest
Definition: UpdateGameSessionQueueRequest.h:30
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::UpdateGameSessionQueueRequest::NotificationTargetHasBeenSet
bool NotificationTargetHasBeenSet() const
Definition: UpdateGameSessionQueueRequest.h:458
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithPlayerLatencyPolicies
UpdateGameSessionQueueRequest & WithPlayerLatencyPolicies(const Aws::Vector< PlayerLatencyPolicy > &value)
Definition: UpdateGameSessionQueueRequest.h:184
Aws::GameLift::Model::UpdateGameSessionQueueRequest::GetFilterConfiguration
const FilterConfiguration & GetFilterConfiguration() const
Definition: UpdateGameSessionQueueRequest.h:292
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithName
UpdateGameSessionQueueRequest & WithName(const char *value)
Definition: UpdateGameSessionQueueRequest.h:99
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetDestinations
void SetDestinations(Aws::Vector< GameSessionQueueDestination > &&value)
Definition: UpdateGameSessionQueueRequest.h:250
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GameLift::Model::UpdateGameSessionQueueRequest::GetName
const Aws::String & GetName() const
Definition: UpdateGameSessionQueueRequest.h:50
Aws::GameLift::Model::UpdateGameSessionQueueRequest::GetPlayerLatencyPolicies
const Aws::Vector< PlayerLatencyPolicy > & GetPlayerLatencyPolicies() const
Definition: UpdateGameSessionQueueRequest.h:140
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateGameSessionQueueRequest.h:71
AWSVector.h
Aws::GameLift::Model::FilterConfiguration
Definition: FilterConfiguration.h:38
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithNotificationTarget
UpdateGameSessionQueueRequest & WithNotificationTarget(const Aws::String &value)
Definition: UpdateGameSessionQueueRequest.h:490
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetFilterConfiguration
void SetFilterConfiguration(const FilterConfiguration &value)
Definition: UpdateGameSessionQueueRequest.h:310
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetNotificationTarget
void SetNotificationTarget(Aws::String &&value)
Definition: UpdateGameSessionQueueRequest.h:474
GameLift_EXPORTS.h
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithCustomEventData
UpdateGameSessionQueueRequest & WithCustomEventData(Aws::String &&value)
Definition: UpdateGameSessionQueueRequest.h:435
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithCustomEventData
UpdateGameSessionQueueRequest & WithCustomEventData(const Aws::String &value)
Definition: UpdateGameSessionQueueRequest.h:429
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithDestinations
UpdateGameSessionQueueRequest & WithDestinations(const Aws::Vector< GameSessionQueueDestination > &value)
Definition: UpdateGameSessionQueueRequest.h:258
GameLiftRequest.h
PriorityConfiguration.h
Aws::GameLift::Model::UpdateGameSessionQueueRequest::GetNotificationTarget
const Aws::String & GetNotificationTarget() const
Definition: UpdateGameSessionQueueRequest.h:450
Aws::GameLift::Model::UpdateGameSessionQueueRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateGameSessionQueueRequest.h:38
Aws::GameLift::Model::UpdateGameSessionQueueRequest::PriorityConfigurationHasBeenSet
bool PriorityConfigurationHasBeenSet() const
Definition: UpdateGameSessionQueueRequest.h:356
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithTimeoutInSeconds
UpdateGameSessionQueueRequest & WithTimeoutInSeconds(int value)
Definition: UpdateGameSessionQueueRequest.h:128
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithFilterConfiguration
UpdateGameSessionQueueRequest & WithFilterConfiguration(FilterConfiguration &&value)
Definition: UpdateGameSessionQueueRequest.h:337
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetPlayerLatencyPolicies
void SetPlayerLatencyPolicies(Aws::Vector< PlayerLatencyPolicy > &&value)
Definition: UpdateGameSessionQueueRequest.h:173
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetPriorityConfiguration
void SetPriorityConfiguration(PriorityConfiguration &&value)
Definition: UpdateGameSessionQueueRequest.h:374
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithName
UpdateGameSessionQueueRequest & WithName(const Aws::String &value)
Definition: UpdateGameSessionQueueRequest.h:85
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithNotificationTarget
UpdateGameSessionQueueRequest & WithNotificationTarget(Aws::String &&value)
Definition: UpdateGameSessionQueueRequest.h:498
AWSString.h
Aws::GameLift::Model::UpdateGameSessionQueueRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateGameSessionQueueRequest.h:57
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithPriorityConfiguration
UpdateGameSessionQueueRequest & WithPriorityConfiguration(PriorityConfiguration &&value)
Definition: UpdateGameSessionQueueRequest.h:392
Aws::GameLift::Model::UpdateGameSessionQueueRequest::GetTimeoutInSeconds
int GetTimeoutInSeconds() const
Definition: UpdateGameSessionQueueRequest.h:107
Aws::GameLift::Model::UpdateGameSessionQueueRequest::AddPlayerLatencyPolicies
UpdateGameSessionQueueRequest & AddPlayerLatencyPolicies(const PlayerLatencyPolicy &value)
Definition: UpdateGameSessionQueueRequest.h:206
PlayerLatencyPolicy.h
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetPlayerLatencyPolicies
void SetPlayerLatencyPolicies(const Aws::Vector< PlayerLatencyPolicy > &value)
Definition: UpdateGameSessionQueueRequest.h:162
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetName
void SetName(const char *value)
Definition: UpdateGameSessionQueueRequest.h:78
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithNotificationTarget
UpdateGameSessionQueueRequest & WithNotificationTarget(const char *value)
Definition: UpdateGameSessionQueueRequest.h:506
Aws::GameLift::Model::UpdateGameSessionQueueRequest::UpdateGameSessionQueueRequest
UpdateGameSessionQueueRequest()
Aws::GameLift::Model::UpdateGameSessionQueueRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::UpdateGameSessionQueueRequest::AddPlayerLatencyPolicies
UpdateGameSessionQueueRequest & AddPlayerLatencyPolicies(PlayerLatencyPolicy &&value)
Definition: UpdateGameSessionQueueRequest.h:217
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithFilterConfiguration
UpdateGameSessionQueueRequest & WithFilterConfiguration(const FilterConfiguration &value)
Definition: UpdateGameSessionQueueRequest.h:328
Aws::GameLift::Model::UpdateGameSessionQueueRequest::TimeoutInSecondsHasBeenSet
bool TimeoutInSecondsHasBeenSet() const
Definition: UpdateGameSessionQueueRequest.h:114
FilterConfiguration.h
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetFilterConfiguration
void SetFilterConfiguration(FilterConfiguration &&value)
Definition: UpdateGameSessionQueueRequest.h:319
GameSessionQueueDestination.h
Aws::GameLift::Model::PriorityConfiguration
Definition: PriorityConfiguration.h:50
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetPriorityConfiguration
void SetPriorityConfiguration(const PriorityConfiguration &value)
Definition: UpdateGameSessionQueueRequest.h:365
Aws::GameLift::Model::UpdateGameSessionQueueRequest::AddDestinations
UpdateGameSessionQueueRequest & AddDestinations(const GameSessionQueueDestination &value)
Definition: UpdateGameSessionQueueRequest.h:274
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::UpdateGameSessionQueueRequest::GetCustomEventData
const Aws::String & GetCustomEventData() const
Definition: UpdateGameSessionQueueRequest.h:399
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetCustomEventData
void SetCustomEventData(Aws::String &&value)
Definition: UpdateGameSessionQueueRequest.h:417
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithCustomEventData
UpdateGameSessionQueueRequest & WithCustomEventData(const char *value)
Definition: UpdateGameSessionQueueRequest.h:441
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithPlayerLatencyPolicies
UpdateGameSessionQueueRequest & WithPlayerLatencyPolicies(Aws::Vector< PlayerLatencyPolicy > &&value)
Definition: UpdateGameSessionQueueRequest.h:195
Aws::GameLift::Model::UpdateGameSessionQueueRequest::SetCustomEventData
void SetCustomEventData(const char *value)
Definition: UpdateGameSessionQueueRequest.h:423
Aws::GameLift::Model::UpdateGameSessionQueueRequest::WithPriorityConfiguration
UpdateGameSessionQueueRequest & WithPriorityConfiguration(const PriorityConfiguration &value)
Definition: UpdateGameSessionQueueRequest.h:383
Aws::GameLift::Model::UpdateGameSessionQueueRequest::FilterConfigurationHasBeenSet
bool FilterConfigurationHasBeenSet() const
Definition: UpdateGameSessionQueueRequest.h:301