AWS SDK for C++  1.7.207
AWS SDK for C++
Public Member Functions | List of all members
Aws::GameLift::Model::RuntimeConfiguration Class Reference

#include <RuntimeConfiguration.h>

Public Member Functions

 RuntimeConfiguration ()
 
 RuntimeConfiguration (Aws::Utils::Json::JsonView jsonValue)
 
RuntimeConfigurationoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Vector< ServerProcess > & GetServerProcesses () const
 
bool ServerProcessesHasBeenSet () const
 
void SetServerProcesses (const Aws::Vector< ServerProcess > &value)
 
void SetServerProcesses (Aws::Vector< ServerProcess > &&value)
 
RuntimeConfigurationWithServerProcesses (const Aws::Vector< ServerProcess > &value)
 
RuntimeConfigurationWithServerProcesses (Aws::Vector< ServerProcess > &&value)
 
RuntimeConfigurationAddServerProcesses (const ServerProcess &value)
 
RuntimeConfigurationAddServerProcesses (ServerProcess &&value)
 
int GetMaxConcurrentGameSessionActivations () const
 
bool MaxConcurrentGameSessionActivationsHasBeenSet () const
 
void SetMaxConcurrentGameSessionActivations (int value)
 
RuntimeConfigurationWithMaxConcurrentGameSessionActivations (int value)
 
int GetGameSessionActivationTimeoutSeconds () const
 
bool GameSessionActivationTimeoutSecondsHasBeenSet () const
 
void SetGameSessionActivationTimeoutSeconds (int value)
 
RuntimeConfigurationWithGameSessionActivationTimeoutSeconds (int value)
 

Detailed Description

A collection of server process configurations that describe what processes to run on each instance in a fleet. Server processes run either a custom game build executable or a Realtime Servers script. Each instance in the fleet starts the specified server processes and continues to start new processes as existing processes end. An instance regularly checks for an updated run-time configuration.

The run-time configuration enables the instances in a fleet to run multiple processes simultaneously. Learn more about Running Multiple Processes on a Fleet .

A Amazon GameLift instance is limited to 50 processes running simultaneously. To calculate the total number of processes in a run-time configuration, add the values of the ConcurrentExecutions parameter for each ServerProcess object.

See Also:

AWS API Reference

Definition at line 67 of file RuntimeConfiguration.h.

Constructor & Destructor Documentation

◆ RuntimeConfiguration() [1/2]

Aws::GameLift::Model::RuntimeConfiguration::RuntimeConfiguration ( )

◆ RuntimeConfiguration() [2/2]

Aws::GameLift::Model::RuntimeConfiguration::RuntimeConfiguration ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddServerProcesses() [1/2]

RuntimeConfiguration& Aws::GameLift::Model::RuntimeConfiguration::AddServerProcesses ( const ServerProcess value)
inline

Collection of server process configurations that describe which server processes to run on each instance in a fleet.

Definition at line 116 of file RuntimeConfiguration.h.

◆ AddServerProcesses() [2/2]

RuntimeConfiguration& Aws::GameLift::Model::RuntimeConfiguration::AddServerProcesses ( ServerProcess &&  value)
inline

Collection of server process configurations that describe which server processes to run on each instance in a fleet.

Definition at line 122 of file RuntimeConfiguration.h.

◆ GameSessionActivationTimeoutSecondsHasBeenSet()

bool Aws::GameLift::Model::RuntimeConfiguration::GameSessionActivationTimeoutSecondsHasBeenSet ( ) const
inline

Maximum amount of time (in seconds) that a game session can remain in status ACTIVATING. If the game session is not active before the timeout, activation is terminated and the game session status is changed to TERMINATED.

Definition at line 168 of file RuntimeConfiguration.h.

◆ GetGameSessionActivationTimeoutSeconds()

int Aws::GameLift::Model::RuntimeConfiguration::GetGameSessionActivationTimeoutSeconds ( ) const
inline

Maximum amount of time (in seconds) that a game session can remain in status ACTIVATING. If the game session is not active before the timeout, activation is terminated and the game session status is changed to TERMINATED.

Definition at line 160 of file RuntimeConfiguration.h.

◆ GetMaxConcurrentGameSessionActivations()

int Aws::GameLift::Model::RuntimeConfiguration::GetMaxConcurrentGameSessionActivations ( ) const
inline

Maximum number of game sessions with status ACTIVATING to allow on an instance simultaneously. This setting limits the amount of instance resources that can be used for new game activations at any one time.

Definition at line 130 of file RuntimeConfiguration.h.

◆ GetServerProcesses()

const Aws::Vector<ServerProcess>& Aws::GameLift::Model::RuntimeConfiguration::GetServerProcesses ( ) const
inline

Collection of server process configurations that describe which server processes to run on each instance in a fleet.

Definition at line 80 of file RuntimeConfiguration.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::GameLift::Model::RuntimeConfiguration::Jsonize ( ) const

◆ MaxConcurrentGameSessionActivationsHasBeenSet()

bool Aws::GameLift::Model::RuntimeConfiguration::MaxConcurrentGameSessionActivationsHasBeenSet ( ) const
inline

Maximum number of game sessions with status ACTIVATING to allow on an instance simultaneously. This setting limits the amount of instance resources that can be used for new game activations at any one time.

Definition at line 137 of file RuntimeConfiguration.h.

◆ operator=()

RuntimeConfiguration& Aws::GameLift::Model::RuntimeConfiguration::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ServerProcessesHasBeenSet()

bool Aws::GameLift::Model::RuntimeConfiguration::ServerProcessesHasBeenSet ( ) const
inline

Collection of server process configurations that describe which server processes to run on each instance in a fleet.

Definition at line 86 of file RuntimeConfiguration.h.

◆ SetGameSessionActivationTimeoutSeconds()

void Aws::GameLift::Model::RuntimeConfiguration::SetGameSessionActivationTimeoutSeconds ( int  value)
inline

Maximum amount of time (in seconds) that a game session can remain in status ACTIVATING. If the game session is not active before the timeout, activation is terminated and the game session status is changed to TERMINATED.

Definition at line 176 of file RuntimeConfiguration.h.

◆ SetMaxConcurrentGameSessionActivations()

void Aws::GameLift::Model::RuntimeConfiguration::SetMaxConcurrentGameSessionActivations ( int  value)
inline

Maximum number of game sessions with status ACTIVATING to allow on an instance simultaneously. This setting limits the amount of instance resources that can be used for new game activations at any one time.

Definition at line 144 of file RuntimeConfiguration.h.

◆ SetServerProcesses() [1/2]

void Aws::GameLift::Model::RuntimeConfiguration::SetServerProcesses ( const Aws::Vector< ServerProcess > &  value)
inline

Collection of server process configurations that describe which server processes to run on each instance in a fleet.

Definition at line 92 of file RuntimeConfiguration.h.

◆ SetServerProcesses() [2/2]

void Aws::GameLift::Model::RuntimeConfiguration::SetServerProcesses ( Aws::Vector< ServerProcess > &&  value)
inline

Collection of server process configurations that describe which server processes to run on each instance in a fleet.

Definition at line 98 of file RuntimeConfiguration.h.

◆ WithGameSessionActivationTimeoutSeconds()

RuntimeConfiguration& Aws::GameLift::Model::RuntimeConfiguration::WithGameSessionActivationTimeoutSeconds ( int  value)
inline

Maximum amount of time (in seconds) that a game session can remain in status ACTIVATING. If the game session is not active before the timeout, activation is terminated and the game session status is changed to TERMINATED.

Definition at line 184 of file RuntimeConfiguration.h.

◆ WithMaxConcurrentGameSessionActivations()

RuntimeConfiguration& Aws::GameLift::Model::RuntimeConfiguration::WithMaxConcurrentGameSessionActivations ( int  value)
inline

Maximum number of game sessions with status ACTIVATING to allow on an instance simultaneously. This setting limits the amount of instance resources that can be used for new game activations at any one time.

Definition at line 151 of file RuntimeConfiguration.h.

◆ WithServerProcesses() [1/2]

RuntimeConfiguration& Aws::GameLift::Model::RuntimeConfiguration::WithServerProcesses ( const Aws::Vector< ServerProcess > &  value)
inline

Collection of server process configurations that describe which server processes to run on each instance in a fleet.

Definition at line 104 of file RuntimeConfiguration.h.

◆ WithServerProcesses() [2/2]

RuntimeConfiguration& Aws::GameLift::Model::RuntimeConfiguration::WithServerProcesses ( Aws::Vector< ServerProcess > &&  value)
inline

Collection of server process configurations that describe which server processes to run on each instance in a fleet.

Definition at line 110 of file RuntimeConfiguration.h.


The documentation for this class was generated from the following file: