7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/gamelift/model/FilterConfiguration.h>
11#include <aws/gamelift/model/PriorityConfiguration.h>
12#include <aws/gamelift/model/PlayerLatencyPolicy.h>
13#include <aws/gamelift/model/GameSessionQueueDestination.h>
54 template<
typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
56 template<
typename NameT = Aws::String>
72 template<
typename GameSessionQueueArnT = Aws::String>
73 void SetGameSessionQueueArn(GameSessionQueueArnT&& value) { m_gameSessionQueueArnHasBeenSet =
true; m_gameSessionQueueArn = std::forward<GameSessionQueueArnT>(value); }
74 template<
typename GameSessionQueueArnT = Aws::String>
86 inline void SetTimeoutInSeconds(
int value) { m_timeoutInSecondsHasBeenSet =
true; m_timeoutInSeconds = value; }
100 template<
typename PlayerLatencyPoliciesT = Aws::Vector<PlayerLatencyPolicy>>
101 void SetPlayerLatencyPolicies(PlayerLatencyPoliciesT&& value) { m_playerLatencyPoliciesHasBeenSet =
true; m_playerLatencyPolicies = std::forward<PlayerLatencyPoliciesT>(value); }
102 template<
typename PlayerLatencyPoliciesT = Aws::Vector<PlayerLatencyPolicy>>
104 template<
typename PlayerLatencyPoliciesT = PlayerLatencyPolicy>
105 GameSessionQueue&
AddPlayerLatencyPolicies(PlayerLatencyPoliciesT&& value) { m_playerLatencyPoliciesHasBeenSet =
true; m_playerLatencyPolicies.emplace_back(std::forward<PlayerLatencyPoliciesT>(value));
return *
this; }
117 template<
typename DestinationsT = Aws::Vector<GameSessionQueueDestination>>
118 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations = std::forward<DestinationsT>(value); }
119 template<
typename DestinationsT = Aws::Vector<GameSessionQueueDestination>>
121 template<
typename DestinationsT = GameSessionQueueDestination>
122 GameSessionQueue&
AddDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations.emplace_back(std::forward<DestinationsT>(value));
return *
this; }
134 template<
typename FilterConfigurationT = FilterConfiguration>
135 void SetFilterConfiguration(FilterConfigurationT&& value) { m_filterConfigurationHasBeenSet =
true; m_filterConfiguration = std::forward<FilterConfigurationT>(value); }
136 template<
typename FilterConfigurationT = FilterConfiguration>
149 template<
typename PriorityConfigurationT = PriorityConfiguration>
150 void SetPriorityConfiguration(PriorityConfigurationT&& value) { m_priorityConfigurationHasBeenSet =
true; m_priorityConfiguration = std::forward<PriorityConfigurationT>(value); }
151 template<
typename PriorityConfigurationT = PriorityConfiguration>
162 template<
typename CustomEventDataT = Aws::String>
163 void SetCustomEventData(CustomEventDataT&& value) { m_customEventDataHasBeenSet =
true; m_customEventData = std::forward<CustomEventDataT>(value); }
164 template<
typename CustomEventDataT = Aws::String>
177 template<
typename NotificationTargetT = Aws::String>
178 void SetNotificationTarget(NotificationTargetT&& value) { m_notificationTargetHasBeenSet =
true; m_notificationTarget = std::forward<NotificationTargetT>(value); }
179 template<
typename NotificationTargetT = Aws::String>
185 bool m_nameHasBeenSet =
false;
188 bool m_gameSessionQueueArnHasBeenSet =
false;
190 int m_timeoutInSeconds{0};
191 bool m_timeoutInSecondsHasBeenSet =
false;
194 bool m_playerLatencyPoliciesHasBeenSet =
false;
197 bool m_destinationsHasBeenSet =
false;
199 FilterConfiguration m_filterConfiguration;
200 bool m_filterConfigurationHasBeenSet =
false;
202 PriorityConfiguration m_priorityConfiguration;
203 bool m_priorityConfigurationHasBeenSet =
false;
206 bool m_customEventDataHasBeenSet =
false;
209 bool m_notificationTargetHasBeenSet =
false;
bool DestinationsHasBeenSet() const
void SetCustomEventData(CustomEventDataT &&value)
AWS_GAMELIFT_API GameSessionQueue & operator=(Aws::Utils::Json::JsonView jsonValue)
GameSessionQueue & WithGameSessionQueueArn(GameSessionQueueArnT &&value)
void SetPlayerLatencyPolicies(PlayerLatencyPoliciesT &&value)
GameSessionQueue & AddPlayerLatencyPolicies(PlayerLatencyPoliciesT &&value)
AWS_GAMELIFT_API GameSessionQueue()=default
bool TimeoutInSecondsHasBeenSet() const
void SetDestinations(DestinationsT &&value)
GameSessionQueue & AddDestinations(DestinationsT &&value)
GameSessionQueue & WithPlayerLatencyPolicies(PlayerLatencyPoliciesT &&value)
int GetTimeoutInSeconds() const
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
bool GameSessionQueueArnHasBeenSet() const
GameSessionQueue & WithName(NameT &&value)
bool PriorityConfigurationHasBeenSet() const
const FilterConfiguration & GetFilterConfiguration() const
GameSessionQueue & WithTimeoutInSeconds(int value)
GameSessionQueue & WithFilterConfiguration(FilterConfigurationT &&value)
const Aws::String & GetNotificationTarget() const
void SetTimeoutInSeconds(int value)
void SetFilterConfiguration(FilterConfigurationT &&value)
const Aws::Vector< PlayerLatencyPolicy > & GetPlayerLatencyPolicies() const
const Aws::String & GetGameSessionQueueArn() const
const Aws::String & GetCustomEventData() const
GameSessionQueue & WithDestinations(DestinationsT &&value)
bool NameHasBeenSet() const
GameSessionQueue & WithCustomEventData(CustomEventDataT &&value)
bool PlayerLatencyPoliciesHasBeenSet() const
bool NotificationTargetHasBeenSet() const
bool FilterConfigurationHasBeenSet() const
void SetNotificationTarget(NotificationTargetT &&value)
void SetGameSessionQueueArn(GameSessionQueueArnT &&value)
const Aws::String & GetName() const
const PriorityConfiguration & GetPriorityConfiguration() const
void SetPriorityConfiguration(PriorityConfigurationT &&value)
AWS_GAMELIFT_API GameSessionQueue(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< GameSessionQueueDestination > & GetDestinations() const
bool CustomEventDataHasBeenSet() const
GameSessionQueue & WithNotificationTarget(NotificationTargetT &&value)
GameSessionQueue & WithPriorityConfiguration(PriorityConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue