/** * 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 Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace Neptune { namespace Model { /** *

Contains the result of a successful invocation of the * DescribeEngineDefaultParameters action.

See Also:

AWS * API Reference

*/ class EngineDefaults { public: AWS_NEPTUNE_API EngineDefaults(); AWS_NEPTUNE_API EngineDefaults(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_NEPTUNE_API EngineDefaults& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

Specifies the name of the DB parameter group family that the engine default * parameters apply to.

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

Specifies the name of the DB parameter group family that the engine default * parameters apply to.

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

Specifies the name of the DB parameter group family that the engine default * parameters apply to.

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

Specifies the name of the DB parameter group family that the engine default * parameters apply to.

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

Specifies the name of the DB parameter group family that the engine default * parameters apply to.

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

Specifies the name of the DB parameter group family that the engine default * parameters apply to.

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

Specifies the name of the DB parameter group family that the engine default * parameters apply to.

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

Specifies the name of the DB parameter group family that the engine default * parameters apply to.

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

An optional pagination token provided by a previous EngineDefaults 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 EngineDefaults 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 EngineDefaults 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 EngineDefaults 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 EngineDefaults 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 EngineDefaults request. * If this parameter is specified, the response includes only records beyond the * marker, up to the value specified by MaxRecords .

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

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

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

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

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

Contains a list of engine default parameters.

*/ inline const Aws::Vector& GetParameters() const{ return m_parameters; } /** *

Contains a list of engine default parameters.

*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *

Contains a list of engine default parameters.

*/ inline void SetParameters(const Aws::Vector& value) { m_parametersHasBeenSet = true; m_parameters = value; } /** *

Contains a list of engine default parameters.

*/ inline void SetParameters(Aws::Vector&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } /** *

Contains a list of engine default parameters.

*/ inline EngineDefaults& WithParameters(const Aws::Vector& value) { SetParameters(value); return *this;} /** *

Contains a list of engine default parameters.

*/ inline EngineDefaults& WithParameters(Aws::Vector&& value) { SetParameters(std::move(value)); return *this;} /** *

Contains a list of engine default parameters.

*/ inline EngineDefaults& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; } /** *

Contains a list of engine default parameters.

*/ inline EngineDefaults& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; } private: Aws::String m_dBParameterGroupFamily; bool m_dBParameterGroupFamilyHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; Aws::Vector m_parameters; bool m_parametersHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws