/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace RDS { namespace Model { /** *

List of option groups.

See Also:

AWS * API Reference

*/ class DescribeOptionGroupsResult { public: AWS_RDS_API DescribeOptionGroupsResult(); AWS_RDS_API DescribeOptionGroupsResult(const Aws::AmazonWebServiceResult& result); AWS_RDS_API DescribeOptionGroupsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

List of option groups.

*/ inline const Aws::Vector& GetOptionGroupsList() const{ return m_optionGroupsList; } /** *

List of option groups.

*/ inline void SetOptionGroupsList(const Aws::Vector& value) { m_optionGroupsList = value; } /** *

List of option groups.

*/ inline void SetOptionGroupsList(Aws::Vector&& value) { m_optionGroupsList = std::move(value); } /** *

List of option groups.

*/ inline DescribeOptionGroupsResult& WithOptionGroupsList(const Aws::Vector& value) { SetOptionGroupsList(value); return *this;} /** *

List of option groups.

*/ inline DescribeOptionGroupsResult& WithOptionGroupsList(Aws::Vector&& value) { SetOptionGroupsList(std::move(value)); return *this;} /** *

List of option groups.

*/ inline DescribeOptionGroupsResult& AddOptionGroupsList(const OptionGroup& value) { m_optionGroupsList.push_back(value); return *this; } /** *

List of option groups.

*/ inline DescribeOptionGroupsResult& AddOptionGroupsList(OptionGroup&& value) { m_optionGroupsList.push_back(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 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 void SetMarker(const Aws::String& value) { 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_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_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 DescribeOptionGroupsResult& 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 DescribeOptionGroupsResult& 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 DescribeOptionGroupsResult& WithMarker(const char* value) { SetMarker(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeOptionGroupsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeOptionGroupsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_optionGroupsList; Aws::String m_marker; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace RDS } // namespace Aws