/** * 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 ConfigService { namespace Model { /** *

See Also:

AWS * API Reference

*/ class AWS_CONFIGSERVICE_API DescribeConfigRulesRequest : public ConfigServiceRequest { public: DescribeConfigRulesRequest(); // 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 "DescribeConfigRules"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The names of the AWS Config rules for which you want details. If you do not * specify any names, AWS Config returns details for all your rules.

*/ inline const Aws::Vector& GetConfigRuleNames() const{ return m_configRuleNames; } /** *

The names of the AWS Config rules for which you want details. If you do not * specify any names, AWS Config returns details for all your rules.

*/ inline bool ConfigRuleNamesHasBeenSet() const { return m_configRuleNamesHasBeenSet; } /** *

The names of the AWS Config rules for which you want details. If you do not * specify any names, AWS Config returns details for all your rules.

*/ inline void SetConfigRuleNames(const Aws::Vector& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames = value; } /** *

The names of the AWS Config rules for which you want details. If you do not * specify any names, AWS Config returns details for all your rules.

*/ inline void SetConfigRuleNames(Aws::Vector&& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames = std::move(value); } /** *

The names of the AWS Config rules for which you want details. If you do not * specify any names, AWS Config returns details for all your rules.

*/ inline DescribeConfigRulesRequest& WithConfigRuleNames(const Aws::Vector& value) { SetConfigRuleNames(value); return *this;} /** *

The names of the AWS Config rules for which you want details. If you do not * specify any names, AWS Config returns details for all your rules.

*/ inline DescribeConfigRulesRequest& WithConfigRuleNames(Aws::Vector&& value) { SetConfigRuleNames(std::move(value)); return *this;} /** *

The names of the AWS Config rules for which you want details. If you do not * specify any names, AWS Config returns details for all your rules.

*/ inline DescribeConfigRulesRequest& AddConfigRuleNames(const Aws::String& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames.push_back(value); return *this; } /** *

The names of the AWS Config rules for which you want details. If you do not * specify any names, AWS Config returns details for all your rules.

*/ inline DescribeConfigRulesRequest& AddConfigRuleNames(Aws::String&& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames.push_back(std::move(value)); return *this; } /** *

The names of the AWS Config rules for which you want details. If you do not * specify any names, AWS Config returns details for all your rules.

*/ inline DescribeConfigRulesRequest& AddConfigRuleNames(const char* value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames.push_back(value); return *this; } /** *

The nextToken string returned on a previous page that you use to * get the next page of results in a paginated response.

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

The nextToken string returned on a previous page that you use to * get the next page of results in a paginated response.

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

The nextToken string returned on a previous page that you use to * get the next page of results in a paginated response.

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

The nextToken string returned on a previous page that you use to * get the next page of results in a paginated response.

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

The nextToken string returned on a previous page that you use to * get the next page of results in a paginated response.

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

The nextToken string returned on a previous page that you use to * get the next page of results in a paginated response.

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

The nextToken string returned on a previous page that you use to * get the next page of results in a paginated response.

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

The nextToken string returned on a previous page that you use to * get the next page of results in a paginated response.

*/ inline DescribeConfigRulesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_configRuleNames; bool m_configRuleNamesHasBeenSet; Aws::String m_nextToken; bool m_nextTokenHasBeenSet; }; } // namespace Model } // namespace ConfigService } // namespace Aws