/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace GameLift { namespace Model { /** */ class DescribeMatchmakingConfigurationsRequest : public GameLiftRequest { public: AWS_GAMELIFT_API DescribeMatchmakingConfigurationsRequest(); // 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 "DescribeMatchmakingConfigurations"; } AWS_GAMELIFT_API Aws::String SerializePayload() const override; AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A unique identifier for the matchmaking configuration(s) to retrieve. You can * use either the configuration name or ARN value. To request all existing * configurations, leave this parameter empty.

*/ inline const Aws::Vector& GetNames() const{ return m_names; } /** *

A unique identifier for the matchmaking configuration(s) to retrieve. You can * use either the configuration name or ARN value. To request all existing * configurations, leave this parameter empty.

*/ inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; } /** *

A unique identifier for the matchmaking configuration(s) to retrieve. You can * use either the configuration name or ARN value. To request all existing * configurations, leave this parameter empty.

*/ inline void SetNames(const Aws::Vector& value) { m_namesHasBeenSet = true; m_names = value; } /** *

A unique identifier for the matchmaking configuration(s) to retrieve. You can * use either the configuration name or ARN value. To request all existing * configurations, leave this parameter empty.

*/ inline void SetNames(Aws::Vector&& value) { m_namesHasBeenSet = true; m_names = std::move(value); } /** *

A unique identifier for the matchmaking configuration(s) to retrieve. You can * use either the configuration name or ARN value. To request all existing * configurations, leave this parameter empty.

*/ inline DescribeMatchmakingConfigurationsRequest& WithNames(const Aws::Vector& value) { SetNames(value); return *this;} /** *

A unique identifier for the matchmaking configuration(s) to retrieve. You can * use either the configuration name or ARN value. To request all existing * configurations, leave this parameter empty.

*/ inline DescribeMatchmakingConfigurationsRequest& WithNames(Aws::Vector&& value) { SetNames(std::move(value)); return *this;} /** *

A unique identifier for the matchmaking configuration(s) to retrieve. You can * use either the configuration name or ARN value. To request all existing * configurations, leave this parameter empty.

*/ inline DescribeMatchmakingConfigurationsRequest& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; } /** *

A unique identifier for the matchmaking configuration(s) to retrieve. You can * use either the configuration name or ARN value. To request all existing * configurations, leave this parameter empty.

*/ inline DescribeMatchmakingConfigurationsRequest& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; } /** *

A unique identifier for the matchmaking configuration(s) to retrieve. You can * use either the configuration name or ARN value. To request all existing * configurations, leave this parameter empty.

*/ inline DescribeMatchmakingConfigurationsRequest& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; } /** *

A unique identifier for the matchmaking rule set. You can use either the rule * set name or ARN value. Use this parameter to retrieve all matchmaking * configurations that use this rule set.

*/ inline const Aws::String& GetRuleSetName() const{ return m_ruleSetName; } /** *

A unique identifier for the matchmaking rule set. You can use either the rule * set name or ARN value. Use this parameter to retrieve all matchmaking * configurations that use this rule set.

*/ inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; } /** *

A unique identifier for the matchmaking rule set. You can use either the rule * set name or ARN value. Use this parameter to retrieve all matchmaking * configurations that use this rule set.

*/ inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; } /** *

A unique identifier for the matchmaking rule set. You can use either the rule * set name or ARN value. Use this parameter to retrieve all matchmaking * configurations that use this rule set.

*/ inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); } /** *

A unique identifier for the matchmaking rule set. You can use either the rule * set name or ARN value. Use this parameter to retrieve all matchmaking * configurations that use this rule set.

*/ inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); } /** *

A unique identifier for the matchmaking rule set. You can use either the rule * set name or ARN value. Use this parameter to retrieve all matchmaking * configurations that use this rule set.

*/ inline DescribeMatchmakingConfigurationsRequest& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;} /** *

A unique identifier for the matchmaking rule set. You can use either the rule * set name or ARN value. Use this parameter to retrieve all matchmaking * configurations that use this rule set.

*/ inline DescribeMatchmakingConfigurationsRequest& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;} /** *

A unique identifier for the matchmaking rule set. You can use either the rule * set name or ARN value. Use this parameter to retrieve all matchmaking * configurations that use this rule set.

*/ inline DescribeMatchmakingConfigurationsRequest& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;} /** *

The maximum number of results to return. Use this parameter with * NextToken to get results as a set of sequential pages. This * parameter is limited to 10.

*/ inline int GetLimit() const{ return m_limit; } /** *

The maximum number of results to return. Use this parameter with * NextToken to get results as a set of sequential pages. This * parameter is limited to 10.

*/ inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } /** *

The maximum number of results to return. Use this parameter with * NextToken to get results as a set of sequential pages. This * parameter is limited to 10.

*/ inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } /** *

The maximum number of results to return. Use this parameter with * NextToken to get results as a set of sequential pages. This * parameter is limited to 10.

*/ inline DescribeMatchmakingConfigurationsRequest& WithLimit(int value) { SetLimit(value); return *this;} /** *

A token that indicates the start of the next sequential page of results. Use * the token that is returned with a previous call to this operation. To start at * the beginning of the result set, do not specify a value.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A token that indicates the start of the next sequential page of results. Use * the token that is returned with a previous call to this operation. To start at * the beginning of the result set, do not specify a value.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

A token that indicates the start of the next sequential page of results. Use * the token that is returned with a previous call to this operation. To start at * the beginning of the result set, do not specify a value.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

A token that indicates the start of the next sequential page of results. Use * the token that is returned with a previous call to this operation. To start at * the beginning of the result set, do not specify a value.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

A token that indicates the start of the next sequential page of results. Use * the token that is returned with a previous call to this operation. To start at * the beginning of the result set, do not specify a value.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

A token that indicates the start of the next sequential page of results. Use * the token that is returned with a previous call to this operation. To start at * the beginning of the result set, do not specify a value.

*/ inline DescribeMatchmakingConfigurationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A token that indicates the start of the next sequential page of results. Use * the token that is returned with a previous call to this operation. To start at * the beginning of the result set, do not specify a value.

*/ inline DescribeMatchmakingConfigurationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A token that indicates the start of the next sequential page of results. Use * the token that is returned with a previous call to this operation. To start at * the beginning of the result set, do not specify a value.

*/ inline DescribeMatchmakingConfigurationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_names; bool m_namesHasBeenSet = false; Aws::String m_ruleSetName; bool m_ruleSetNameHasBeenSet = false; int m_limit; bool m_limitHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace GameLift } // namespace Aws