AWS SDK for C++  1.9.130
AWS SDK for C++
GetRelationalDatabaseMasterUserPasswordRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Lightsail
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "GetRelationalDatabaseMasterUserPassword"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetRelationalDatabaseName() const{ return m_relationalDatabaseName; }
42 
46  inline bool RelationalDatabaseNameHasBeenSet() const { return m_relationalDatabaseNameHasBeenSet; }
47 
51  inline void SetRelationalDatabaseName(const Aws::String& value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName = value; }
52 
56  inline void SetRelationalDatabaseName(Aws::String&& value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName = std::move(value); }
57 
61  inline void SetRelationalDatabaseName(const char* value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName.assign(value); }
62 
66  inline GetRelationalDatabaseMasterUserPasswordRequest& WithRelationalDatabaseName(const Aws::String& value) { SetRelationalDatabaseName(value); return *this;}
67 
71  inline GetRelationalDatabaseMasterUserPasswordRequest& WithRelationalDatabaseName(Aws::String&& value) { SetRelationalDatabaseName(std::move(value)); return *this;}
72 
76  inline GetRelationalDatabaseMasterUserPasswordRequest& WithRelationalDatabaseName(const char* value) { SetRelationalDatabaseName(value); return *this;}
77 
78 
87  inline const RelationalDatabasePasswordVersion& GetPasswordVersion() const{ return m_passwordVersion; }
88 
97  inline bool PasswordVersionHasBeenSet() const { return m_passwordVersionHasBeenSet; }
98 
107  inline void SetPasswordVersion(const RelationalDatabasePasswordVersion& value) { m_passwordVersionHasBeenSet = true; m_passwordVersion = value; }
108 
117  inline void SetPasswordVersion(RelationalDatabasePasswordVersion&& value) { m_passwordVersionHasBeenSet = true; m_passwordVersion = std::move(value); }
118 
127  inline GetRelationalDatabaseMasterUserPasswordRequest& WithPasswordVersion(const RelationalDatabasePasswordVersion& value) { SetPasswordVersion(value); return *this;}
128 
137  inline GetRelationalDatabaseMasterUserPasswordRequest& WithPasswordVersion(RelationalDatabasePasswordVersion&& value) { SetPasswordVersion(std::move(value)); return *this;}
138 
139  private:
140 
141  Aws::String m_relationalDatabaseName;
142  bool m_relationalDatabaseNameHasBeenSet;
143 
144  RelationalDatabasePasswordVersion m_passwordVersion;
145  bool m_passwordVersionHasBeenSet;
146  };
147 
148 } // namespace Model
149 } // namespace Lightsail
150 } // namespace Aws
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::SetPasswordVersion
void SetPasswordVersion(RelationalDatabasePasswordVersion &&value)
Definition: GetRelationalDatabaseMasterUserPasswordRequest.h:117
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::WithPasswordVersion
GetRelationalDatabaseMasterUserPasswordRequest & WithPasswordVersion(RelationalDatabasePasswordVersion &&value)
Definition: GetRelationalDatabaseMasterUserPasswordRequest.h:137
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::GetRelationalDatabaseMasterUserPasswordRequest
GetRelationalDatabaseMasterUserPasswordRequest()
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetRelationalDatabaseMasterUserPasswordRequest.h:31
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::GetRelationalDatabaseName
const Aws::String & GetRelationalDatabaseName() const
Definition: GetRelationalDatabaseMasterUserPasswordRequest.h:41
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::WithRelationalDatabaseName
GetRelationalDatabaseMasterUserPasswordRequest & WithRelationalDatabaseName(const Aws::String &value)
Definition: GetRelationalDatabaseMasterUserPasswordRequest.h:66
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::WithPasswordVersion
GetRelationalDatabaseMasterUserPasswordRequest & WithPasswordVersion(const RelationalDatabasePasswordVersion &value)
Definition: GetRelationalDatabaseMasterUserPasswordRequest.h:127
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::SetRelationalDatabaseName
void SetRelationalDatabaseName(const char *value)
Definition: GetRelationalDatabaseMasterUserPasswordRequest.h:61
RelationalDatabasePasswordVersion.h
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::WithRelationalDatabaseName
GetRelationalDatabaseMasterUserPasswordRequest & WithRelationalDatabaseName(Aws::String &&value)
Definition: GetRelationalDatabaseMasterUserPasswordRequest.h:71
LightsailRequest.h
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::GetPasswordVersion
const RelationalDatabasePasswordVersion & GetPasswordVersion() const
Definition: GetRelationalDatabaseMasterUserPasswordRequest.h:87
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::SetRelationalDatabaseName
void SetRelationalDatabaseName(Aws::String &&value)
Definition: GetRelationalDatabaseMasterUserPasswordRequest.h:56
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::SetRelationalDatabaseName
void SetRelationalDatabaseName(const Aws::String &value)
Definition: GetRelationalDatabaseMasterUserPasswordRequest.h:51
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::SetPasswordVersion
void SetPasswordVersion(const RelationalDatabasePasswordVersion &value)
Definition: GetRelationalDatabaseMasterUserPasswordRequest.h:107
Aws::Lightsail::LightsailRequest
Definition: LightsailRequest.h:17
AWSString.h
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest
Definition: GetRelationalDatabaseMasterUserPasswordRequest.h:23
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::WithRelationalDatabaseName
GetRelationalDatabaseMasterUserPasswordRequest & WithRelationalDatabaseName(const char *value)
Definition: GetRelationalDatabaseMasterUserPasswordRequest.h:76
Lightsail_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::RelationalDatabaseNameHasBeenSet
bool RelationalDatabaseNameHasBeenSet() const
Definition: GetRelationalDatabaseMasterUserPasswordRequest.h:46
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::RelationalDatabasePasswordVersion
RelationalDatabasePasswordVersion
Definition: RelationalDatabasePasswordVersion.h:17
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordRequest::PasswordVersionHasBeenSet
bool PasswordVersionHasBeenSet() const
Definition: GetRelationalDatabaseMasterUserPasswordRequest.h:97