AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteDBInstanceRequest.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 "DeleteDBInstance"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
48  inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
49 
55  inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
56 
62  inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
63 
69  inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
70 
76  inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
77 
83  inline DeleteDBInstanceRequest& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;}
84 
90  inline DeleteDBInstanceRequest& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;}
91 
97  inline DeleteDBInstanceRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
98 
99  private:
100 
101  Aws::String m_dBInstanceIdentifier;
102  bool m_dBInstanceIdentifierHasBeenSet;
103  };
104 
105 } // namespace Model
106 } // namespace DocDB
107 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::DocDB::Model::DeleteDBInstanceRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::DocDB::Model::DeleteDBInstanceRequest::DBInstanceIdentifierHasBeenSet
bool DBInstanceIdentifierHasBeenSet() const
Definition: DeleteDBInstanceRequest.h:55
DocDBRequest.h
Aws::DocDB::Model::DeleteDBInstanceRequest::GetDBInstanceIdentifier
const Aws::String & GetDBInstanceIdentifier() const
Definition: DeleteDBInstanceRequest.h:48
Aws::DocDB::Model::DeleteDBInstanceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDBInstanceRequest.h:34
AWS_DOCDB_API
#define AWS_DOCDB_API
Definition: DocDB_EXPORTS.h:28
Aws::DocDB::Model::DeleteDBInstanceRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::DocDB::Model::DeleteDBInstanceRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(Aws::String &&value)
Definition: DeleteDBInstanceRequest.h:69
DocDB_EXPORTS.h
Aws::DocDB::Model::DeleteDBInstanceRequest::WithDBInstanceIdentifier
DeleteDBInstanceRequest & WithDBInstanceIdentifier(const char *value)
Definition: DeleteDBInstanceRequest.h:97
Aws::DocDB::Model::DeleteDBInstanceRequest
Definition: DeleteDBInstanceRequest.h:26
Aws::DocDB::Model::DeleteDBInstanceRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(const Aws::String &value)
Definition: DeleteDBInstanceRequest.h:62
Aws
Definition: AccessManagementClient.h:15
Aws::DocDB::Model::DeleteDBInstanceRequest::DeleteDBInstanceRequest
DeleteDBInstanceRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DocDB::Model::DeleteDBInstanceRequest::WithDBInstanceIdentifier
DeleteDBInstanceRequest & WithDBInstanceIdentifier(const Aws::String &value)
Definition: DeleteDBInstanceRequest.h:83
Aws::DocDB::Model::DeleteDBInstanceRequest::WithDBInstanceIdentifier
DeleteDBInstanceRequest & WithDBInstanceIdentifier(Aws::String &&value)
Definition: DeleteDBInstanceRequest.h:90
Aws::DocDB::Model::DeleteDBInstanceRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(const char *value)
Definition: DeleteDBInstanceRequest.h:76
Aws::DocDB::DocDBRequest
Definition: DocDBRequest.h:17