/** * 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/model/MatchmakingConfiguration.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { template<typename RESULT_TYPE> class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace GameLift { namespace Model { class UpdateMatchmakingConfigurationResult { public: AWS_GAMELIFT_API UpdateMatchmakingConfigurationResult(); AWS_GAMELIFT_API UpdateMatchmakingConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); AWS_GAMELIFT_API UpdateMatchmakingConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); /** * <p>The updated matchmaking configuration.</p> */ inline const MatchmakingConfiguration& GetConfiguration() const{ return m_configuration; } /** * <p>The updated matchmaking configuration.</p> */ inline void SetConfiguration(const MatchmakingConfiguration& value) { m_configuration = value; } /** * <p>The updated matchmaking configuration.</p> */ inline void SetConfiguration(MatchmakingConfiguration&& value) { m_configuration = std::move(value); } /** * <p>The updated matchmaking configuration.</p> */ inline UpdateMatchmakingConfigurationResult& WithConfiguration(const MatchmakingConfiguration& value) { SetConfiguration(value); return *this;} /** * <p>The updated matchmaking configuration.</p> */ inline UpdateMatchmakingConfigurationResult& WithConfiguration(MatchmakingConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateMatchmakingConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateMatchmakingConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateMatchmakingConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: MatchmakingConfiguration m_configuration; Aws::String m_requestId; }; } // namespace Model } // namespace GameLift } // namespace Aws