AWS SDK for C++  1.9.108
AWS SDK for C++
DeleteDBSecurityGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RDS
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DeleteDBSecurityGroup"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
49  inline const Aws::String& GetDBSecurityGroupName() const{ return m_dBSecurityGroupName; }
50 
58  inline bool DBSecurityGroupNameHasBeenSet() const { return m_dBSecurityGroupNameHasBeenSet; }
59 
67  inline void SetDBSecurityGroupName(const Aws::String& value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName = value; }
68 
76  inline void SetDBSecurityGroupName(Aws::String&& value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName = std::move(value); }
77 
85  inline void SetDBSecurityGroupName(const char* value) { m_dBSecurityGroupNameHasBeenSet = true; m_dBSecurityGroupName.assign(value); }
86 
94  inline DeleteDBSecurityGroupRequest& WithDBSecurityGroupName(const Aws::String& value) { SetDBSecurityGroupName(value); return *this;}
95 
103  inline DeleteDBSecurityGroupRequest& WithDBSecurityGroupName(Aws::String&& value) { SetDBSecurityGroupName(std::move(value)); return *this;}
104 
112  inline DeleteDBSecurityGroupRequest& WithDBSecurityGroupName(const char* value) { SetDBSecurityGroupName(value); return *this;}
113 
114  private:
115 
116  Aws::String m_dBSecurityGroupName;
117  bool m_dBSecurityGroupNameHasBeenSet;
118  };
119 
120 } // namespace Model
121 } // namespace RDS
122 } // namespace Aws
Aws::RDS::Model::DeleteDBSecurityGroupRequest::DeleteDBSecurityGroupRequest
DeleteDBSecurityGroupRequest()
Aws::RDS::Model::DeleteDBSecurityGroupRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DeleteDBSecurityGroupRequest::WithDBSecurityGroupName
DeleteDBSecurityGroupRequest & WithDBSecurityGroupName(const Aws::String &value)
Definition: DeleteDBSecurityGroupRequest.h:94
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DeleteDBSecurityGroupRequest::SetDBSecurityGroupName
void SetDBSecurityGroupName(Aws::String &&value)
Definition: DeleteDBSecurityGroupRequest.h:76
Aws::RDS::Model::DeleteDBSecurityGroupRequest::DBSecurityGroupNameHasBeenSet
bool DBSecurityGroupNameHasBeenSet() const
Definition: DeleteDBSecurityGroupRequest.h:58
Aws::RDS::Model::DeleteDBSecurityGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDBSecurityGroupRequest.h:33
Aws::RDS::Model::DeleteDBSecurityGroupRequest::GetDBSecurityGroupName
const Aws::String & GetDBSecurityGroupName() const
Definition: DeleteDBSecurityGroupRequest.h:49
RDS_EXPORTS.h
Aws::RDS::Model::DeleteDBSecurityGroupRequest::WithDBSecurityGroupName
DeleteDBSecurityGroupRequest & WithDBSecurityGroupName(const char *value)
Definition: DeleteDBSecurityGroupRequest.h:112
AWSString.h
Aws::RDS::Model::DeleteDBSecurityGroupRequest::SetDBSecurityGroupName
void SetDBSecurityGroupName(const Aws::String &value)
Definition: DeleteDBSecurityGroupRequest.h:67
Aws::RDS::Model::DeleteDBSecurityGroupRequest::WithDBSecurityGroupName
DeleteDBSecurityGroupRequest & WithDBSecurityGroupName(Aws::String &&value)
Definition: DeleteDBSecurityGroupRequest.h:103
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DeleteDBSecurityGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::DeleteDBSecurityGroupRequest::SetDBSecurityGroupName
void SetDBSecurityGroupName(const char *value)
Definition: DeleteDBSecurityGroupRequest.h:85
Aws::RDS::Model::DeleteDBSecurityGroupRequest
Definition: DeleteDBSecurityGroupRequest.h:25
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17