1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/rds/RDS_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSVector.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <aws/rds/model/ResponseMetadata.h> 11 #include <aws/rds/model/Parameter.h> 12 #include <utility> 13 14 namespace Aws 15 { 16 template<typename RESULT_TYPE> 17 class AmazonWebServiceResult; 18 19 namespace Utils 20 { 21 namespace Xml 22 { 23 class XmlDocument; 24 } // namespace Xml 25 } // namespace Utils 26 namespace RDS 27 { 28 namespace Model 29 { 30 /** 31 * <p> Contains the result of a successful invocation of the 32 * <code>DescribeDBParameters</code> action. </p><p><h3>See Also:</h3> <a 33 * href="http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroupDetails">AWS 34 * API Reference</a></p> 35 */ 36 class AWS_RDS_API DescribeDBParametersResult 37 { 38 public: 39 DescribeDBParametersResult(); 40 DescribeDBParametersResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 41 DescribeDBParametersResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 42 43 44 /** 45 * <p> A list of <code>Parameter</code> values. </p> 46 */ GetParameters()47 inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; } 48 49 /** 50 * <p> A list of <code>Parameter</code> values. </p> 51 */ SetParameters(const Aws::Vector<Parameter> & value)52 inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parameters = value; } 53 54 /** 55 * <p> A list of <code>Parameter</code> values. </p> 56 */ SetParameters(Aws::Vector<Parameter> && value)57 inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parameters = std::move(value); } 58 59 /** 60 * <p> A list of <code>Parameter</code> values. </p> 61 */ WithParameters(const Aws::Vector<Parameter> & value)62 inline DescribeDBParametersResult& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;} 63 64 /** 65 * <p> A list of <code>Parameter</code> values. </p> 66 */ WithParameters(Aws::Vector<Parameter> && value)67 inline DescribeDBParametersResult& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;} 68 69 /** 70 * <p> A list of <code>Parameter</code> values. </p> 71 */ AddParameters(const Parameter & value)72 inline DescribeDBParametersResult& AddParameters(const Parameter& value) { m_parameters.push_back(value); return *this; } 73 74 /** 75 * <p> A list of <code>Parameter</code> values. </p> 76 */ AddParameters(Parameter && value)77 inline DescribeDBParametersResult& AddParameters(Parameter&& value) { m_parameters.push_back(std::move(value)); return *this; } 78 79 80 /** 81 * <p> An optional pagination token provided by a previous request. If this 82 * parameter is specified, the response includes only records beyond the marker, up 83 * to the value specified by <code>MaxRecords</code>. </p> 84 */ GetMarker()85 inline const Aws::String& GetMarker() const{ return m_marker; } 86 87 /** 88 * <p> An optional pagination token provided by a previous request. If this 89 * parameter is specified, the response includes only records beyond the marker, up 90 * to the value specified by <code>MaxRecords</code>. </p> 91 */ SetMarker(const Aws::String & value)92 inline void SetMarker(const Aws::String& value) { m_marker = value; } 93 94 /** 95 * <p> An optional pagination token provided by a previous request. If this 96 * parameter is specified, the response includes only records beyond the marker, up 97 * to the value specified by <code>MaxRecords</code>. </p> 98 */ SetMarker(Aws::String && value)99 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); } 100 101 /** 102 * <p> An optional pagination token provided by a previous request. If this 103 * parameter is specified, the response includes only records beyond the marker, up 104 * to the value specified by <code>MaxRecords</code>. </p> 105 */ SetMarker(const char * value)106 inline void SetMarker(const char* value) { m_marker.assign(value); } 107 108 /** 109 * <p> An optional pagination token provided by a previous request. If this 110 * parameter is specified, the response includes only records beyond the marker, up 111 * to the value specified by <code>MaxRecords</code>. </p> 112 */ WithMarker(const Aws::String & value)113 inline DescribeDBParametersResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} 114 115 /** 116 * <p> An optional pagination token provided by a previous request. If this 117 * parameter is specified, the response includes only records beyond the marker, up 118 * to the value specified by <code>MaxRecords</code>. </p> 119 */ WithMarker(Aws::String && value)120 inline DescribeDBParametersResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} 121 122 /** 123 * <p> An optional pagination token provided by a previous request. If this 124 * parameter is specified, the response includes only records beyond the marker, up 125 * to the value specified by <code>MaxRecords</code>. </p> 126 */ WithMarker(const char * value)127 inline DescribeDBParametersResult& WithMarker(const char* value) { SetMarker(value); return *this;} 128 129 130 GetResponseMetadata()131 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } 132 133 SetResponseMetadata(const ResponseMetadata & value)134 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } 135 136 SetResponseMetadata(ResponseMetadata && value)137 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } 138 139 WithResponseMetadata(const ResponseMetadata & value)140 inline DescribeDBParametersResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} 141 142 WithResponseMetadata(ResponseMetadata && value)143 inline DescribeDBParametersResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} 144 145 private: 146 147 Aws::Vector<Parameter> m_parameters; 148 149 Aws::String m_marker; 150 151 ResponseMetadata m_responseMetadata; 152 }; 153 154 } // namespace Model 155 } // namespace RDS 156 } // namespace Aws 157