/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace GameLift { namespace Model { /** *

Represents the returned data in response to a request action.

See * Also:

AWS * API Reference

*/ class AWS_GAMELIFT_API CreateMatchmakingRuleSetResult { public: CreateMatchmakingRuleSetResult(); CreateMatchmakingRuleSetResult(const Aws::AmazonWebServiceResult& result); CreateMatchmakingRuleSetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The newly created matchmaking rule set.

*/ inline const MatchmakingRuleSet& GetRuleSet() const{ return m_ruleSet; } /** *

The newly created matchmaking rule set.

*/ inline void SetRuleSet(const MatchmakingRuleSet& value) { m_ruleSet = value; } /** *

The newly created matchmaking rule set.

*/ inline void SetRuleSet(MatchmakingRuleSet&& value) { m_ruleSet = std::move(value); } /** *

The newly created matchmaking rule set.

*/ inline CreateMatchmakingRuleSetResult& WithRuleSet(const MatchmakingRuleSet& value) { SetRuleSet(value); return *this;} /** *

The newly created matchmaking rule set.

*/ inline CreateMatchmakingRuleSetResult& WithRuleSet(MatchmakingRuleSet&& value) { SetRuleSet(std::move(value)); return *this;} private: MatchmakingRuleSet m_ruleSet; }; } // namespace Model } // namespace GameLift } // namespace Aws