/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Lightsail { namespace Model { class GetRelationalDatabaseMasterUserPasswordResult { public: AWS_LIGHTSAIL_API GetRelationalDatabaseMasterUserPasswordResult(); AWS_LIGHTSAIL_API GetRelationalDatabaseMasterUserPasswordResult(const Aws::AmazonWebServiceResult& result); AWS_LIGHTSAIL_API GetRelationalDatabaseMasterUserPasswordResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The master user password for the password version specified.

*/ inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; } /** *

The master user password for the password version specified.

*/ inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPassword = value; } /** *

The master user password for the password version specified.

*/ inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPassword = std::move(value); } /** *

The master user password for the password version specified.

*/ inline void SetMasterUserPassword(const char* value) { m_masterUserPassword.assign(value); } /** *

The master user password for the password version specified.

*/ inline GetRelationalDatabaseMasterUserPasswordResult& WithMasterUserPassword(const Aws::String& value) { SetMasterUserPassword(value); return *this;} /** *

The master user password for the password version specified.

*/ inline GetRelationalDatabaseMasterUserPasswordResult& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;} /** *

The master user password for the password version specified.

*/ inline GetRelationalDatabaseMasterUserPasswordResult& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;} /** *

The timestamp when the specified version of the master user password was * created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The timestamp when the specified version of the master user password was * created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

The timestamp when the specified version of the master user password was * created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } /** *

The timestamp when the specified version of the master user password was * created.

*/ inline GetRelationalDatabaseMasterUserPasswordResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The timestamp when the specified version of the master user password was * created.

*/ inline GetRelationalDatabaseMasterUserPasswordResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetRelationalDatabaseMasterUserPasswordResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetRelationalDatabaseMasterUserPasswordResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetRelationalDatabaseMasterUserPasswordResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_masterUserPassword; Aws::Utils::DateTime m_createdAt; Aws::String m_requestId; }; } // namespace Model } // namespace Lightsail } // namespace Aws