AWSGameLiftCreateSessionOnQueueRequest.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <Multiplayer/Session/SessionRequests.h>
  10. namespace AWSGameLift
  11. {
  12. //! AWSGameLiftCreateSessionOnQueueRequest
  13. //! GameLift create session on queue request which corresponds to Amazon GameLift
  14. //! StartGameSessionPlacement
  15. struct AWSGameLiftCreateSessionOnQueueRequest
  16. : public Multiplayer::CreateSessionRequest
  17. {
  18. public:
  19. AZ_RTTI(AWSGameLiftCreateSessionOnQueueRequest, "{2B99E594-CE81-4EB0-8888-74EF4242B59F}", Multiplayer::CreateSessionRequest);
  20. static void Reflect(AZ::ReflectContext* context);
  21. AWSGameLiftCreateSessionOnQueueRequest() = default;
  22. virtual ~AWSGameLiftCreateSessionOnQueueRequest() = default;
  23. //! Name of the queue to use to place the new game session. You can use either the queue name or ARN value.
  24. AZStd::string m_queueName;
  25. //! A unique identifier to assign to the new game session placement. This value is developer-defined.
  26. //! The value must be unique across all Regions and cannot be reused unless you are resubmitting a canceled or timed-out placement request.
  27. AZStd::string m_placementId;
  28. };
  29. } // namespace AWSGameLift