/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Neptune { namespace Model { /** */ class DescribeDBEngineVersionsRequest : public NeptuneRequest { public: AWS_NEPTUNE_API DescribeDBEngineVersionsRequest(); // 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 "DescribeDBEngineVersions"; } AWS_NEPTUNE_API Aws::String SerializePayload() const override; protected: AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The database engine to return.

*/ inline const Aws::String& GetEngine() const{ return m_engine; } /** *

The database engine to return.

*/ inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; } /** *

The database engine to return.

*/ inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; } /** *

The database engine to return.

*/ inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); } /** *

The database engine to return.

*/ inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); } /** *

The database engine to return.

*/ inline DescribeDBEngineVersionsRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;} /** *

The database engine to return.

*/ inline DescribeDBEngineVersionsRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;} /** *

The database engine to return.

*/ inline DescribeDBEngineVersionsRequest& WithEngine(const char* value) { SetEngine(value); return *this;} /** *

The database engine version to return.

Example: 5.1.49 *

*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *

The database engine version to return.

Example: 5.1.49 *

*/ inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } /** *

The database engine version to return.

Example: 5.1.49 *

*/ inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } /** *

The database engine version to return.

Example: 5.1.49 *

*/ inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } /** *

The database engine version to return.

Example: 5.1.49 *

*/ inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } /** *

The database engine version to return.

Example: 5.1.49 *

*/ inline DescribeDBEngineVersionsRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} /** *

The database engine version to return.

Example: 5.1.49 *

*/ inline DescribeDBEngineVersionsRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} /** *

The database engine version to return.

Example: 5.1.49 *

*/ inline DescribeDBEngineVersionsRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *

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

*

Constraints:

  • If supplied, must match an existing * DBParameterGroupFamily.

*/ inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; } /** *

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

*

Constraints:

  • If supplied, must match an existing * DBParameterGroupFamily.

*/ inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; } /** *

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

*

Constraints:

  • If supplied, must match an existing * DBParameterGroupFamily.

*/ inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; } /** *

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

*

Constraints:

  • If supplied, must match an existing * DBParameterGroupFamily.

*/ inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::move(value); } /** *

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

*

Constraints:

  • If supplied, must match an existing * DBParameterGroupFamily.

*/ inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); } /** *

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

*

Constraints:

  • If supplied, must match an existing * DBParameterGroupFamily.

*/ inline DescribeDBEngineVersionsRequest& WithDBParameterGroupFamily(const Aws::String& value) { SetDBParameterGroupFamily(value); return *this;} /** *

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

*

Constraints:

  • If supplied, must match an existing * DBParameterGroupFamily.

*/ inline DescribeDBEngineVersionsRequest& WithDBParameterGroupFamily(Aws::String&& value) { SetDBParameterGroupFamily(std::move(value)); return *this;} /** *

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

*

Constraints:

  • If supplied, must match an existing * DBParameterGroupFamily.

*/ inline DescribeDBEngineVersionsRequest& WithDBParameterGroupFamily(const char* value) { SetDBParameterGroupFamily(value); return *this;} /** *

Not currently supported.

*/ inline const Aws::Vector& GetFilters() const{ return m_filters; } /** *

Not currently supported.

*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

Not currently supported.

*/ inline void SetFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

Not currently supported.

*/ inline void SetFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

Not currently supported.

*/ inline DescribeDBEngineVersionsRequest& WithFilters(const Aws::Vector& value) { SetFilters(value); return *this;} /** *

Not currently supported.

*/ inline DescribeDBEngineVersionsRequest& WithFilters(Aws::Vector&& value) { SetFilters(std::move(value)); return *this;} /** *

Not currently supported.

*/ inline DescribeDBEngineVersionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } /** *

Not currently supported.

*/ inline DescribeDBEngineVersionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } /** *

The maximum number of records to include in the response. If more than the * MaxRecords value is available, a pagination token called a marker * is included in the response so that the following results can be retrieved.

*

Default: 100

Constraints: Minimum 20, maximum 100.

*/ inline int GetMaxRecords() const{ return m_maxRecords; } /** *

The maximum number of records to include in the response. If more than the * MaxRecords value is available, a pagination token called a marker * is included in the response so that the following results can be retrieved.

*

Default: 100

Constraints: Minimum 20, maximum 100.

*/ inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; } /** *

The maximum number of records to include in the response. If more than the * MaxRecords value is available, a pagination token called a marker * is included in the response so that the following results can be retrieved.

*

Default: 100

Constraints: Minimum 20, maximum 100.

*/ inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; } /** *

The maximum number of records to include in the response. If more than the * MaxRecords value is available, a pagination token called a marker * is included in the response so that the following results can be retrieved.

*

Default: 100

Constraints: Minimum 20, maximum 100.

*/ inline DescribeDBEngineVersionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;} /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the marker, up * to the value specified by MaxRecords.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the marker, up * to the value specified by MaxRecords.

*/ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the marker, up * to the value specified by MaxRecords.

*/ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the marker, up * to the value specified by MaxRecords.

*/ inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the marker, up * to the value specified by MaxRecords.

*/ inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the marker, up * to the value specified by MaxRecords.

*/ inline DescribeDBEngineVersionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the marker, up * to the value specified by MaxRecords.

*/ inline DescribeDBEngineVersionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the marker, up * to the value specified by MaxRecords.

*/ inline DescribeDBEngineVersionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

Indicates that only the default version of the specified engine or engine and * major version combination is returned.

*/ inline bool GetDefaultOnly() const{ return m_defaultOnly; } /** *

Indicates that only the default version of the specified engine or engine and * major version combination is returned.

*/ inline bool DefaultOnlyHasBeenSet() const { return m_defaultOnlyHasBeenSet; } /** *

Indicates that only the default version of the specified engine or engine and * major version combination is returned.

*/ inline void SetDefaultOnly(bool value) { m_defaultOnlyHasBeenSet = true; m_defaultOnly = value; } /** *

Indicates that only the default version of the specified engine or engine and * major version combination is returned.

*/ inline DescribeDBEngineVersionsRequest& WithDefaultOnly(bool value) { SetDefaultOnly(value); return *this;} /** *

If this parameter is specified and the requested engine supports the * CharacterSetName parameter for CreateDBInstance, the * response includes a list of supported character sets for each engine * version.

*/ inline bool GetListSupportedCharacterSets() const{ return m_listSupportedCharacterSets; } /** *

If this parameter is specified and the requested engine supports the * CharacterSetName parameter for CreateDBInstance, the * response includes a list of supported character sets for each engine * version.

*/ inline bool ListSupportedCharacterSetsHasBeenSet() const { return m_listSupportedCharacterSetsHasBeenSet; } /** *

If this parameter is specified and the requested engine supports the * CharacterSetName parameter for CreateDBInstance, the * response includes a list of supported character sets for each engine * version.

*/ inline void SetListSupportedCharacterSets(bool value) { m_listSupportedCharacterSetsHasBeenSet = true; m_listSupportedCharacterSets = value; } /** *

If this parameter is specified and the requested engine supports the * CharacterSetName parameter for CreateDBInstance, the * response includes a list of supported character sets for each engine * version.

*/ inline DescribeDBEngineVersionsRequest& WithListSupportedCharacterSets(bool value) { SetListSupportedCharacterSets(value); return *this;} /** *

If this parameter is specified and the requested engine supports the * TimeZone parameter for CreateDBInstance, the response * includes a list of supported time zones for each engine version.

*/ inline bool GetListSupportedTimezones() const{ return m_listSupportedTimezones; } /** *

If this parameter is specified and the requested engine supports the * TimeZone parameter for CreateDBInstance, the response * includes a list of supported time zones for each engine version.

*/ inline bool ListSupportedTimezonesHasBeenSet() const { return m_listSupportedTimezonesHasBeenSet; } /** *

If this parameter is specified and the requested engine supports the * TimeZone parameter for CreateDBInstance, the response * includes a list of supported time zones for each engine version.

*/ inline void SetListSupportedTimezones(bool value) { m_listSupportedTimezonesHasBeenSet = true; m_listSupportedTimezones = value; } /** *

If this parameter is specified and the requested engine supports the * TimeZone parameter for CreateDBInstance, the response * includes a list of supported time zones for each engine version.

*/ inline DescribeDBEngineVersionsRequest& WithListSupportedTimezones(bool value) { SetListSupportedTimezones(value); return *this;} private: Aws::String m_engine; bool m_engineHasBeenSet = false; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; Aws::String m_dBParameterGroupFamily; bool m_dBParameterGroupFamilyHasBeenSet = false; Aws::Vector m_filters; bool m_filtersHasBeenSet = false; int m_maxRecords; bool m_maxRecordsHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; bool m_defaultOnly; bool m_defaultOnlyHasBeenSet = false; bool m_listSupportedCharacterSets; bool m_listSupportedCharacterSetsHasBeenSet = false; bool m_listSupportedTimezones; bool m_listSupportedTimezonesHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws