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> Contains the result of a successful invocation of the
30    * <code>ModifyDBParameterGroup</code> or <code>ResetDBParameterGroup</code>
31    * action. </p><p><h3>See Also:</h3>   <a
32    * href="http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroupNameMessage">AWS
33    * API Reference</a></p>
34    */
35   class AWS_RDS_API ResetDBParameterGroupResult
36   {
37   public:
38     ResetDBParameterGroupResult();
39     ResetDBParameterGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
40     ResetDBParameterGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
41 
42 
43     /**
44      * <p>The name of the DB parameter group.</p>
45      */
GetDBParameterGroupName()46     inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; }
47 
48     /**
49      * <p>The name of the DB parameter group.</p>
50      */
SetDBParameterGroupName(const Aws::String & value)51     inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupName = value; }
52 
53     /**
54      * <p>The name of the DB parameter group.</p>
55      */
SetDBParameterGroupName(Aws::String && value)56     inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupName = std::move(value); }
57 
58     /**
59      * <p>The name of the DB parameter group.</p>
60      */
SetDBParameterGroupName(const char * value)61     inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupName.assign(value); }
62 
63     /**
64      * <p>The name of the DB parameter group.</p>
65      */
WithDBParameterGroupName(const Aws::String & value)66     inline ResetDBParameterGroupResult& WithDBParameterGroupName(const Aws::String& value) { SetDBParameterGroupName(value); return *this;}
67 
68     /**
69      * <p>The name of the DB parameter group.</p>
70      */
WithDBParameterGroupName(Aws::String && value)71     inline ResetDBParameterGroupResult& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(std::move(value)); return *this;}
72 
73     /**
74      * <p>The name of the DB parameter group.</p>
75      */
WithDBParameterGroupName(const char * value)76     inline ResetDBParameterGroupResult& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
77 
78 
79 
GetResponseMetadata()80     inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
81 
82 
SetResponseMetadata(const ResponseMetadata & value)83     inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
84 
85 
SetResponseMetadata(ResponseMetadata && value)86     inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
87 
88 
WithResponseMetadata(const ResponseMetadata & value)89     inline ResetDBParameterGroupResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
90 
91 
WithResponseMetadata(ResponseMetadata && value)92     inline ResetDBParameterGroupResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
93 
94   private:
95 
96     Aws::String m_dBParameterGroupName;
97 
98     ResponseMetadata m_responseMetadata;
99   };
100 
101 } // namespace Model
102 } // namespace RDS
103 } // namespace Aws
104