/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CognitoIdentityProvider { namespace Model { /** *

Represents the response from the server to the request to create the * user.

See Also:

AWS * API Reference

*/ class AWS_COGNITOIDENTITYPROVIDER_API AdminCreateUserResult { public: AdminCreateUserResult(); AdminCreateUserResult(const Aws::AmazonWebServiceResult& result); AdminCreateUserResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The newly created user.

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

The newly created user.

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

The newly created user.

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

The newly created user.

*/ inline AdminCreateUserResult& WithUser(const UserType& value) { SetUser(value); return *this;} /** *

The newly created user.

*/ inline AdminCreateUserResult& WithUser(UserType&& value) { SetUser(std::move(value)); return *this;} private: UserType m_user; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws