This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-gamelift/include/aws/gamelift/model/StopMatchmakingRequest.h

89 lines
2.8 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/StopMatchmakingInput">AWS
* API Reference</a></p>
*/
class AWS_GAMELIFT_API StopMatchmakingRequest : public GameLiftRequest
{
public:
StopMatchmakingRequest();
// 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 "StopMatchmaking"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>A unique identifier for a matchmaking ticket.</p>
*/
inline const Aws::String& GetTicketId() const{ return m_ticketId; }
/**
* <p>A unique identifier for a matchmaking ticket.</p>
*/
inline bool TicketIdHasBeenSet() const { return m_ticketIdHasBeenSet; }
/**
* <p>A unique identifier for a matchmaking ticket.</p>
*/
inline void SetTicketId(const Aws::String& value) { m_ticketIdHasBeenSet = true; m_ticketId = value; }
/**
* <p>A unique identifier for a matchmaking ticket.</p>
*/
inline void SetTicketId(Aws::String&& value) { m_ticketIdHasBeenSet = true; m_ticketId = std::move(value); }
/**
* <p>A unique identifier for a matchmaking ticket.</p>
*/
inline void SetTicketId(const char* value) { m_ticketIdHasBeenSet = true; m_ticketId.assign(value); }
/**
* <p>A unique identifier for a matchmaking ticket.</p>
*/
inline StopMatchmakingRequest& WithTicketId(const Aws::String& value) { SetTicketId(value); return *this;}
/**
* <p>A unique identifier for a matchmaking ticket.</p>
*/
inline StopMatchmakingRequest& WithTicketId(Aws::String&& value) { SetTicketId(std::move(value)); return *this;}
/**
* <p>A unique identifier for a matchmaking ticket.</p>
*/
inline StopMatchmakingRequest& WithTicketId(const char* value) { SetTicketId(value); return *this;}
private:
Aws::String m_ticketId;
bool m_ticketIdHasBeenSet;
};
} // namespace Model
} // namespace GameLift
} // namespace Aws