/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 list the user * import jobs.

See Also:

AWS * API Reference

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

The user import jobs.

*/ inline const Aws::Vector& GetUserImportJobs() const{ return m_userImportJobs; } /** *

The user import jobs.

*/ inline void SetUserImportJobs(const Aws::Vector& value) { m_userImportJobs = value; } /** *

The user import jobs.

*/ inline void SetUserImportJobs(Aws::Vector&& value) { m_userImportJobs = std::move(value); } /** *

The user import jobs.

*/ inline ListUserImportJobsResult& WithUserImportJobs(const Aws::Vector& value) { SetUserImportJobs(value); return *this;} /** *

The user import jobs.

*/ inline ListUserImportJobsResult& WithUserImportJobs(Aws::Vector&& value) { SetUserImportJobs(std::move(value)); return *this;} /** *

The user import jobs.

*/ inline ListUserImportJobsResult& AddUserImportJobs(const UserImportJobType& value) { m_userImportJobs.push_back(value); return *this; } /** *

The user import jobs.

*/ inline ListUserImportJobsResult& AddUserImportJobs(UserImportJobType&& value) { m_userImportJobs.push_back(std::move(value)); return *this; } /** *

An identifier that can be used to return the next set of user import jobs in * the list.

*/ inline const Aws::String& GetPaginationToken() const{ return m_paginationToken; } /** *

An identifier that can be used to return the next set of user import jobs in * the list.

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

An identifier that can be used to return the next set of user import jobs in * the list.

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

An identifier that can be used to return the next set of user import jobs in * the list.

*/ inline void SetPaginationToken(const char* value) { m_paginationToken.assign(value); } /** *

An identifier that can be used to return the next set of user import jobs in * the list.

*/ inline ListUserImportJobsResult& WithPaginationToken(const Aws::String& value) { SetPaginationToken(value); return *this;} /** *

An identifier that can be used to return the next set of user import jobs in * the list.

*/ inline ListUserImportJobsResult& WithPaginationToken(Aws::String&& value) { SetPaginationToken(std::move(value)); return *this;} /** *

An identifier that can be used to return the next set of user import jobs in * the list.

*/ inline ListUserImportJobsResult& WithPaginationToken(const char* value) { SetPaginationToken(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 ListUserImportJobsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListUserImportJobsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListUserImportJobsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_userImportJobs; Aws::String m_paginationToken; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws