/** * 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 for the request to create a user * pool.

See Also:

AWS * API Reference

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

A container for the user pool details.

*/ inline const UserPoolType& GetUserPool() const{ return m_userPool; } /** *

A container for the user pool details.

*/ inline void SetUserPool(const UserPoolType& value) { m_userPool = value; } /** *

A container for the user pool details.

*/ inline void SetUserPool(UserPoolType&& value) { m_userPool = std::move(value); } /** *

A container for the user pool details.

*/ inline CreateUserPoolResult& WithUserPool(const UserPoolType& value) { SetUserPool(value); return *this;} /** *

A container for the user pool details.

*/ inline CreateUserPoolResult& WithUserPool(UserPoolType&& value) { SetUserPool(std::move(value)); return *this;} private: UserPoolType m_userPool; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws