/** * 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 DAX { namespace Model { /** */ class DescribeParameterGroupsRequest : public DAXRequest { public: AWS_DAX_API DescribeParameterGroupsRequest(); // 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 "DescribeParameterGroups"; } AWS_DAX_API Aws::String SerializePayload() const override; AWS_DAX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The names of the parameter groups.

*/ inline const Aws::Vector& GetParameterGroupNames() const{ return m_parameterGroupNames; } /** *

The names of the parameter groups.

*/ inline bool ParameterGroupNamesHasBeenSet() const { return m_parameterGroupNamesHasBeenSet; } /** *

The names of the parameter groups.

*/ inline void SetParameterGroupNames(const Aws::Vector& value) { m_parameterGroupNamesHasBeenSet = true; m_parameterGroupNames = value; } /** *

The names of the parameter groups.

*/ inline void SetParameterGroupNames(Aws::Vector&& value) { m_parameterGroupNamesHasBeenSet = true; m_parameterGroupNames = std::move(value); } /** *

The names of the parameter groups.

*/ inline DescribeParameterGroupsRequest& WithParameterGroupNames(const Aws::Vector& value) { SetParameterGroupNames(value); return *this;} /** *

The names of the parameter groups.

*/ inline DescribeParameterGroupsRequest& WithParameterGroupNames(Aws::Vector&& value) { SetParameterGroupNames(std::move(value)); return *this;} /** *

The names of the parameter groups.

*/ inline DescribeParameterGroupsRequest& AddParameterGroupNames(const Aws::String& value) { m_parameterGroupNamesHasBeenSet = true; m_parameterGroupNames.push_back(value); return *this; } /** *

The names of the parameter groups.

*/ inline DescribeParameterGroupsRequest& AddParameterGroupNames(Aws::String&& value) { m_parameterGroupNamesHasBeenSet = true; m_parameterGroupNames.push_back(std::move(value)); return *this; } /** *

The names of the parameter groups.

*/ inline DescribeParameterGroupsRequest& AddParameterGroupNames(const char* value) { m_parameterGroupNamesHasBeenSet = true; m_parameterGroupNames.push_back(value); return *this; } /** *

The maximum number of results to include in the response. If more results * exist than the specified MaxResults value, a token is included in * the response so that the remaining results can be retrieved.

The value * for MaxResults must be between 20 and 100.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of results to include in the response. If more results * exist than the specified MaxResults value, a token is included in * the response so that the remaining results can be retrieved.

The value * for MaxResults must be between 20 and 100.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of results to include in the response. If more results * exist than the specified MaxResults value, a token is included in * the response so that the remaining results can be retrieved.

The value * for MaxResults must be between 20 and 100.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of results to include in the response. If more results * exist than the specified MaxResults value, a token is included in * the response so that the remaining results can be retrieved.

The value * for MaxResults must be between 20 and 100.

*/ inline DescribeParameterGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

An optional token returned from a prior request. Use this token for * pagination of results from this action. If this parameter is specified, the * response includes only results beyond the token, up to the value specified by * MaxResults.

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

An optional token returned from a prior request. Use this token for * pagination of results from this action. If this parameter is specified, the * response includes only results beyond the token, up to the value specified by * MaxResults.

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

An optional token returned from a prior request. Use this token for * pagination of results from this action. If this parameter is specified, the * response includes only results beyond the token, up to the value specified by * MaxResults.

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

An optional token returned from a prior request. Use this token for * pagination of results from this action. If this parameter is specified, the * response includes only results beyond the token, up to the value specified by * MaxResults.

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

An optional token returned from a prior request. Use this token for * pagination of results from this action. If this parameter is specified, the * response includes only results beyond the token, up to the value specified by * MaxResults.

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

An optional token returned from a prior request. Use this token for * pagination of results from this action. If this parameter is specified, the * response includes only results beyond the token, up to the value specified by * MaxResults.

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

An optional token returned from a prior request. Use this token for * pagination of results from this action. If this parameter is specified, the * response includes only results beyond the token, up to the value specified by * MaxResults.

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

An optional token returned from a prior request. Use this token for * pagination of results from this action. If this parameter is specified, the * response includes only results beyond the token, up to the value specified by * MaxResults.

*/ inline DescribeParameterGroupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_parameterGroupNames; bool m_parameterGroupNamesHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace DAX } // namespace Aws