AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteGlobalClusterRequest.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 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteGlobalCluster"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
42  inline const Aws::String& GetGlobalClusterIdentifier() const{ return m_globalClusterIdentifier; }
43 
47  inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
48 
52  inline void SetGlobalClusterIdentifier(const Aws::String& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = value; }
53 
57  inline void SetGlobalClusterIdentifier(Aws::String&& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = std::move(value); }
58 
62  inline void SetGlobalClusterIdentifier(const char* value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier.assign(value); }
63 
67  inline DeleteGlobalClusterRequest& WithGlobalClusterIdentifier(const Aws::String& value) { SetGlobalClusterIdentifier(value); return *this;}
68 
72  inline DeleteGlobalClusterRequest& WithGlobalClusterIdentifier(Aws::String&& value) { SetGlobalClusterIdentifier(std::move(value)); return *this;}
73 
77  inline DeleteGlobalClusterRequest& WithGlobalClusterIdentifier(const char* value) { SetGlobalClusterIdentifier(value); return *this;}
78 
79  private:
80 
81  Aws::String m_globalClusterIdentifier;
82  bool m_globalClusterIdentifierHasBeenSet;
83  };
84 
85 } // namespace Model
86 } // namespace RDS
87 } // namespace Aws
Aws::RDS::Model::DeleteGlobalClusterRequest::GetGlobalClusterIdentifier
const Aws::String & GetGlobalClusterIdentifier() const
Definition: DeleteGlobalClusterRequest.h:42
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DeleteGlobalClusterRequest::DeleteGlobalClusterRequest
DeleteGlobalClusterRequest()
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DeleteGlobalClusterRequest::WithGlobalClusterIdentifier
DeleteGlobalClusterRequest & WithGlobalClusterIdentifier(const Aws::String &value)
Definition: DeleteGlobalClusterRequest.h:67
Aws::RDS::Model::DeleteGlobalClusterRequest::SetGlobalClusterIdentifier
void SetGlobalClusterIdentifier(const Aws::String &value)
Definition: DeleteGlobalClusterRequest.h:52
Aws::RDS::Model::DeleteGlobalClusterRequest::GlobalClusterIdentifierHasBeenSet
bool GlobalClusterIdentifierHasBeenSet() const
Definition: DeleteGlobalClusterRequest.h:47
Aws::RDS::Model::DeleteGlobalClusterRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
RDS_EXPORTS.h
AWSString.h
Aws::RDS::Model::DeleteGlobalClusterRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteGlobalClusterRequest.h:30
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DeleteGlobalClusterRequest::SetGlobalClusterIdentifier
void SetGlobalClusterIdentifier(const char *value)
Definition: DeleteGlobalClusterRequest.h:62
Aws::RDS::Model::DeleteGlobalClusterRequest::SetGlobalClusterIdentifier
void SetGlobalClusterIdentifier(Aws::String &&value)
Definition: DeleteGlobalClusterRequest.h:57
Aws::RDS::Model::DeleteGlobalClusterRequest::WithGlobalClusterIdentifier
DeleteGlobalClusterRequest & WithGlobalClusterIdentifier(const char *value)
Definition: DeleteGlobalClusterRequest.h:77
Aws::RDS::Model::DeleteGlobalClusterRequest::SerializePayload
Aws::String SerializePayload() const override
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
Aws::RDS::Model::DeleteGlobalClusterRequest
Definition: DeleteGlobalClusterRequest.h:22
Aws::RDS::Model::DeleteGlobalClusterRequest::WithGlobalClusterIdentifier
DeleteGlobalClusterRequest & WithGlobalClusterIdentifier(Aws::String &&value)
Definition: DeleteGlobalClusterRequest.h:72