89 lines
3.0 KiB
C++
89 lines
3.0 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/gamelift/GameLift_EXPORTS.h>
|
|
#include <aws/gamelift/GameLiftRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace GameLift
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Represents the input for a request action.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessionPlacementInput">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_GAMELIFT_API DescribeGameSessionPlacementRequest : public GameLiftRequest
|
|
{
|
|
public:
|
|
DescribeGameSessionPlacementRequest();
|
|
|
|
// 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 "DescribeGameSessionPlacement"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>A unique identifier for a game session placement to retrieve.</p>
|
|
*/
|
|
inline const Aws::String& GetPlacementId() const{ return m_placementId; }
|
|
|
|
/**
|
|
* <p>A unique identifier for a game session placement to retrieve.</p>
|
|
*/
|
|
inline bool PlacementIdHasBeenSet() const { return m_placementIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A unique identifier for a game session placement to retrieve.</p>
|
|
*/
|
|
inline void SetPlacementId(const Aws::String& value) { m_placementIdHasBeenSet = true; m_placementId = value; }
|
|
|
|
/**
|
|
* <p>A unique identifier for a game session placement to retrieve.</p>
|
|
*/
|
|
inline void SetPlacementId(Aws::String&& value) { m_placementIdHasBeenSet = true; m_placementId = std::move(value); }
|
|
|
|
/**
|
|
* <p>A unique identifier for a game session placement to retrieve.</p>
|
|
*/
|
|
inline void SetPlacementId(const char* value) { m_placementIdHasBeenSet = true; m_placementId.assign(value); }
|
|
|
|
/**
|
|
* <p>A unique identifier for a game session placement to retrieve.</p>
|
|
*/
|
|
inline DescribeGameSessionPlacementRequest& WithPlacementId(const Aws::String& value) { SetPlacementId(value); return *this;}
|
|
|
|
/**
|
|
* <p>A unique identifier for a game session placement to retrieve.</p>
|
|
*/
|
|
inline DescribeGameSessionPlacementRequest& WithPlacementId(Aws::String&& value) { SetPlacementId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A unique identifier for a game session placement to retrieve.</p>
|
|
*/
|
|
inline DescribeGameSessionPlacementRequest& WithPlacementId(const char* value) { SetPlacementId(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_placementId;
|
|
bool m_placementIdHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace GameLift
|
|
} // namespace Aws
|