/** * 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 StopGameSessionPlacementResult { public: StopGameSessionPlacementResult(); StopGameSessionPlacementResult(const Aws::AmazonWebServiceResult& result); StopGameSessionPlacementResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Object that describes the canceled game session placement, with * CANCELLED status and an end time stamp.

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

Object that describes the canceled game session placement, with * CANCELLED status and an end time stamp.

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

Object that describes the canceled game session placement, with * CANCELLED status and an end time stamp.

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

Object that describes the canceled game session placement, with * CANCELLED status and an end time stamp.

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

Object that describes the canceled game session placement, with * CANCELLED status and an end time stamp.

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