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

Represents the returned data in response to a request action.

See * Also:

AWS * API Reference

*/ class AWS_GAMELIFT_API DescribeGameSessionPlacementResult { public: DescribeGameSessionPlacementResult(); DescribeGameSessionPlacementResult(const Aws::AmazonWebServiceResult& result); DescribeGameSessionPlacementResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Object that describes the requested game session placement.

*/ inline const GameSessionPlacement& GetGameSessionPlacement() const{ return m_gameSessionPlacement; } /** *

Object that describes the requested game session placement.

*/ inline void SetGameSessionPlacement(const GameSessionPlacement& value) { m_gameSessionPlacement = value; } /** *

Object that describes the requested game session placement.

*/ inline void SetGameSessionPlacement(GameSessionPlacement&& value) { m_gameSessionPlacement = std::move(value); } /** *

Object that describes the requested game session placement.

*/ inline DescribeGameSessionPlacementResult& WithGameSessionPlacement(const GameSessionPlacement& value) { SetGameSessionPlacement(value); return *this;} /** *

Object that describes the requested game session placement.

*/ inline DescribeGameSessionPlacementResult& WithGameSessionPlacement(GameSessionPlacement&& value) { SetGameSessionPlacement(std::move(value)); return *this;} private: GameSessionPlacement m_gameSessionPlacement; }; } // namespace Model } // namespace GameLift } // namespace Aws