/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GameLift { namespace Model { /** *

A fleet or alias designated in a game session queue. Queues fulfill requests * for new game sessions by placing a new game session on any of the queue's * destinations.

See Also:

AWS * API Reference

*/ class GameSessionQueueDestination { public: AWS_GAMELIFT_API GameSessionQueueDestination(); AWS_GAMELIFT_API GameSessionQueueDestination(Aws::Utils::Json::JsonView jsonValue); AWS_GAMELIFT_API GameSessionQueueDestination& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) that is assigned to fleet or fleet alias. * ARNs, which include a fleet ID or alias ID and a Region name, provide a unique * identifier across all Regions.

*/ inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; } /** *

The Amazon Resource Name (ARN) that is assigned to fleet or fleet alias. * ARNs, which include a fleet ID or alias ID and a Region name, provide a unique * identifier across all Regions.

*/ inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) that is assigned to fleet or fleet alias. * ARNs, which include a fleet ID or alias ID and a Region name, provide a unique * identifier across all Regions.

*/ inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; } /** *

The Amazon Resource Name (ARN) that is assigned to fleet or fleet alias. * ARNs, which include a fleet ID or alias ID and a Region name, provide a unique * identifier across all Regions.

*/ inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::move(value); } /** *

The Amazon Resource Name (ARN) that is assigned to fleet or fleet alias. * ARNs, which include a fleet ID or alias ID and a Region name, provide a unique * identifier across all Regions.

*/ inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); } /** *

The Amazon Resource Name (ARN) that is assigned to fleet or fleet alias. * ARNs, which include a fleet ID or alias ID and a Region name, provide a unique * identifier across all Regions.

*/ inline GameSessionQueueDestination& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) that is assigned to fleet or fleet alias. * ARNs, which include a fleet ID or alias ID and a Region name, provide a unique * identifier across all Regions.

*/ inline GameSessionQueueDestination& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) that is assigned to fleet or fleet alias. * ARNs, which include a fleet ID or alias ID and a Region name, provide a unique * identifier across all Regions.

*/ inline GameSessionQueueDestination& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;} private: Aws::String m_destinationArn; bool m_destinationArnHasBeenSet = false; }; } // namespace Model } // namespace GameLift } // namespace Aws