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/neptune/Neptune_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSStreamFwd.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace Utils 15 { 16 namespace Xml 17 { 18 class XmlNode; 19 } // namespace Xml 20 } // namespace Utils 21 namespace Neptune 22 { 23 namespace Model 24 { 25 26 /** 27 * <p>The status of the DB parameter group.</p> <p>This data type is used as a 28 * response element in the following actions:</p> <ul> <li> <p> 29 * <a>CreateDBInstance</a> </p> </li> <li> <p> <a>DeleteDBInstance</a> </p> </li> 30 * <li> <p> <a>ModifyDBInstance</a> </p> </li> <li> <p> <a>RebootDBInstance</a> 31 * </p> </li> </ul><p><h3>See Also:</h3> <a 32 * href="http://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DBParameterGroupStatus">AWS 33 * API Reference</a></p> 34 */ 35 class AWS_NEPTUNE_API DBParameterGroupStatus 36 { 37 public: 38 DBParameterGroupStatus(); 39 DBParameterGroupStatus(const Aws::Utils::Xml::XmlNode& xmlNode); 40 DBParameterGroupStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); 41 42 void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; 43 void OutputToStream(Aws::OStream& oStream, const char* location) const; 44 45 46 /** 47 * <p>The name of the DP parameter group.</p> 48 */ GetDBParameterGroupName()49 inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; } 50 51 /** 52 * <p>The name of the DP parameter group.</p> 53 */ DBParameterGroupNameHasBeenSet()54 inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; } 55 56 /** 57 * <p>The name of the DP parameter group.</p> 58 */ SetDBParameterGroupName(const Aws::String & value)59 inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; } 60 61 /** 62 * <p>The name of the DP parameter group.</p> 63 */ SetDBParameterGroupName(Aws::String && value)64 inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); } 65 66 /** 67 * <p>The name of the DP parameter group.</p> 68 */ SetDBParameterGroupName(const char * value)69 inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); } 70 71 /** 72 * <p>The name of the DP parameter group.</p> 73 */ WithDBParameterGroupName(const Aws::String & value)74 inline DBParameterGroupStatus& WithDBParameterGroupName(const Aws::String& value) { SetDBParameterGroupName(value); return *this;} 75 76 /** 77 * <p>The name of the DP parameter group.</p> 78 */ WithDBParameterGroupName(Aws::String && value)79 inline DBParameterGroupStatus& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(std::move(value)); return *this;} 80 81 /** 82 * <p>The name of the DP parameter group.</p> 83 */ WithDBParameterGroupName(const char * value)84 inline DBParameterGroupStatus& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;} 85 86 87 /** 88 * <p>The status of parameter updates.</p> 89 */ GetParameterApplyStatus()90 inline const Aws::String& GetParameterApplyStatus() const{ return m_parameterApplyStatus; } 91 92 /** 93 * <p>The status of parameter updates.</p> 94 */ ParameterApplyStatusHasBeenSet()95 inline bool ParameterApplyStatusHasBeenSet() const { return m_parameterApplyStatusHasBeenSet; } 96 97 /** 98 * <p>The status of parameter updates.</p> 99 */ SetParameterApplyStatus(const Aws::String & value)100 inline void SetParameterApplyStatus(const Aws::String& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = value; } 101 102 /** 103 * <p>The status of parameter updates.</p> 104 */ SetParameterApplyStatus(Aws::String && value)105 inline void SetParameterApplyStatus(Aws::String&& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = std::move(value); } 106 107 /** 108 * <p>The status of parameter updates.</p> 109 */ SetParameterApplyStatus(const char * value)110 inline void SetParameterApplyStatus(const char* value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus.assign(value); } 111 112 /** 113 * <p>The status of parameter updates.</p> 114 */ WithParameterApplyStatus(const Aws::String & value)115 inline DBParameterGroupStatus& WithParameterApplyStatus(const Aws::String& value) { SetParameterApplyStatus(value); return *this;} 116 117 /** 118 * <p>The status of parameter updates.</p> 119 */ WithParameterApplyStatus(Aws::String && value)120 inline DBParameterGroupStatus& WithParameterApplyStatus(Aws::String&& value) { SetParameterApplyStatus(std::move(value)); return *this;} 121 122 /** 123 * <p>The status of parameter updates.</p> 124 */ WithParameterApplyStatus(const char * value)125 inline DBParameterGroupStatus& WithParameterApplyStatus(const char* value) { SetParameterApplyStatus(value); return *this;} 126 127 private: 128 129 Aws::String m_dBParameterGroupName; 130 bool m_dBParameterGroupNameHasBeenSet; 131 132 Aws::String m_parameterApplyStatus; 133 bool m_parameterApplyStatusHasBeenSet; 134 }; 135 136 } // namespace Model 137 } // namespace Neptune 138 } // namespace Aws 139