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

Object that describes the newly created game session placement. This object * includes all the information provided in the request, as well as start/end time * stamps and placement status.

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

Object that describes the newly created game session placement. This object * includes all the information provided in the request, as well as start/end time * stamps and placement status.

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

Object that describes the newly created game session placement. This object * includes all the information provided in the request, as well as start/end time * stamps and placement status.

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

Object that describes the newly created game session placement. This object * includes all the information provided in the request, as well as start/end time * stamps and placement status.

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

Object that describes the newly created game session placement. This object * includes all the information provided in the request, as well as start/end time * stamps and placement status.

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