130 lines
5.2 KiB
C
130 lines
5.2 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/rds/RDS_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/rds/model/ResponseMetadata.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Xml
|
|||
|
|
{
|
|||
|
|
class XmlDocument;
|
|||
|
|
} // namespace Xml
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace RDS
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
/**
|
|||
|
|
* <p/><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterParameterGroupNameMessage">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_RDS_API ModifyDBClusterParameterGroupResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
ModifyDBClusterParameterGroupResult();
|
|||
|
|
ModifyDBClusterParameterGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
|
|||
|
|
ModifyDBClusterParameterGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the DB cluster parameter group.</p> <p>Constraints:</p> <ul> <li>
|
|||
|
|
* <p>Must be 1 to 255 letters or numbers.</p> </li> <li> <p>First character must
|
|||
|
|
* be a letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive
|
|||
|
|
* hyphens</p> </li> </ul> <p>This value is stored as a lowercase
|
|||
|
|
* string.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the DB cluster parameter group.</p> <p>Constraints:</p> <ul> <li>
|
|||
|
|
* <p>Must be 1 to 255 letters or numbers.</p> </li> <li> <p>First character must
|
|||
|
|
* be a letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive
|
|||
|
|
* hyphens</p> </li> </ul> <p>This value is stored as a lowercase
|
|||
|
|
* string.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupName = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the DB cluster parameter group.</p> <p>Constraints:</p> <ul> <li>
|
|||
|
|
* <p>Must be 1 to 255 letters or numbers.</p> </li> <li> <p>First character must
|
|||
|
|
* be a letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive
|
|||
|
|
* hyphens</p> </li> </ul> <p>This value is stored as a lowercase
|
|||
|
|
* string.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupName = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the DB cluster parameter group.</p> <p>Constraints:</p> <ul> <li>
|
|||
|
|
* <p>Must be 1 to 255 letters or numbers.</p> </li> <li> <p>First character must
|
|||
|
|
* be a letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive
|
|||
|
|
* hyphens</p> </li> </ul> <p>This value is stored as a lowercase
|
|||
|
|
* string.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupName.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the DB cluster parameter group.</p> <p>Constraints:</p> <ul> <li>
|
|||
|
|
* <p>Must be 1 to 255 letters or numbers.</p> </li> <li> <p>First character must
|
|||
|
|
* be a letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive
|
|||
|
|
* hyphens</p> </li> </ul> <p>This value is stored as a lowercase
|
|||
|
|
* string.</p>
|
|||
|
|
*/
|
|||
|
|
inline ModifyDBClusterParameterGroupResult& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the DB cluster parameter group.</p> <p>Constraints:</p> <ul> <li>
|
|||
|
|
* <p>Must be 1 to 255 letters or numbers.</p> </li> <li> <p>First character must
|
|||
|
|
* be a letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive
|
|||
|
|
* hyphens</p> </li> </ul> <p>This value is stored as a lowercase
|
|||
|
|
* string.</p>
|
|||
|
|
*/
|
|||
|
|
inline ModifyDBClusterParameterGroupResult& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the DB cluster parameter group.</p> <p>Constraints:</p> <ul> <li>
|
|||
|
|
* <p>Must be 1 to 255 letters or numbers.</p> </li> <li> <p>First character must
|
|||
|
|
* be a letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive
|
|||
|
|
* hyphens</p> </li> </ul> <p>This value is stored as a lowercase
|
|||
|
|
* string.</p>
|
|||
|
|
*/
|
|||
|
|
inline ModifyDBClusterParameterGroupResult& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(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 ModifyDBClusterParameterGroupResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline ModifyDBClusterParameterGroupResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_dBClusterParameterGroupName;
|
|||
|
|
|
|||
|
|
ResponseMetadata m_responseMetadata;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace RDS
|
|||
|
|
} // namespace Aws
|