/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace GameLift { namespace Model { /** *

Represents the input for a request action.

See Also:

AWS * API Reference

*/ class AWS_GAMELIFT_API ValidateMatchmakingRuleSetRequest : public GameLiftRequest { public: ValidateMatchmakingRuleSetRequest(); // 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 "ValidateMatchmakingRuleSet"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A collection of matchmaking rules to validate, formatted as a JSON * string.

*/ inline const Aws::String& GetRuleSetBody() const{ return m_ruleSetBody; } /** *

A collection of matchmaking rules to validate, formatted as a JSON * string.

*/ inline bool RuleSetBodyHasBeenSet() const { return m_ruleSetBodyHasBeenSet; } /** *

A collection of matchmaking rules to validate, formatted as a JSON * string.

*/ inline void SetRuleSetBody(const Aws::String& value) { m_ruleSetBodyHasBeenSet = true; m_ruleSetBody = value; } /** *

A collection of matchmaking rules to validate, formatted as a JSON * string.

*/ inline void SetRuleSetBody(Aws::String&& value) { m_ruleSetBodyHasBeenSet = true; m_ruleSetBody = std::move(value); } /** *

A collection of matchmaking rules to validate, formatted as a JSON * string.

*/ inline void SetRuleSetBody(const char* value) { m_ruleSetBodyHasBeenSet = true; m_ruleSetBody.assign(value); } /** *

A collection of matchmaking rules to validate, formatted as a JSON * string.

*/ inline ValidateMatchmakingRuleSetRequest& WithRuleSetBody(const Aws::String& value) { SetRuleSetBody(value); return *this;} /** *

A collection of matchmaking rules to validate, formatted as a JSON * string.

*/ inline ValidateMatchmakingRuleSetRequest& WithRuleSetBody(Aws::String&& value) { SetRuleSetBody(std::move(value)); return *this;} /** *

A collection of matchmaking rules to validate, formatted as a JSON * string.

*/ inline ValidateMatchmakingRuleSetRequest& WithRuleSetBody(const char* value) { SetRuleSetBody(value); return *this;} private: Aws::String m_ruleSetBody; bool m_ruleSetBodyHasBeenSet; }; } // namespace Model } // namespace GameLift } // namespace Aws