AWS SDK for C++  1.9.105
AWS SDK for C++
RegisterRdsDbInstanceRequest.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 "RegisterRdsDbInstance"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetStackId() const{ return m_stackId; }
41 
45  inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
46 
50  inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
51 
55  inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
56 
60  inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
61 
65  inline RegisterRdsDbInstanceRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
66 
70  inline RegisterRdsDbInstanceRequest& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
71 
75  inline RegisterRdsDbInstanceRequest& WithStackId(const char* value) { SetStackId(value); return *this;}
76 
77 
81  inline const Aws::String& GetRdsDbInstanceArn() const{ return m_rdsDbInstanceArn; }
82 
86  inline bool RdsDbInstanceArnHasBeenSet() const { return m_rdsDbInstanceArnHasBeenSet; }
87 
91  inline void SetRdsDbInstanceArn(const Aws::String& value) { m_rdsDbInstanceArnHasBeenSet = true; m_rdsDbInstanceArn = value; }
92 
96  inline void SetRdsDbInstanceArn(Aws::String&& value) { m_rdsDbInstanceArnHasBeenSet = true; m_rdsDbInstanceArn = std::move(value); }
97 
101  inline void SetRdsDbInstanceArn(const char* value) { m_rdsDbInstanceArnHasBeenSet = true; m_rdsDbInstanceArn.assign(value); }
102 
106  inline RegisterRdsDbInstanceRequest& WithRdsDbInstanceArn(const Aws::String& value) { SetRdsDbInstanceArn(value); return *this;}
107 
111  inline RegisterRdsDbInstanceRequest& WithRdsDbInstanceArn(Aws::String&& value) { SetRdsDbInstanceArn(std::move(value)); return *this;}
112 
116  inline RegisterRdsDbInstanceRequest& WithRdsDbInstanceArn(const char* value) { SetRdsDbInstanceArn(value); return *this;}
117 
118 
122  inline const Aws::String& GetDbUser() const{ return m_dbUser; }
123 
127  inline bool DbUserHasBeenSet() const { return m_dbUserHasBeenSet; }
128 
132  inline void SetDbUser(const Aws::String& value) { m_dbUserHasBeenSet = true; m_dbUser = value; }
133 
137  inline void SetDbUser(Aws::String&& value) { m_dbUserHasBeenSet = true; m_dbUser = std::move(value); }
138 
142  inline void SetDbUser(const char* value) { m_dbUserHasBeenSet = true; m_dbUser.assign(value); }
143 
147  inline RegisterRdsDbInstanceRequest& WithDbUser(const Aws::String& value) { SetDbUser(value); return *this;}
148 
152  inline RegisterRdsDbInstanceRequest& WithDbUser(Aws::String&& value) { SetDbUser(std::move(value)); return *this;}
153 
157  inline RegisterRdsDbInstanceRequest& WithDbUser(const char* value) { SetDbUser(value); return *this;}
158 
159 
163  inline const Aws::String& GetDbPassword() const{ return m_dbPassword; }
164 
168  inline bool DbPasswordHasBeenSet() const { return m_dbPasswordHasBeenSet; }
169 
173  inline void SetDbPassword(const Aws::String& value) { m_dbPasswordHasBeenSet = true; m_dbPassword = value; }
174 
178  inline void SetDbPassword(Aws::String&& value) { m_dbPasswordHasBeenSet = true; m_dbPassword = std::move(value); }
179 
183  inline void SetDbPassword(const char* value) { m_dbPasswordHasBeenSet = true; m_dbPassword.assign(value); }
184 
188  inline RegisterRdsDbInstanceRequest& WithDbPassword(const Aws::String& value) { SetDbPassword(value); return *this;}
189 
193  inline RegisterRdsDbInstanceRequest& WithDbPassword(Aws::String&& value) { SetDbPassword(std::move(value)); return *this;}
194 
198  inline RegisterRdsDbInstanceRequest& WithDbPassword(const char* value) { SetDbPassword(value); return *this;}
199 
200  private:
201 
202  Aws::String m_stackId;
203  bool m_stackIdHasBeenSet;
204 
205  Aws::String m_rdsDbInstanceArn;
206  bool m_rdsDbInstanceArnHasBeenSet;
207 
208  Aws::String m_dbUser;
209  bool m_dbUserHasBeenSet;
210 
211  Aws::String m_dbPassword;
212  bool m_dbPasswordHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace OpsWorks
217 } // namespace Aws
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::WithRdsDbInstanceArn
RegisterRdsDbInstanceRequest & WithRdsDbInstanceArn(const char *value)
Definition: RegisterRdsDbInstanceRequest.h:116
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::WithDbPassword
RegisterRdsDbInstanceRequest & WithDbPassword(Aws::String &&value)
Definition: RegisterRdsDbInstanceRequest.h:193
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::RdsDbInstanceArnHasBeenSet
bool RdsDbInstanceArnHasBeenSet() const
Definition: RegisterRdsDbInstanceRequest.h:86
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::GetDbPassword
const Aws::String & GetDbPassword() const
Definition: RegisterRdsDbInstanceRequest.h:163
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::SetDbUser
void SetDbUser(Aws::String &&value)
Definition: RegisterRdsDbInstanceRequest.h:137
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::SetStackId
void SetStackId(Aws::String &&value)
Definition: RegisterRdsDbInstanceRequest.h:55
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::GetDbUser
const Aws::String & GetDbUser() const
Definition: RegisterRdsDbInstanceRequest.h:122
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::WithRdsDbInstanceArn
RegisterRdsDbInstanceRequest & WithRdsDbInstanceArn(const Aws::String &value)
Definition: RegisterRdsDbInstanceRequest.h:106
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::GetRdsDbInstanceArn
const Aws::String & GetRdsDbInstanceArn() const
Definition: RegisterRdsDbInstanceRequest.h:81
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::DbUserHasBeenSet
bool DbUserHasBeenSet() const
Definition: RegisterRdsDbInstanceRequest.h:127
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::WithDbPassword
RegisterRdsDbInstanceRequest & WithDbPassword(const Aws::String &value)
Definition: RegisterRdsDbInstanceRequest.h:188
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::SetDbPassword
void SetDbPassword(const char *value)
Definition: RegisterRdsDbInstanceRequest.h:183
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::SetRdsDbInstanceArn
void SetRdsDbInstanceArn(const char *value)
Definition: RegisterRdsDbInstanceRequest.h:101
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::SetRdsDbInstanceArn
void SetRdsDbInstanceArn(Aws::String &&value)
Definition: RegisterRdsDbInstanceRequest.h:96
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::WithDbUser
RegisterRdsDbInstanceRequest & WithDbUser(const char *value)
Definition: RegisterRdsDbInstanceRequest.h:157
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest
Definition: RegisterRdsDbInstanceRequest.h:22
Aws::OpsWorks::OpsWorksRequest
Definition: OpsWorksRequest.h:17
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::WithStackId
RegisterRdsDbInstanceRequest & WithStackId(const Aws::String &value)
Definition: RegisterRdsDbInstanceRequest.h:65
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::SetDbPassword
void SetDbPassword(Aws::String &&value)
Definition: RegisterRdsDbInstanceRequest.h:178
OpsWorksRequest.h
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RegisterRdsDbInstanceRequest.h:30
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::SetDbUser
void SetDbUser(const Aws::String &value)
Definition: RegisterRdsDbInstanceRequest.h:132
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::StackIdHasBeenSet
bool StackIdHasBeenSet() const
Definition: RegisterRdsDbInstanceRequest.h:45
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::WithDbUser
RegisterRdsDbInstanceRequest & WithDbUser(Aws::String &&value)
Definition: RegisterRdsDbInstanceRequest.h:152
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::SetRdsDbInstanceArn
void SetRdsDbInstanceArn(const Aws::String &value)
Definition: RegisterRdsDbInstanceRequest.h:91
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::WithDbPassword
RegisterRdsDbInstanceRequest & WithDbPassword(const char *value)
Definition: RegisterRdsDbInstanceRequest.h:198
AWSString.h
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::SetDbUser
void SetDbUser(const char *value)
Definition: RegisterRdsDbInstanceRequest.h:142
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::SetStackId
void SetStackId(const Aws::String &value)
Definition: RegisterRdsDbInstanceRequest.h:50
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::WithDbUser
RegisterRdsDbInstanceRequest & WithDbUser(const Aws::String &value)
Definition: RegisterRdsDbInstanceRequest.h:147
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::SetDbPassword
void SetDbPassword(const Aws::String &value)
Definition: RegisterRdsDbInstanceRequest.h:173
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::WithStackId
RegisterRdsDbInstanceRequest & WithStackId(const char *value)
Definition: RegisterRdsDbInstanceRequest.h:75
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::WithStackId
RegisterRdsDbInstanceRequest & WithStackId(Aws::String &&value)
Definition: RegisterRdsDbInstanceRequest.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::DbPasswordHasBeenSet
bool DbPasswordHasBeenSet() const
Definition: RegisterRdsDbInstanceRequest.h:168
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::GetStackId
const Aws::String & GetStackId() const
Definition: RegisterRdsDbInstanceRequest.h:40
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::SetStackId
void SetStackId(const char *value)
Definition: RegisterRdsDbInstanceRequest.h:60
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::WithRdsDbInstanceArn
RegisterRdsDbInstanceRequest & WithRdsDbInstanceArn(Aws::String &&value)
Definition: RegisterRdsDbInstanceRequest.h:111
Aws::OpsWorks::Model::RegisterRdsDbInstanceRequest::RegisterRdsDbInstanceRequest
RegisterRdsDbInstanceRequest()