/** * 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 CognitoIdentityProvider { namespace Model { /** *

Represents the response from the server to the request to stop the user * import job.

See Also:

AWS * API Reference

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

The job object that represents the user import job.

*/ inline const UserImportJobType& GetUserImportJob() const{ return m_userImportJob; } /** *

The job object that represents the user import job.

*/ inline void SetUserImportJob(const UserImportJobType& value) { m_userImportJob = value; } /** *

The job object that represents the user import job.

*/ inline void SetUserImportJob(UserImportJobType&& value) { m_userImportJob = std::move(value); } /** *

The job object that represents the user import job.

*/ inline StopUserImportJobResult& WithUserImportJob(const UserImportJobType& value) { SetUserImportJob(value); return *this;} /** *

The job object that represents the user import job.

*/ inline StopUserImportJobResult& WithUserImportJob(UserImportJobType&& value) { SetUserImportJob(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 StopUserImportJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StopUserImportJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StopUserImportJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: UserImportJobType m_userImportJob; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws