/** * 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 MemoryDB { namespace Model { /** */ class DescribeParameterGroupsRequest : public MemoryDBRequest { public: AWS_MEMORYDB_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_MEMORYDB_API Aws::String SerializePayload() const override; AWS_MEMORYDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of a specific parameter group to return details for.

*/ inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; } /** *

The name of a specific parameter group to return details for.

*/ inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; } /** *

The name of a specific parameter group to return details for.

*/ inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; } /** *

The name of a specific parameter group to return details for.

*/ inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::move(value); } /** *

The name of a specific parameter group to return details for.

*/ inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); } /** *

The name of a specific parameter group to return details for.

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

The name of a specific parameter group to return details for.

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

The name of a specific parameter group to return details for.

*/ inline DescribeParameterGroupsRequest& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;} /** *

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

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

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

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

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

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

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

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

An optional argument to pass in case the total number of records exceeds the * value of MaxResults. If nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. Make the call * again using the returned token to retrieve the next page. Keep all other * arguments unchanged.

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

An optional argument to pass in case the total number of records exceeds the * value of MaxResults. If nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. Make the call * again using the returned token to retrieve the next page. Keep all other * arguments unchanged.

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

An optional argument to pass in case the total number of records exceeds the * value of MaxResults. If nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. Make the call * again using the returned token to retrieve the next page. Keep all other * arguments unchanged.

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

An optional argument to pass in case the total number of records exceeds the * value of MaxResults. If nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. Make the call * again using the returned token to retrieve the next page. Keep all other * arguments unchanged.

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

An optional argument to pass in case the total number of records exceeds the * value of MaxResults. If nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. Make the call * again using the returned token to retrieve the next page. Keep all other * arguments unchanged.

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

An optional argument to pass in case the total number of records exceeds the * value of MaxResults. If nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. Make the call * again using the returned token to retrieve the next page. Keep all other * arguments unchanged.

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

An optional argument to pass in case the total number of records exceeds the * value of MaxResults. If nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. Make the call * again using the returned token to retrieve the next page. Keep all other * arguments unchanged.

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

An optional argument to pass in case the total number of records exceeds the * value of MaxResults. If nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. Make the call * again using the returned token to retrieve the next page. Keep all other * arguments unchanged.

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