/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { template<typename RESULT_TYPE> class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CognitoIdentityProvider { namespace Model { /** * <p>Represents the response from the server for the request to enable a user as * an administrator.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminEnableUserResponse">AWS * API Reference</a></p> */ class AdminEnableUserResult { public: AWS_COGNITOIDENTITYPROVIDER_API AdminEnableUserResult(); AWS_COGNITOIDENTITYPROVIDER_API AdminEnableUserResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); AWS_COGNITOIDENTITYPROVIDER_API AdminEnableUserResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 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 AdminEnableUserResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AdminEnableUserResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AdminEnableUserResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_requestId; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws