This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-dax/include/aws/dax/model/DescribeDefaultParametersRequest.h

146 lines
6.1 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/dax/DAX_EXPORTS.h>
#include <aws/dax/DAXRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace DAX
{
namespace Model
{
/**
*/
class AWS_DAX_API DescribeDefaultParametersRequest : public DAXRequest
{
public:
DescribeDefaultParametersRequest();
// 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 "DescribeDefaultParameters"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The maximum number of results to include in the response. If more results
* exist than the specified <code>MaxResults</code> value, a token is included in
* the response so that the remaining results can be retrieved.</p> <p>The value
* for <code>MaxResults</code> must be between 20 and 100.</p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* <p>The maximum number of results to include in the response. If more results
* exist than the specified <code>MaxResults</code> value, a token is included in
* the response so that the remaining results can be retrieved.</p> <p>The value
* for <code>MaxResults</code> must be between 20 and 100.</p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>The maximum number of results to include in the response. If more results
* exist than the specified <code>MaxResults</code> value, a token is included in
* the response so that the remaining results can be retrieved.</p> <p>The value
* for <code>MaxResults</code> must be between 20 and 100.</p>
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>The maximum number of results to include in the response. If more results
* exist than the specified <code>MaxResults</code> value, a token is included in
* the response so that the remaining results can be retrieved.</p> <p>The value
* for <code>MaxResults</code> must be between 20 and 100.</p>
*/
inline DescribeDefaultParametersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
/**
* <p>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
* <code>MaxResults</code>.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>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
* <code>MaxResults</code>.</p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>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
* <code>MaxResults</code>.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>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
* <code>MaxResults</code>.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>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
* <code>MaxResults</code>.</p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>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
* <code>MaxResults</code>.</p>
*/
inline DescribeDefaultParametersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>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
* <code>MaxResults</code>.</p>
*/
inline DescribeDefaultParametersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>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
* <code>MaxResults</code>.</p>
*/
inline DescribeDefaultParametersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
int m_maxResults;
bool m_maxResultsHasBeenSet;
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
};
} // namespace Model
} // namespace DAX
} // namespace Aws