AWS SDK for C++  1.9.108
AWS SDK for C++
UpdateRdsDbInstanceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace OpsWorks
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 "UpdateRdsDbInstance"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetRdsDbInstanceArn() const{ return m_rdsDbInstanceArn; }
41 
45  inline bool RdsDbInstanceArnHasBeenSet() const { return m_rdsDbInstanceArnHasBeenSet; }
46 
50  inline void SetRdsDbInstanceArn(const Aws::String& value) { m_rdsDbInstanceArnHasBeenSet = true; m_rdsDbInstanceArn = value; }
51 
55  inline void SetRdsDbInstanceArn(Aws::String&& value) { m_rdsDbInstanceArnHasBeenSet = true; m_rdsDbInstanceArn = std::move(value); }
56 
60  inline void SetRdsDbInstanceArn(const char* value) { m_rdsDbInstanceArnHasBeenSet = true; m_rdsDbInstanceArn.assign(value); }
61 
65  inline UpdateRdsDbInstanceRequest& WithRdsDbInstanceArn(const Aws::String& value) { SetRdsDbInstanceArn(value); return *this;}
66 
70  inline UpdateRdsDbInstanceRequest& WithRdsDbInstanceArn(Aws::String&& value) { SetRdsDbInstanceArn(std::move(value)); return *this;}
71 
75  inline UpdateRdsDbInstanceRequest& WithRdsDbInstanceArn(const char* value) { SetRdsDbInstanceArn(value); return *this;}
76 
77 
81  inline const Aws::String& GetDbUser() const{ return m_dbUser; }
82 
86  inline bool DbUserHasBeenSet() const { return m_dbUserHasBeenSet; }
87 
91  inline void SetDbUser(const Aws::String& value) { m_dbUserHasBeenSet = true; m_dbUser = value; }
92 
96  inline void SetDbUser(Aws::String&& value) { m_dbUserHasBeenSet = true; m_dbUser = std::move(value); }
97 
101  inline void SetDbUser(const char* value) { m_dbUserHasBeenSet = true; m_dbUser.assign(value); }
102 
106  inline UpdateRdsDbInstanceRequest& WithDbUser(const Aws::String& value) { SetDbUser(value); return *this;}
107 
111  inline UpdateRdsDbInstanceRequest& WithDbUser(Aws::String&& value) { SetDbUser(std::move(value)); return *this;}
112 
116  inline UpdateRdsDbInstanceRequest& WithDbUser(const char* value) { SetDbUser(value); return *this;}
117 
118 
122  inline const Aws::String& GetDbPassword() const{ return m_dbPassword; }
123 
127  inline bool DbPasswordHasBeenSet() const { return m_dbPasswordHasBeenSet; }
128 
132  inline void SetDbPassword(const Aws::String& value) { m_dbPasswordHasBeenSet = true; m_dbPassword = value; }
133 
137  inline void SetDbPassword(Aws::String&& value) { m_dbPasswordHasBeenSet = true; m_dbPassword = std::move(value); }
138 
142  inline void SetDbPassword(const char* value) { m_dbPasswordHasBeenSet = true; m_dbPassword.assign(value); }
143 
147  inline UpdateRdsDbInstanceRequest& WithDbPassword(const Aws::String& value) { SetDbPassword(value); return *this;}
148 
152  inline UpdateRdsDbInstanceRequest& WithDbPassword(Aws::String&& value) { SetDbPassword(std::move(value)); return *this;}
153 
157  inline UpdateRdsDbInstanceRequest& WithDbPassword(const char* value) { SetDbPassword(value); return *this;}
158 
159  private:
160 
161  Aws::String m_rdsDbInstanceArn;
162  bool m_rdsDbInstanceArnHasBeenSet;
163 
164  Aws::String m_dbUser;
165  bool m_dbUserHasBeenSet;
166 
167  Aws::String m_dbPassword;
168  bool m_dbPasswordHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace OpsWorks
173 } // namespace Aws
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::GetRdsDbInstanceArn
const Aws::String & GetRdsDbInstanceArn() const
Definition: UpdateRdsDbInstanceRequest.h:40
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::UpdateRdsDbInstanceRequest
UpdateRdsDbInstanceRequest()
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::WithRdsDbInstanceArn
UpdateRdsDbInstanceRequest & WithRdsDbInstanceArn(Aws::String &&value)
Definition: UpdateRdsDbInstanceRequest.h:70
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::GetDbPassword
const Aws::String & GetDbPassword() const
Definition: UpdateRdsDbInstanceRequest.h:122
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::SetDbUser
void SetDbUser(const char *value)
Definition: UpdateRdsDbInstanceRequest.h:101
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::WithDbUser
UpdateRdsDbInstanceRequest & WithDbUser(const Aws::String &value)
Definition: UpdateRdsDbInstanceRequest.h:106
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::WithDbUser
UpdateRdsDbInstanceRequest & WithDbUser(Aws::String &&value)
Definition: UpdateRdsDbInstanceRequest.h:111
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::SetDbPassword
void SetDbPassword(const Aws::String &value)
Definition: UpdateRdsDbInstanceRequest.h:132
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::SetDbUser
void SetDbUser(const Aws::String &value)
Definition: UpdateRdsDbInstanceRequest.h:91
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::WithDbPassword
UpdateRdsDbInstanceRequest & WithDbPassword(Aws::String &&value)
Definition: UpdateRdsDbInstanceRequest.h:152
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::SetDbUser
void SetDbUser(Aws::String &&value)
Definition: UpdateRdsDbInstanceRequest.h:96
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::DbUserHasBeenSet
bool DbUserHasBeenSet() const
Definition: UpdateRdsDbInstanceRequest.h:86
Aws::OpsWorks::OpsWorksRequest
Definition: OpsWorksRequest.h:17
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::SetRdsDbInstanceArn
void SetRdsDbInstanceArn(Aws::String &&value)
Definition: UpdateRdsDbInstanceRequest.h:55
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateRdsDbInstanceRequest.h:30
OpsWorksRequest.h
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::RdsDbInstanceArnHasBeenSet
bool RdsDbInstanceArnHasBeenSet() const
Definition: UpdateRdsDbInstanceRequest.h:45
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::WithDbPassword
UpdateRdsDbInstanceRequest & WithDbPassword(const Aws::String &value)
Definition: UpdateRdsDbInstanceRequest.h:147
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::WithDbPassword
UpdateRdsDbInstanceRequest & WithDbPassword(const char *value)
Definition: UpdateRdsDbInstanceRequest.h:157
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::WithRdsDbInstanceArn
UpdateRdsDbInstanceRequest & WithRdsDbInstanceArn(const Aws::String &value)
Definition: UpdateRdsDbInstanceRequest.h:65
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::WithDbUser
UpdateRdsDbInstanceRequest & WithDbUser(const char *value)
Definition: UpdateRdsDbInstanceRequest.h:116
AWSString.h
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::DbPasswordHasBeenSet
bool DbPasswordHasBeenSet() const
Definition: UpdateRdsDbInstanceRequest.h:127
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::SetRdsDbInstanceArn
void SetRdsDbInstanceArn(const char *value)
Definition: UpdateRdsDbInstanceRequest.h:60
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::SetRdsDbInstanceArn
void SetRdsDbInstanceArn(const Aws::String &value)
Definition: UpdateRdsDbInstanceRequest.h:50
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::SetDbPassword
void SetDbPassword(Aws::String &&value)
Definition: UpdateRdsDbInstanceRequest.h:137
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::GetDbUser
const Aws::String & GetDbUser() const
Definition: UpdateRdsDbInstanceRequest.h:81
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::SetDbPassword
void SetDbPassword(const char *value)
Definition: UpdateRdsDbInstanceRequest.h:142
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest
Definition: UpdateRdsDbInstanceRequest.h:22
Aws::OpsWorks::Model::UpdateRdsDbInstanceRequest::WithRdsDbInstanceArn
UpdateRdsDbInstanceRequest & WithRdsDbInstanceArn(const char *value)
Definition: UpdateRdsDbInstanceRequest.h:75