/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
The name of the option group to describe. Can't be supplied together with * EngineName or MajorEngineVersion.
*/ inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; } /** *The name of the option group to describe. Can't be supplied together with * EngineName or MajorEngineVersion.
*/ inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; } /** *The name of the option group to describe. Can't be supplied together with * EngineName or MajorEngineVersion.
*/ inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; } /** *The name of the option group to describe. Can't be supplied together with * EngineName or MajorEngineVersion.
*/ inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); } /** *The name of the option group to describe. Can't be supplied together with * EngineName or MajorEngineVersion.
*/ inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); } /** *The name of the option group to describe. Can't be supplied together with * EngineName or MajorEngineVersion.
*/ inline DescribeOptionGroupsRequest& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;} /** *The name of the option group to describe. Can't be supplied together with * EngineName or MajorEngineVersion.
*/ inline DescribeOptionGroupsRequest& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;} /** *The name of the option group to describe. Can't be supplied together with * EngineName or MajorEngineVersion.
*/ inline DescribeOptionGroupsRequest& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;} /** *This parameter isn't currently supported.
*/ inline const Aws::VectorThis parameter isn't currently supported.
*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *This parameter isn't currently supported.
*/ inline void SetFilters(const Aws::VectorThis parameter isn't currently supported.
*/ inline void SetFilters(Aws::VectorThis parameter isn't currently supported.
*/ inline DescribeOptionGroupsRequest& WithFilters(const Aws::VectorThis parameter isn't currently supported.
*/ inline DescribeOptionGroupsRequest& WithFilters(Aws::VectorThis parameter isn't currently supported.
*/ inline DescribeOptionGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } /** *This parameter isn't currently supported.
*/ inline DescribeOptionGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } /** * An optional pagination token provided by a previous DescribeOptionGroups
* request. If this parameter is specified, the response includes only records
* beyond the marker, up to the value specified by MaxRecords.
An optional pagination token provided by a previous DescribeOptionGroups
* request. If this parameter is specified, the response includes only records
* beyond the marker, up to the value specified by MaxRecords.
An optional pagination token provided by a previous DescribeOptionGroups
* request. If this parameter is specified, the response includes only records
* beyond the marker, up to the value specified by MaxRecords.
An optional pagination token provided by a previous DescribeOptionGroups
* request. If this parameter is specified, the response includes only records
* beyond the marker, up to the value specified by MaxRecords.
An optional pagination token provided by a previous DescribeOptionGroups
* request. If this parameter is specified, the response includes only records
* beyond the marker, up to the value specified by MaxRecords.
An optional pagination token provided by a previous DescribeOptionGroups
* request. If this parameter is specified, the response includes only records
* beyond the marker, up to the value specified by MaxRecords.
An optional pagination token provided by a previous DescribeOptionGroups
* request. If this parameter is specified, the response includes only records
* beyond the marker, up to the value specified by MaxRecords.
An optional pagination token provided by a previous DescribeOptionGroups
* request. If this parameter is specified, the response includes only records
* beyond the marker, up to the value specified by MaxRecords.
The maximum number of records to include in the response. If more records
* exist than the specified MaxRecords value, a pagination token
* called a marker is included in the response so that you can retrieve the
* remaining results.
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 records
* exist than the specified MaxRecords value, a pagination token
* called a marker is included in the response so that you can retrieve the
* remaining results.
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 records
* exist than the specified MaxRecords value, a pagination token
* called a marker is included in the response so that you can retrieve the
* remaining results.
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 records
* exist than the specified MaxRecords value, a pagination token
* called a marker is included in the response so that you can retrieve the
* remaining results.
Default: 100
Constraints: Minimum 20, maximum * 100.
*/ inline DescribeOptionGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;} /** *Filters the list of option groups to only include groups associated with a * specific database engine.
*/ inline const Aws::String& GetEngineName() const{ return m_engineName; } /** *Filters the list of option groups to only include groups associated with a * specific database engine.
*/ inline bool EngineNameHasBeenSet() const { return m_engineNameHasBeenSet; } /** *Filters the list of option groups to only include groups associated with a * specific database engine.
*/ inline void SetEngineName(const Aws::String& value) { m_engineNameHasBeenSet = true; m_engineName = value; } /** *Filters the list of option groups to only include groups associated with a * specific database engine.
*/ inline void SetEngineName(Aws::String&& value) { m_engineNameHasBeenSet = true; m_engineName = std::move(value); } /** *Filters the list of option groups to only include groups associated with a * specific database engine.
*/ inline void SetEngineName(const char* value) { m_engineNameHasBeenSet = true; m_engineName.assign(value); } /** *Filters the list of option groups to only include groups associated with a * specific database engine.
*/ inline DescribeOptionGroupsRequest& WithEngineName(const Aws::String& value) { SetEngineName(value); return *this;} /** *Filters the list of option groups to only include groups associated with a * specific database engine.
*/ inline DescribeOptionGroupsRequest& WithEngineName(Aws::String&& value) { SetEngineName(std::move(value)); return *this;} /** *Filters the list of option groups to only include groups associated with a * specific database engine.
*/ inline DescribeOptionGroupsRequest& WithEngineName(const char* value) { SetEngineName(value); return *this;} /** *Filters the list of option groups to only include groups associated with a * specific database engine version. If specified, then EngineName must also be * specified.
*/ inline const Aws::String& GetMajorEngineVersion() const{ return m_majorEngineVersion; } /** *Filters the list of option groups to only include groups associated with a * specific database engine version. If specified, then EngineName must also be * specified.
*/ inline bool MajorEngineVersionHasBeenSet() const { return m_majorEngineVersionHasBeenSet; } /** *Filters the list of option groups to only include groups associated with a * specific database engine version. If specified, then EngineName must also be * specified.
*/ inline void SetMajorEngineVersion(const Aws::String& value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion = value; } /** *Filters the list of option groups to only include groups associated with a * specific database engine version. If specified, then EngineName must also be * specified.
*/ inline void SetMajorEngineVersion(Aws::String&& value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion = std::move(value); } /** *Filters the list of option groups to only include groups associated with a * specific database engine version. If specified, then EngineName must also be * specified.
*/ inline void SetMajorEngineVersion(const char* value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion.assign(value); } /** *Filters the list of option groups to only include groups associated with a * specific database engine version. If specified, then EngineName must also be * specified.
*/ inline DescribeOptionGroupsRequest& WithMajorEngineVersion(const Aws::String& value) { SetMajorEngineVersion(value); return *this;} /** *Filters the list of option groups to only include groups associated with a * specific database engine version. If specified, then EngineName must also be * specified.
*/ inline DescribeOptionGroupsRequest& WithMajorEngineVersion(Aws::String&& value) { SetMajorEngineVersion(std::move(value)); return *this;} /** *Filters the list of option groups to only include groups associated with a * specific database engine version. If specified, then EngineName must also be * specified.
*/ inline DescribeOptionGroupsRequest& WithMajorEngineVersion(const char* value) { SetMajorEngineVersion(value); return *this;} private: Aws::String m_optionGroupName; bool m_optionGroupNameHasBeenSet; Aws::Vector