AWS SDK for C++  1.9.160
AWS SDK for C++
GameSessionQueue.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23  class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace GameLift
27 {
28 namespace Model
29 {
30 
41  {
42  public:
47 
48 
53  inline const Aws::String& GetName() const{ return m_name; }
54 
59  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 
65  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 
71  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
72 
77  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 
83  inline GameSessionQueue& WithName(const Aws::String& value) { SetName(value); return *this;}
84 
89  inline GameSessionQueue& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
90 
95  inline GameSessionQueue& WithName(const char* value) { SetName(value); return *this;}
96 
97 
107  inline const Aws::String& GetGameSessionQueueArn() const{ return m_gameSessionQueueArn; }
108 
118  inline bool GameSessionQueueArnHasBeenSet() const { return m_gameSessionQueueArnHasBeenSet; }
119 
129  inline void SetGameSessionQueueArn(const Aws::String& value) { m_gameSessionQueueArnHasBeenSet = true; m_gameSessionQueueArn = value; }
130 
140  inline void SetGameSessionQueueArn(Aws::String&& value) { m_gameSessionQueueArnHasBeenSet = true; m_gameSessionQueueArn = std::move(value); }
141 
151  inline void SetGameSessionQueueArn(const char* value) { m_gameSessionQueueArnHasBeenSet = true; m_gameSessionQueueArn.assign(value); }
152 
162  inline GameSessionQueue& WithGameSessionQueueArn(const Aws::String& value) { SetGameSessionQueueArn(value); return *this;}
163 
173  inline GameSessionQueue& WithGameSessionQueueArn(Aws::String&& value) { SetGameSessionQueueArn(std::move(value)); return *this;}
174 
184  inline GameSessionQueue& WithGameSessionQueueArn(const char* value) { SetGameSessionQueueArn(value); return *this;}
185 
186 
192  inline int GetTimeoutInSeconds() const{ return m_timeoutInSeconds; }
193 
199  inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
200 
206  inline void SetTimeoutInSeconds(int value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; }
207 
213  inline GameSessionQueue& WithTimeoutInSeconds(int value) { SetTimeoutInSeconds(value); return *this;}
214 
215 
224  inline const Aws::Vector<PlayerLatencyPolicy>& GetPlayerLatencyPolicies() const{ return m_playerLatencyPolicies; }
225 
234  inline bool PlayerLatencyPoliciesHasBeenSet() const { return m_playerLatencyPoliciesHasBeenSet; }
235 
244  inline void SetPlayerLatencyPolicies(const Aws::Vector<PlayerLatencyPolicy>& value) { m_playerLatencyPoliciesHasBeenSet = true; m_playerLatencyPolicies = value; }
245 
254  inline void SetPlayerLatencyPolicies(Aws::Vector<PlayerLatencyPolicy>&& value) { m_playerLatencyPoliciesHasBeenSet = true; m_playerLatencyPolicies = std::move(value); }
255 
264  inline GameSessionQueue& WithPlayerLatencyPolicies(const Aws::Vector<PlayerLatencyPolicy>& value) { SetPlayerLatencyPolicies(value); return *this;}
265 
274  inline GameSessionQueue& WithPlayerLatencyPolicies(Aws::Vector<PlayerLatencyPolicy>&& value) { SetPlayerLatencyPolicies(std::move(value)); return *this;}
275 
284  inline GameSessionQueue& AddPlayerLatencyPolicies(const PlayerLatencyPolicy& value) { m_playerLatencyPoliciesHasBeenSet = true; m_playerLatencyPolicies.push_back(value); return *this; }
285 
294  inline GameSessionQueue& AddPlayerLatencyPolicies(PlayerLatencyPolicy&& value) { m_playerLatencyPoliciesHasBeenSet = true; m_playerLatencyPolicies.push_back(std::move(value)); return *this; }
295 
296 
303  inline const Aws::Vector<GameSessionQueueDestination>& GetDestinations() const{ return m_destinations; }
304 
311  inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
312 
319  inline void SetDestinations(const Aws::Vector<GameSessionQueueDestination>& value) { m_destinationsHasBeenSet = true; m_destinations = value; }
320 
327  inline void SetDestinations(Aws::Vector<GameSessionQueueDestination>&& value) { m_destinationsHasBeenSet = true; m_destinations = std::move(value); }
328 
335  inline GameSessionQueue& WithDestinations(const Aws::Vector<GameSessionQueueDestination>& value) { SetDestinations(value); return *this;}
336 
343  inline GameSessionQueue& WithDestinations(Aws::Vector<GameSessionQueueDestination>&& value) { SetDestinations(std::move(value)); return *this;}
344 
351  inline GameSessionQueue& AddDestinations(const GameSessionQueueDestination& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; }
352 
359  inline GameSessionQueue& AddDestinations(GameSessionQueueDestination&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(value)); return *this; }
360 
361 
368  inline const FilterConfiguration& GetFilterConfiguration() const{ return m_filterConfiguration; }
369 
376  inline bool FilterConfigurationHasBeenSet() const { return m_filterConfigurationHasBeenSet; }
377 
384  inline void SetFilterConfiguration(const FilterConfiguration& value) { m_filterConfigurationHasBeenSet = true; m_filterConfiguration = value; }
385 
392  inline void SetFilterConfiguration(FilterConfiguration&& value) { m_filterConfigurationHasBeenSet = true; m_filterConfiguration = std::move(value); }
393 
400  inline GameSessionQueue& WithFilterConfiguration(const FilterConfiguration& value) { SetFilterConfiguration(value); return *this;}
401 
408  inline GameSessionQueue& WithFilterConfiguration(FilterConfiguration&& value) { SetFilterConfiguration(std::move(value)); return *this;}
409 
410 
417  inline const PriorityConfiguration& GetPriorityConfiguration() const{ return m_priorityConfiguration; }
418 
425  inline bool PriorityConfigurationHasBeenSet() const { return m_priorityConfigurationHasBeenSet; }
426 
433  inline void SetPriorityConfiguration(const PriorityConfiguration& value) { m_priorityConfigurationHasBeenSet = true; m_priorityConfiguration = value; }
434 
441  inline void SetPriorityConfiguration(PriorityConfiguration&& value) { m_priorityConfigurationHasBeenSet = true; m_priorityConfiguration = std::move(value); }
442 
449  inline GameSessionQueue& WithPriorityConfiguration(const PriorityConfiguration& value) { SetPriorityConfiguration(value); return *this;}
450 
457  inline GameSessionQueue& WithPriorityConfiguration(PriorityConfiguration&& value) { SetPriorityConfiguration(std::move(value)); return *this;}
458 
459 
464  inline const Aws::String& GetCustomEventData() const{ return m_customEventData; }
465 
470  inline bool CustomEventDataHasBeenSet() const { return m_customEventDataHasBeenSet; }
471 
476  inline void SetCustomEventData(const Aws::String& value) { m_customEventDataHasBeenSet = true; m_customEventData = value; }
477 
482  inline void SetCustomEventData(Aws::String&& value) { m_customEventDataHasBeenSet = true; m_customEventData = std::move(value); }
483 
488  inline void SetCustomEventData(const char* value) { m_customEventDataHasBeenSet = true; m_customEventData.assign(value); }
489 
494  inline GameSessionQueue& WithCustomEventData(const Aws::String& value) { SetCustomEventData(value); return *this;}
495 
500  inline GameSessionQueue& WithCustomEventData(Aws::String&& value) { SetCustomEventData(std::move(value)); return *this;}
501 
506  inline GameSessionQueue& WithCustomEventData(const char* value) { SetCustomEventData(value); return *this;}
507 
508 
515  inline const Aws::String& GetNotificationTarget() const{ return m_notificationTarget; }
516 
523  inline bool NotificationTargetHasBeenSet() const { return m_notificationTargetHasBeenSet; }
524 
531  inline void SetNotificationTarget(const Aws::String& value) { m_notificationTargetHasBeenSet = true; m_notificationTarget = value; }
532 
539  inline void SetNotificationTarget(Aws::String&& value) { m_notificationTargetHasBeenSet = true; m_notificationTarget = std::move(value); }
540 
547  inline void SetNotificationTarget(const char* value) { m_notificationTargetHasBeenSet = true; m_notificationTarget.assign(value); }
548 
555  inline GameSessionQueue& WithNotificationTarget(const Aws::String& value) { SetNotificationTarget(value); return *this;}
556 
563  inline GameSessionQueue& WithNotificationTarget(Aws::String&& value) { SetNotificationTarget(std::move(value)); return *this;}
564 
571  inline GameSessionQueue& WithNotificationTarget(const char* value) { SetNotificationTarget(value); return *this;}
572 
573  private:
574 
575  Aws::String m_name;
576  bool m_nameHasBeenSet;
577 
578  Aws::String m_gameSessionQueueArn;
579  bool m_gameSessionQueueArnHasBeenSet;
580 
581  int m_timeoutInSeconds;
582  bool m_timeoutInSecondsHasBeenSet;
583 
584  Aws::Vector<PlayerLatencyPolicy> m_playerLatencyPolicies;
585  bool m_playerLatencyPoliciesHasBeenSet;
586 
588  bool m_destinationsHasBeenSet;
589 
590  FilterConfiguration m_filterConfiguration;
591  bool m_filterConfigurationHasBeenSet;
592 
593  PriorityConfiguration m_priorityConfiguration;
594  bool m_priorityConfigurationHasBeenSet;
595 
596  Aws::String m_customEventData;
597  bool m_customEventDataHasBeenSet;
598 
599  Aws::String m_notificationTarget;
600  bool m_notificationTargetHasBeenSet;
601  };
602 
603 } // namespace Model
604 } // namespace GameLift
605 } // namespace Aws
Aws::GameLift::Model::GameSessionQueue::SetCustomEventData
void SetCustomEventData(Aws::String &&value)
Definition: GameSessionQueue.h:482
Aws::GameLift::Model::GameSessionQueue::WithNotificationTarget
GameSessionQueue & WithNotificationTarget(Aws::String &&value)
Definition: GameSessionQueue.h:563
Aws::GameLift::Model::GameSessionQueueDestination
Definition: GameSessionQueueDestination.h:35
Aws::GameLift::Model::GameSessionQueue::GetNotificationTarget
const Aws::String & GetNotificationTarget() const
Definition: GameSessionQueue.h:515
Aws::GameLift::Model::GameSessionQueue::PriorityConfigurationHasBeenSet
bool PriorityConfigurationHasBeenSet() const
Definition: GameSessionQueue.h:425
Aws::GameLift::Model::GameSessionQueue
Definition: GameSessionQueue.h:41
Aws::GameLift::Model::PlayerLatencyPolicy
Definition: PlayerLatencyPolicy.h:36
Aws::GameLift::Model::GameSessionQueue::SetName
void SetName(const char *value)
Definition: GameSessionQueue.h:77
Aws::GameLift::Model::GameSessionQueue::SetGameSessionQueueArn
void SetGameSessionQueueArn(const char *value)
Definition: GameSessionQueue.h:151
Aws::GameLift::Model::GameSessionQueue::SetTimeoutInSeconds
void SetTimeoutInSeconds(int value)
Definition: GameSessionQueue.h:206
Aws::GameLift::Model::GameSessionQueue::NotificationTargetHasBeenSet
bool NotificationTargetHasBeenSet() const
Definition: GameSessionQueue.h:523
Aws::GameLift::Model::GameSessionQueue::SetGameSessionQueueArn
void SetGameSessionQueueArn(const Aws::String &value)
Definition: GameSessionQueue.h:129
Aws::GameLift::Model::GameSessionQueue::WithPriorityConfiguration
GameSessionQueue & WithPriorityConfiguration(PriorityConfiguration &&value)
Definition: GameSessionQueue.h:457
Aws::GameLift::Model::GameSessionQueue::SetNotificationTarget
void SetNotificationTarget(Aws::String &&value)
Definition: GameSessionQueue.h:539
Aws::GameLift::Model::GameSessionQueue::WithName
GameSessionQueue & WithName(const char *value)
Definition: GameSessionQueue.h:95
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::GameSessionQueue::SetPlayerLatencyPolicies
void SetPlayerLatencyPolicies(const Aws::Vector< PlayerLatencyPolicy > &value)
Definition: GameSessionQueue.h:244
Aws::GameLift::Model::GameSessionQueue::SetFilterConfiguration
void SetFilterConfiguration(FilterConfiguration &&value)
Definition: GameSessionQueue.h:392
Aws::GameLift::Model::GameSessionQueue::PlayerLatencyPoliciesHasBeenSet
bool PlayerLatencyPoliciesHasBeenSet() const
Definition: GameSessionQueue.h:234
Aws::GameLift::Model::GameSessionQueue::WithDestinations
GameSessionQueue & WithDestinations(Aws::Vector< GameSessionQueueDestination > &&value)
Definition: GameSessionQueue.h:343
Aws::GameLift::Model::GameSessionQueue::WithNotificationTarget
GameSessionQueue & WithNotificationTarget(const Aws::String &value)
Definition: GameSessionQueue.h:555
Aws::GameLift::Model::GameSessionQueue::WithDestinations
GameSessionQueue & WithDestinations(const Aws::Vector< GameSessionQueueDestination > &value)
Definition: GameSessionQueue.h:335
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GameLift::Model::GameSessionQueue::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GameLift::Model::GameSessionQueue::TimeoutInSecondsHasBeenSet
bool TimeoutInSecondsHasBeenSet() const
Definition: GameSessionQueue.h:199
Aws::GameLift::Model::GameSessionQueue::SetPriorityConfiguration
void SetPriorityConfiguration(const PriorityConfiguration &value)
Definition: GameSessionQueue.h:433
Aws::GameLift::Model::GameSessionQueue::WithName
GameSessionQueue & WithName(Aws::String &&value)
Definition: GameSessionQueue.h:89
AWSVector.h
Aws::GameLift::Model::GameSessionQueue::GetGameSessionQueueArn
const Aws::String & GetGameSessionQueueArn() const
Definition: GameSessionQueue.h:107
Aws::GameLift::Model::GameSessionQueue::NameHasBeenSet
bool NameHasBeenSet() const
Definition: GameSessionQueue.h:59
Aws::GameLift::Model::GameSessionQueue::SetFilterConfiguration
void SetFilterConfiguration(const FilterConfiguration &value)
Definition: GameSessionQueue.h:384
Aws::GameLift::Model::FilterConfiguration
Definition: FilterConfiguration.h:38
Aws::GameLift::Model::GameSessionQueue::CustomEventDataHasBeenSet
bool CustomEventDataHasBeenSet() const
Definition: GameSessionQueue.h:470
Aws::GameLift::Model::GameSessionQueue::SetCustomEventData
void SetCustomEventData(const char *value)
Definition: GameSessionQueue.h:488
Aws::GameLift::Model::GameSessionQueue::SetPriorityConfiguration
void SetPriorityConfiguration(PriorityConfiguration &&value)
Definition: GameSessionQueue.h:441
GameLift_EXPORTS.h
Aws::GameLift::Model::GameSessionQueue::WithCustomEventData
GameSessionQueue & WithCustomEventData(const Aws::String &value)
Definition: GameSessionQueue.h:494
PriorityConfiguration.h
Aws::GameLift::Model::GameSessionQueue::operator=
GameSessionQueue & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::GameSessionQueue::WithPriorityConfiguration
GameSessionQueue & WithPriorityConfiguration(const PriorityConfiguration &value)
Definition: GameSessionQueue.h:449
Aws::GameLift::Model::GameSessionQueue::GetTimeoutInSeconds
int GetTimeoutInSeconds() const
Definition: GameSessionQueue.h:192
Aws::GameLift::Model::GameSessionQueue::GetCustomEventData
const Aws::String & GetCustomEventData() const
Definition: GameSessionQueue.h:464
Aws::GameLift::Model::GameSessionQueue::WithGameSessionQueueArn
GameSessionQueue & WithGameSessionQueueArn(Aws::String &&value)
Definition: GameSessionQueue.h:173
Aws::GameLift::Model::GameSessionQueue::WithFilterConfiguration
GameSessionQueue & WithFilterConfiguration(FilterConfiguration &&value)
Definition: GameSessionQueue.h:408
Aws::GameLift::Model::GameSessionQueue::WithGameSessionQueueArn
GameSessionQueue & WithGameSessionQueueArn(const char *value)
Definition: GameSessionQueue.h:184
Aws::GameLift::Model::GameSessionQueue::SetPlayerLatencyPolicies
void SetPlayerLatencyPolicies(Aws::Vector< PlayerLatencyPolicy > &&value)
Definition: GameSessionQueue.h:254
Aws::GameLift::Model::GameSessionQueue::SetGameSessionQueueArn
void SetGameSessionQueueArn(Aws::String &&value)
Definition: GameSessionQueue.h:140
Aws::GameLift::Model::GameSessionQueue::GetFilterConfiguration
const FilterConfiguration & GetFilterConfiguration() const
Definition: GameSessionQueue.h:368
Aws::GameLift::Model::GameSessionQueue::SetName
void SetName(const Aws::String &value)
Definition: GameSessionQueue.h:65
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::GameLift::Model::GameSessionQueue::FilterConfigurationHasBeenSet
bool FilterConfigurationHasBeenSet() const
Definition: GameSessionQueue.h:376
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GameLift::Model::GameSessionQueue::WithCustomEventData
GameSessionQueue & WithCustomEventData(Aws::String &&value)
Definition: GameSessionQueue.h:500
Aws::GameLift::Model::GameSessionQueue::WithPlayerLatencyPolicies
GameSessionQueue & WithPlayerLatencyPolicies(const Aws::Vector< PlayerLatencyPolicy > &value)
Definition: GameSessionQueue.h:264
Aws::GameLift::Model::GameSessionQueue::GetName
const Aws::String & GetName() const
Definition: GameSessionQueue.h:53
Aws::GameLift::Model::GameSessionQueue::DestinationsHasBeenSet
bool DestinationsHasBeenSet() const
Definition: GameSessionQueue.h:311
Aws::GameLift::Model::GameSessionQueue::SetCustomEventData
void SetCustomEventData(const Aws::String &value)
Definition: GameSessionQueue.h:476
Aws::GameLift::Model::GameSessionQueue::WithPlayerLatencyPolicies
GameSessionQueue & WithPlayerLatencyPolicies(Aws::Vector< PlayerLatencyPolicy > &&value)
Definition: GameSessionQueue.h:274
Aws::GameLift::Model::GameSessionQueue::WithName
GameSessionQueue & WithName(const Aws::String &value)
Definition: GameSessionQueue.h:83
Aws::GameLift::Model::GameSessionQueue::AddDestinations
GameSessionQueue & AddDestinations(GameSessionQueueDestination &&value)
Definition: GameSessionQueue.h:359
Aws::GameLift::Model::GameSessionQueue::WithGameSessionQueueArn
GameSessionQueue & WithGameSessionQueueArn(const Aws::String &value)
Definition: GameSessionQueue.h:162
Aws::GameLift::Model::GameSessionQueue::AddDestinations
GameSessionQueue & AddDestinations(const GameSessionQueueDestination &value)
Definition: GameSessionQueue.h:351
Aws::GameLift::Model::GameSessionQueue::GameSessionQueueArnHasBeenSet
bool GameSessionQueueArnHasBeenSet() const
Definition: GameSessionQueue.h:118
Aws::GameLift::Model::GameSessionQueue::GameSessionQueue
GameSessionQueue(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::GameSessionQueue::WithNotificationTarget
GameSessionQueue & WithNotificationTarget(const char *value)
Definition: GameSessionQueue.h:571
PlayerLatencyPolicy.h
Aws::GameLift::Model::GameSessionQueue::WithFilterConfiguration
GameSessionQueue & WithFilterConfiguration(const FilterConfiguration &value)
Definition: GameSessionQueue.h:400
Aws::GameLift::Model::GameSessionQueue::AddPlayerLatencyPolicies
GameSessionQueue & AddPlayerLatencyPolicies(PlayerLatencyPolicy &&value)
Definition: GameSessionQueue.h:294
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::GameSessionQueue::GetPlayerLatencyPolicies
const Aws::Vector< PlayerLatencyPolicy > & GetPlayerLatencyPolicies() const
Definition: GameSessionQueue.h:224
Aws::GameLift::Model::GameSessionQueue::SetDestinations
void SetDestinations(Aws::Vector< GameSessionQueueDestination > &&value)
Definition: GameSessionQueue.h:327
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::GameSessionQueue::WithTimeoutInSeconds
GameSessionQueue & WithTimeoutInSeconds(int value)
Definition: GameSessionQueue.h:213
Aws::GameLift::Model::GameSessionQueue::GetPriorityConfiguration
const PriorityConfiguration & GetPriorityConfiguration() const
Definition: GameSessionQueue.h:417
FilterConfiguration.h
GameSessionQueueDestination.h
Aws::GameLift::Model::GameSessionQueue::AddPlayerLatencyPolicies
GameSessionQueue & AddPlayerLatencyPolicies(const PlayerLatencyPolicy &value)
Definition: GameSessionQueue.h:284
Aws::GameLift::Model::GameSessionQueue::SetName
void SetName(Aws::String &&value)
Definition: GameSessionQueue.h:71
Aws::GameLift::Model::PriorityConfiguration
Definition: PriorityConfiguration.h:50
Aws::GameLift::Model::GameSessionQueue::SetNotificationTarget
void SetNotificationTarget(const char *value)
Definition: GameSessionQueue.h:547
Aws::GameLift::Model::GameSessionQueue::SetDestinations
void SetDestinations(const Aws::Vector< GameSessionQueueDestination > &value)
Definition: GameSessionQueue.h:319
Aws::GameLift::Model::GameSessionQueue::WithCustomEventData
GameSessionQueue & WithCustomEventData(const char *value)
Definition: GameSessionQueue.h:506
Aws::GameLift::Model::GameSessionQueue::GetDestinations
const Aws::Vector< GameSessionQueueDestination > & GetDestinations() const
Definition: GameSessionQueue.h:303
Aws::GameLift::Model::GameSessionQueue::SetNotificationTarget
void SetNotificationTarget(const Aws::String &value)
Definition: GameSessionQueue.h:531
Aws::GameLift::Model::GameSessionQueue::GameSessionQueue
GameSessionQueue()