/** * 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 QuickSight { namespace Model { class RegisterUserResult { public: AWS_QUICKSIGHT_API RegisterUserResult(); AWS_QUICKSIGHT_API RegisterUserResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API RegisterUserResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The user's user name.

*/ inline const User& GetUser() const{ return m_user; } /** *

The user's user name.

*/ inline void SetUser(const User& value) { m_user = value; } /** *

The user's user name.

*/ inline void SetUser(User&& value) { m_user = std::move(value); } /** *

The user's user name.

*/ inline RegisterUserResult& WithUser(const User& value) { SetUser(value); return *this;} /** *

The user's user name.

*/ inline RegisterUserResult& WithUser(User&& value) { SetUser(std::move(value)); return *this;} /** *

The URL the user visits to complete registration and provide a password. This * is returned only for users with an identity type of QUICKSIGHT.

*/ inline const Aws::String& GetUserInvitationUrl() const{ return m_userInvitationUrl; } /** *

The URL the user visits to complete registration and provide a password. This * is returned only for users with an identity type of QUICKSIGHT.

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

The URL the user visits to complete registration and provide a password. This * is returned only for users with an identity type of QUICKSIGHT.

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

The URL the user visits to complete registration and provide a password. This * is returned only for users with an identity type of QUICKSIGHT.

*/ inline void SetUserInvitationUrl(const char* value) { m_userInvitationUrl.assign(value); } /** *

The URL the user visits to complete registration and provide a password. This * is returned only for users with an identity type of QUICKSIGHT.

*/ inline RegisterUserResult& WithUserInvitationUrl(const Aws::String& value) { SetUserInvitationUrl(value); return *this;} /** *

The URL the user visits to complete registration and provide a password. This * is returned only for users with an identity type of QUICKSIGHT.

*/ inline RegisterUserResult& WithUserInvitationUrl(Aws::String&& value) { SetUserInvitationUrl(std::move(value)); return *this;} /** *

The URL the user visits to complete registration and provide a password. This * is returned only for users with an identity type of QUICKSIGHT.

*/ inline RegisterUserResult& WithUserInvitationUrl(const char* value) { SetUserInvitationUrl(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 RegisterUserResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline RegisterUserResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline RegisterUserResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *

The HTTP status of the request.

*/ inline int GetStatus() const{ return m_status; } /** *

The HTTP status of the request.

*/ inline void SetStatus(int value) { m_status = value; } /** *

The HTTP status of the request.

*/ inline RegisterUserResult& WithStatus(int value) { SetStatus(value); return *this;} private: User m_user; Aws::String m_userInvitationUrl; Aws::String m_requestId; int m_status; }; } // namespace Model } // namespace QuickSight } // namespace Aws