/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace GameLift { namespace Model { /** */ class StopGameSessionPlacementRequest : public GameLiftRequest { public: AWS_GAMELIFT_API StopGameSessionPlacementRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "StopGameSessionPlacement"; } AWS_GAMELIFT_API Aws::String SerializePayload() const override; AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A unique identifier for a game session placement to stop.

*/ inline const Aws::String& GetPlacementId() const{ return m_placementId; } /** *

A unique identifier for a game session placement to stop.

*/ inline bool PlacementIdHasBeenSet() const { return m_placementIdHasBeenSet; } /** *

A unique identifier for a game session placement to stop.

*/ inline void SetPlacementId(const Aws::String& value) { m_placementIdHasBeenSet = true; m_placementId = value; } /** *

A unique identifier for a game session placement to stop.

*/ inline void SetPlacementId(Aws::String&& value) { m_placementIdHasBeenSet = true; m_placementId = std::move(value); } /** *

A unique identifier for a game session placement to stop.

*/ inline void SetPlacementId(const char* value) { m_placementIdHasBeenSet = true; m_placementId.assign(value); } /** *

A unique identifier for a game session placement to stop.

*/ inline StopGameSessionPlacementRequest& WithPlacementId(const Aws::String& value) { SetPlacementId(value); return *this;} /** *

A unique identifier for a game session placement to stop.

*/ inline StopGameSessionPlacementRequest& WithPlacementId(Aws::String&& value) { SetPlacementId(std::move(value)); return *this;} /** *

A unique identifier for a game session placement to stop.

*/ inline StopGameSessionPlacementRequest& WithPlacementId(const char* value) { SetPlacementId(value); return *this;} private: Aws::String m_placementId; bool m_placementIdHasBeenSet = false; }; } // namespace Model } // namespace GameLift } // namespace Aws