123 lines
5.7 KiB
C
123 lines
5.7 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/rds/RDSRequest.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace RDS
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p/><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSecurityGroupMessage">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_RDS_API DeleteDBSecurityGroupRequest : public RDSRequest
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
DeleteDBSecurityGroupRequest();
|
|||
|
|
|
|||
|
|
// Service request name is the Operation name which will send this request out,
|
|||
|
|
// each operation should has unique request name, so that we can get operation's name from this request.
|
|||
|
|
// Note: this is not true for response, multiple operations may have the same response name,
|
|||
|
|
// so we can not get operation's name from response.
|
|||
|
|
inline virtual const char* GetServiceRequestName() const override { return "DeleteDBSecurityGroup"; }
|
|||
|
|
|
|||
|
|
Aws::String SerializePayload() const override;
|
|||
|
|
|
|||
|
|
protected:
|
|||
|
|
void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
|
|||
|
|
|
|||
|
|
public:
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the DB security group to delete.</p> <p>You can't delete
|
|||
|
|
* the default DB security group.</p> <p>Constraints:</p> <ul> <li> <p>Must
|
|||
|
|
* be 1 to 255 letters, numbers, or hyphens.</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> <li> <p>Must not be "Default"</p> </li> </ul>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetDBSecurityGroupName() const{ return m_dBSecurityGroupName; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the DB security group to delete.</p> <p>You can't delete
|
|||
|
|
* the default DB security group.</p> <p>Constraints:</p> <ul> <li> <p>Must
|
|||
|
|
* be 1 to 255 letters, numbers, or hyphens.</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> <li> <p>Must not be "Default"</p> </li> </ul>
|
|||
|
|
*/
|
|||
|
|
inline bool DBSecurityGroupNameHasBeenSet() const { return m_dBSecurityGroupNameHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the DB security group to delete.</p> <p>You can't delete
|
|||
|
|
* the default DB security group.</p> <p>Constraints:</p> <ul> <li> <p>Must
|
|||
|
|
* be 1 to 255 letters, numbers, or hyphens.</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> <li> <p>Must not be "Default"</p> </li> </ul>
|
|||
|
|
*/
|
|||
|
|
inline void SetDBSecurityGroupName(const Aws::String& value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the DB security group to delete.</p> <p>You can't delete
|
|||
|
|
* the default DB security group.</p> <p>Constraints:</p> <ul> <li> <p>Must
|
|||
|
|
* be 1 to 255 letters, numbers, or hyphens.</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> <li> <p>Must not be "Default"</p> </li> </ul>
|
|||
|
|
*/
|
|||
|
|
inline void SetDBSecurityGroupName(Aws::String&& value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the DB security group to delete.</p> <p>You can't delete
|
|||
|
|
* the default DB security group.</p> <p>Constraints:</p> <ul> <li> <p>Must
|
|||
|
|
* be 1 to 255 letters, numbers, or hyphens.</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> <li> <p>Must not be "Default"</p> </li> </ul>
|
|||
|
|
*/
|
|||
|
|
inline void SetDBSecurityGroupName(const char* value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the DB security group to delete.</p> <p>You can't delete
|
|||
|
|
* the default DB security group.</p> <p>Constraints:</p> <ul> <li> <p>Must
|
|||
|
|
* be 1 to 255 letters, numbers, or hyphens.</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> <li> <p>Must not be "Default"</p> </li> </ul>
|
|||
|
|
*/
|
|||
|
|
inline DeleteDBSecurityGroupRequest& WithDBSecurityGroupName(const Aws::String& value) { SetDBSecurityGroupName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the DB security group to delete.</p> <p>You can't delete
|
|||
|
|
* the default DB security group.</p> <p>Constraints:</p> <ul> <li> <p>Must
|
|||
|
|
* be 1 to 255 letters, numbers, or hyphens.</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> <li> <p>Must not be "Default"</p> </li> </ul>
|
|||
|
|
*/
|
|||
|
|
inline DeleteDBSecurityGroupRequest& WithDBSecurityGroupName(Aws::String&& value) { SetDBSecurityGroupName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the DB security group to delete.</p> <p>You can't delete
|
|||
|
|
* the default DB security group.</p> <p>Constraints:</p> <ul> <li> <p>Must
|
|||
|
|
* be 1 to 255 letters, numbers, or hyphens.</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> <li> <p>Must not be "Default"</p> </li> </ul>
|
|||
|
|
*/
|
|||
|
|
inline DeleteDBSecurityGroupRequest& WithDBSecurityGroupName(const char* value) { SetDBSecurityGroupName(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_dBSecurityGroupName;
|
|||
|
|
bool m_dBSecurityGroupNameHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace RDS
|
|||
|
|
} // namespace Aws
|