AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteOptionGroupRequest.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 "DeleteOptionGroup"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
46  inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; }
47 
52  inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
53 
58  inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; }
59 
64  inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); }
65 
70  inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); }
71 
76  inline DeleteOptionGroupRequest& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;}
77 
82  inline DeleteOptionGroupRequest& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;}
83 
88  inline DeleteOptionGroupRequest& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;}
89 
90  private:
91 
92  Aws::String m_optionGroupName;
93  bool m_optionGroupNameHasBeenSet;
94  };
95 
96 } // namespace Model
97 } // namespace RDS
98 } // namespace Aws
Aws::RDS::Model::DeleteOptionGroupRequest::OptionGroupNameHasBeenSet
bool OptionGroupNameHasBeenSet() const
Definition: DeleteOptionGroupRequest.h:52
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DeleteOptionGroupRequest::WithOptionGroupName
DeleteOptionGroupRequest & WithOptionGroupName(Aws::String &&value)
Definition: DeleteOptionGroupRequest.h:82
Aws::RDS::Model::DeleteOptionGroupRequest::WithOptionGroupName
DeleteOptionGroupRequest & WithOptionGroupName(const Aws::String &value)
Definition: DeleteOptionGroupRequest.h:76
Aws::RDS::Model::DeleteOptionGroupRequest::SetOptionGroupName
void SetOptionGroupName(Aws::String &&value)
Definition: DeleteOptionGroupRequest.h:64
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DeleteOptionGroupRequest::SetOptionGroupName
void SetOptionGroupName(const Aws::String &value)
Definition: DeleteOptionGroupRequest.h:58
Aws::RDS::Model::DeleteOptionGroupRequest::WithOptionGroupName
DeleteOptionGroupRequest & WithOptionGroupName(const char *value)
Definition: DeleteOptionGroupRequest.h:88
Aws::RDS::Model::DeleteOptionGroupRequest::GetOptionGroupName
const Aws::String & GetOptionGroupName() const
Definition: DeleteOptionGroupRequest.h:46
RDS_EXPORTS.h
AWSString.h
Aws::RDS::Model::DeleteOptionGroupRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DeleteOptionGroupRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::DeleteOptionGroupRequest::SetOptionGroupName
void SetOptionGroupName(const char *value)
Definition: DeleteOptionGroupRequest.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DeleteOptionGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteOptionGroupRequest.h:33
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
Aws::RDS::Model::DeleteOptionGroupRequest
Definition: DeleteOptionGroupRequest.h:25
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DeleteOptionGroupRequest::DeleteOptionGroupRequest
DeleteOptionGroupRequest()