AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteDBSubnetGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace DocDB
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DeleteDBSubnetGroup"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
49  inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; }
50 
57  inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
58 
65  inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; }
66 
73  inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); }
74 
81  inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); }
82 
89  inline DeleteDBSubnetGroupRequest& WithDBSubnetGroupName(const Aws::String& value) { SetDBSubnetGroupName(value); return *this;}
90 
97  inline DeleteDBSubnetGroupRequest& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;}
98 
105  inline DeleteDBSubnetGroupRequest& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;}
106 
107  private:
108 
109  Aws::String m_dBSubnetGroupName;
110  bool m_dBSubnetGroupNameHasBeenSet;
111  };
112 
113 } // namespace Model
114 } // namespace DocDB
115 } // namespace Aws
Aws::DocDB::Model::DeleteDBSubnetGroupRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Http::URI
Definition: URI.h:32
Aws::DocDB::Model::DeleteDBSubnetGroupRequest::DeleteDBSubnetGroupRequest
DeleteDBSubnetGroupRequest()
Aws::DocDB::Model::DeleteDBSubnetGroupRequest::WithDBSubnetGroupName
DeleteDBSubnetGroupRequest & WithDBSubnetGroupName(Aws::String &&value)
Definition: DeleteDBSubnetGroupRequest.h:97
Aws::DocDB::Model::DeleteDBSubnetGroupRequest
Definition: DeleteDBSubnetGroupRequest.h:26
Aws::DocDB::Model::DeleteDBSubnetGroupRequest::GetDBSubnetGroupName
const Aws::String & GetDBSubnetGroupName() const
Definition: DeleteDBSubnetGroupRequest.h:49
DocDBRequest.h
Aws::DocDB::Model::DeleteDBSubnetGroupRequest::SetDBSubnetGroupName
void SetDBSubnetGroupName(const char *value)
Definition: DeleteDBSubnetGroupRequest.h:81
Aws::DocDB::Model::DeleteDBSubnetGroupRequest::WithDBSubnetGroupName
DeleteDBSubnetGroupRequest & WithDBSubnetGroupName(const char *value)
Definition: DeleteDBSubnetGroupRequest.h:105
Aws::DocDB::Model::DeleteDBSubnetGroupRequest::SetDBSubnetGroupName
void SetDBSubnetGroupName(Aws::String &&value)
Definition: DeleteDBSubnetGroupRequest.h:73
AWS_DOCDB_API
#define AWS_DOCDB_API
Definition: DocDB_EXPORTS.h:28
Aws::DocDB::Model::DeleteDBSubnetGroupRequest::SetDBSubnetGroupName
void SetDBSubnetGroupName(const Aws::String &value)
Definition: DeleteDBSubnetGroupRequest.h:65
Aws::DocDB::Model::DeleteDBSubnetGroupRequest::DBSubnetGroupNameHasBeenSet
bool DBSubnetGroupNameHasBeenSet() const
Definition: DeleteDBSubnetGroupRequest.h:57
AWSString.h
DocDB_EXPORTS.h
Aws::DocDB::Model::DeleteDBSubnetGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::DocDB::Model::DeleteDBSubnetGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDBSubnetGroupRequest.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DocDB::DocDBRequest
Definition: DocDBRequest.h:17
Aws::DocDB::Model::DeleteDBSubnetGroupRequest::WithDBSubnetGroupName
DeleteDBSubnetGroupRequest & WithDBSubnetGroupName(const Aws::String &value)
Definition: DeleteDBSubnetGroupRequest.h:89