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/AWSString.h> 9 #include <aws/rds/model/ResponseMetadata.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 template<typename RESULT_TYPE> 15 class AmazonWebServiceResult; 16 17 namespace Utils 18 { 19 namespace Xml 20 { 21 class XmlDocument; 22 } // namespace Xml 23 } // namespace Utils 24 namespace RDS 25 { 26 namespace Model 27 { 28 /** 29 * <p/><p><h3>See Also:</h3> <a 30 * href="http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterParameterGroupNameMessage">AWS 31 * API Reference</a></p> 32 */ 33 class AWS_RDS_API ModifyDBClusterParameterGroupResult 34 { 35 public: 36 ModifyDBClusterParameterGroupResult(); 37 ModifyDBClusterParameterGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 38 ModifyDBClusterParameterGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 39 40 41 /** 42 * <p>The name of the DB cluster parameter group.</p> <p>Constraints:</p> <ul> <li> 43 * <p>Must be 1 to 255 letters or numbers.</p> </li> <li> <p>First character must 44 * be a letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive 45 * hyphens</p> </li> </ul> <p>This value is stored as a lowercase 46 * string.</p> 47 */ GetDBClusterParameterGroupName()48 inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; } 49 50 /** 51 * <p>The name of the DB cluster parameter group.</p> <p>Constraints:</p> <ul> <li> 52 * <p>Must be 1 to 255 letters or numbers.</p> </li> <li> <p>First character must 53 * be a letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive 54 * hyphens</p> </li> </ul> <p>This value is stored as a lowercase 55 * string.</p> 56 */ SetDBClusterParameterGroupName(const Aws::String & value)57 inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupName = value; } 58 59 /** 60 * <p>The name of the DB cluster parameter group.</p> <p>Constraints:</p> <ul> <li> 61 * <p>Must be 1 to 255 letters or numbers.</p> </li> <li> <p>First character must 62 * be a letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive 63 * hyphens</p> </li> </ul> <p>This value is stored as a lowercase 64 * string.</p> 65 */ SetDBClusterParameterGroupName(Aws::String && value)66 inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupName = std::move(value); } 67 68 /** 69 * <p>The name of the DB cluster parameter group.</p> <p>Constraints:</p> <ul> <li> 70 * <p>Must be 1 to 255 letters or numbers.</p> </li> <li> <p>First character must 71 * be a letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive 72 * hyphens</p> </li> </ul> <p>This value is stored as a lowercase 73 * string.</p> 74 */ SetDBClusterParameterGroupName(const char * value)75 inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupName.assign(value); } 76 77 /** 78 * <p>The name of the DB cluster parameter group.</p> <p>Constraints:</p> <ul> <li> 79 * <p>Must be 1 to 255 letters or numbers.</p> </li> <li> <p>First character must 80 * be a letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive 81 * hyphens</p> </li> </ul> <p>This value is stored as a lowercase 82 * string.</p> 83 */ WithDBClusterParameterGroupName(const Aws::String & value)84 inline ModifyDBClusterParameterGroupResult& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;} 85 86 /** 87 * <p>The name of the DB cluster parameter group.</p> <p>Constraints:</p> <ul> <li> 88 * <p>Must be 1 to 255 letters or numbers.</p> </li> <li> <p>First character must 89 * be a letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive 90 * hyphens</p> </li> </ul> <p>This value is stored as a lowercase 91 * string.</p> 92 */ WithDBClusterParameterGroupName(Aws::String && value)93 inline ModifyDBClusterParameterGroupResult& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(std::move(value)); return *this;} 94 95 /** 96 * <p>The name of the DB cluster parameter group.</p> <p>Constraints:</p> <ul> <li> 97 * <p>Must be 1 to 255 letters or numbers.</p> </li> <li> <p>First character must 98 * be a letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive 99 * hyphens</p> </li> </ul> <p>This value is stored as a lowercase 100 * string.</p> 101 */ WithDBClusterParameterGroupName(const char * value)102 inline ModifyDBClusterParameterGroupResult& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(value); return *this;} 103 104 105 GetResponseMetadata()106 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } 107 108 SetResponseMetadata(const ResponseMetadata & value)109 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } 110 111 SetResponseMetadata(ResponseMetadata && value)112 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } 113 114 WithResponseMetadata(const ResponseMetadata & value)115 inline ModifyDBClusterParameterGroupResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} 116 117 WithResponseMetadata(ResponseMetadata && value)118 inline ModifyDBClusterParameterGroupResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} 119 120 private: 121 122 Aws::String m_dBClusterParameterGroupName; 123 124 ResponseMetadata m_responseMetadata; 125 }; 126 127 } // namespace Model 128 } // namespace RDS 129 } // namespace Aws 130