AWS SDK for C++  1.8.71
AWS SDK for C++
RemoveRoleFromDBClusterRequest.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 "RemoveRoleFromDBCluster"; }
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& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
43 
47  inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
48 
52  inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
53 
57  inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
58 
62  inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
63 
67  inline RemoveRoleFromDBClusterRequest& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
68 
72  inline RemoveRoleFromDBClusterRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
73 
77  inline RemoveRoleFromDBClusterRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
78 
79 
85  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
86 
92  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
93 
99  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
100 
106  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
107 
113  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
114 
120  inline RemoveRoleFromDBClusterRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
121 
127  inline RemoveRoleFromDBClusterRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
128 
134  inline RemoveRoleFromDBClusterRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
135 
136 
142  inline const Aws::String& GetFeatureName() const{ return m_featureName; }
143 
149  inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
150 
156  inline void SetFeatureName(const Aws::String& value) { m_featureNameHasBeenSet = true; m_featureName = value; }
157 
163  inline void SetFeatureName(Aws::String&& value) { m_featureNameHasBeenSet = true; m_featureName = std::move(value); }
164 
170  inline void SetFeatureName(const char* value) { m_featureNameHasBeenSet = true; m_featureName.assign(value); }
171 
177  inline RemoveRoleFromDBClusterRequest& WithFeatureName(const Aws::String& value) { SetFeatureName(value); return *this;}
178 
184  inline RemoveRoleFromDBClusterRequest& WithFeatureName(Aws::String&& value) { SetFeatureName(std::move(value)); return *this;}
185 
191  inline RemoveRoleFromDBClusterRequest& WithFeatureName(const char* value) { SetFeatureName(value); return *this;}
192 
193  private:
194 
195  Aws::String m_dBClusterIdentifier;
196  bool m_dBClusterIdentifierHasBeenSet;
197 
198  Aws::String m_roleArn;
199  bool m_roleArnHasBeenSet;
200 
201  Aws::String m_featureName;
202  bool m_featureNameHasBeenSet;
203  };
204 
205 } // namespace Model
206 } // namespace RDS
207 } // namespace Aws
RemoveRoleFromDBClusterRequest & WithRoleArn(const char *value)
RemoveRoleFromDBClusterRequest & WithFeatureName(Aws::String &&value)
RemoveRoleFromDBClusterRequest & WithFeatureName(const Aws::String &value)
RemoveRoleFromDBClusterRequest & WithDBClusterIdentifier(const Aws::String &value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
RemoveRoleFromDBClusterRequest & WithDBClusterIdentifier(Aws::String &&value)
RemoveRoleFromDBClusterRequest & WithRoleArn(Aws::String &&value)
RemoveRoleFromDBClusterRequest & WithFeatureName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
virtual const char * GetServiceRequestName() const override
RemoveRoleFromDBClusterRequest & WithRoleArn(const Aws::String &value)
RemoveRoleFromDBClusterRequest & WithDBClusterIdentifier(const char *value)