AWS SDK for C++  1.9.20
AWS SDK for C++
GetRelationalDatabaseMasterUserPasswordResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Lightsail
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
40 
44  inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPassword = value; }
45 
49  inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPassword = std::move(value); }
50 
54  inline void SetMasterUserPassword(const char* value) { m_masterUserPassword.assign(value); }
55 
59  inline GetRelationalDatabaseMasterUserPasswordResult& WithMasterUserPassword(const Aws::String& value) { SetMasterUserPassword(value); return *this;}
60 
64  inline GetRelationalDatabaseMasterUserPasswordResult& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;}
65 
69  inline GetRelationalDatabaseMasterUserPasswordResult& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;}
70 
71 
76  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
77 
82  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
83 
88  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
89 
94  inline GetRelationalDatabaseMasterUserPasswordResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
95 
100  inline GetRelationalDatabaseMasterUserPasswordResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
101 
102  private:
103 
104  Aws::String m_masterUserPassword;
105 
106  Aws::Utils::DateTime m_createdAt;
107  };
108 
109 } // namespace Model
110 } // namespace Lightsail
111 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordResult::WithCreatedAt
GetRelationalDatabaseMasterUserPasswordResult & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: GetRelationalDatabaseMasterUserPasswordResult.h:94
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordResult::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: GetRelationalDatabaseMasterUserPasswordResult.h:88
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordResult::SetMasterUserPassword
void SetMasterUserPassword(const char *value)
Definition: GetRelationalDatabaseMasterUserPasswordResult.h:54
DateTime.h
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordResult::SetMasterUserPassword
void SetMasterUserPassword(Aws::String &&value)
Definition: GetRelationalDatabaseMasterUserPasswordResult.h:49
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordResult::GetMasterUserPassword
const Aws::String & GetMasterUserPassword() const
Definition: GetRelationalDatabaseMasterUserPasswordResult.h:39
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordResult
Definition: GetRelationalDatabaseMasterUserPasswordResult.h:29
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordResult::WithCreatedAt
GetRelationalDatabaseMasterUserPasswordResult & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: GetRelationalDatabaseMasterUserPasswordResult.h:100
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordResult::SetMasterUserPassword
void SetMasterUserPassword(const Aws::String &value)
Definition: GetRelationalDatabaseMasterUserPasswordResult.h:44
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordResult::operator=
GetRelationalDatabaseMasterUserPasswordResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordResult::WithMasterUserPassword
GetRelationalDatabaseMasterUserPasswordResult & WithMasterUserPassword(const char *value)
Definition: GetRelationalDatabaseMasterUserPasswordResult.h:69
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordResult::GetRelationalDatabaseMasterUserPasswordResult
GetRelationalDatabaseMasterUserPasswordResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordResult::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: GetRelationalDatabaseMasterUserPasswordResult.h:76
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordResult::WithMasterUserPassword
GetRelationalDatabaseMasterUserPasswordResult & WithMasterUserPassword(Aws::String &&value)
Definition: GetRelationalDatabaseMasterUserPasswordResult.h:64
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordResult::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: GetRelationalDatabaseMasterUserPasswordResult.h:82
Aws::Lightsail::Model::GetRelationalDatabaseMasterUserPasswordResult::WithMasterUserPassword
GetRelationalDatabaseMasterUserPasswordResult & WithMasterUserPassword(const Aws::String &value)
Definition: GetRelationalDatabaseMasterUserPasswordResult.h:59
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::GetRelationalDatabaseMasterUserPasswordResult::GetRelationalDatabaseMasterUserPasswordResult
GetRelationalDatabaseMasterUserPasswordResult()
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28