AWS SDK for C++  1.8.71
AWS SDK for C++
RemoveFromGlobalClusterRequest.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 "RemoveFromGlobalCluster"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
43  inline const Aws::String& GetGlobalClusterIdentifier() const{ return m_globalClusterIdentifier; }
44 
49  inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
50 
55  inline void SetGlobalClusterIdentifier(const Aws::String& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = value; }
56 
61  inline void SetGlobalClusterIdentifier(Aws::String&& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = std::move(value); }
62 
67  inline void SetGlobalClusterIdentifier(const char* value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier.assign(value); }
68 
73  inline RemoveFromGlobalClusterRequest& WithGlobalClusterIdentifier(const Aws::String& value) { SetGlobalClusterIdentifier(value); return *this;}
74 
79  inline RemoveFromGlobalClusterRequest& WithGlobalClusterIdentifier(Aws::String&& value) { SetGlobalClusterIdentifier(std::move(value)); return *this;}
80 
85  inline RemoveFromGlobalClusterRequest& WithGlobalClusterIdentifier(const char* value) { SetGlobalClusterIdentifier(value); return *this;}
86 
87 
92  inline const Aws::String& GetDbClusterIdentifier() const{ return m_dbClusterIdentifier; }
93 
98  inline bool DbClusterIdentifierHasBeenSet() const { return m_dbClusterIdentifierHasBeenSet; }
99 
104  inline void SetDbClusterIdentifier(const Aws::String& value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier = value; }
105 
110  inline void SetDbClusterIdentifier(Aws::String&& value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier = std::move(value); }
111 
116  inline void SetDbClusterIdentifier(const char* value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier.assign(value); }
117 
122  inline RemoveFromGlobalClusterRequest& WithDbClusterIdentifier(const Aws::String& value) { SetDbClusterIdentifier(value); return *this;}
123 
128  inline RemoveFromGlobalClusterRequest& WithDbClusterIdentifier(Aws::String&& value) { SetDbClusterIdentifier(std::move(value)); return *this;}
129 
134  inline RemoveFromGlobalClusterRequest& WithDbClusterIdentifier(const char* value) { SetDbClusterIdentifier(value); return *this;}
135 
136  private:
137 
138  Aws::String m_globalClusterIdentifier;
139  bool m_globalClusterIdentifierHasBeenSet;
140 
141  Aws::String m_dbClusterIdentifier;
142  bool m_dbClusterIdentifierHasBeenSet;
143  };
144 
145 } // namespace Model
146 } // namespace RDS
147 } // namespace Aws
virtual const char * GetServiceRequestName() const override
RemoveFromGlobalClusterRequest & WithDbClusterIdentifier(Aws::String &&value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
RemoveFromGlobalClusterRequest & WithGlobalClusterIdentifier(const char *value)
RemoveFromGlobalClusterRequest & WithGlobalClusterIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RemoveFromGlobalClusterRequest & WithDbClusterIdentifier(const char *value)
RemoveFromGlobalClusterRequest & WithGlobalClusterIdentifier(const Aws::String &value)
RemoveFromGlobalClusterRequest & WithDbClusterIdentifier(const Aws::String &value)