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

An HTTP 200 response if the request succeeds, or an error message if the * request fails.

See Also:

AWS * API Reference

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

A list of the import job summaries.

*/ inline const Aws::Vector& GetImportJobs() const{ return m_importJobs; } /** *

A list of the import job summaries.

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

A list of the import job summaries.

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

A list of the import job summaries.

*/ inline ListImportJobsResult& WithImportJobs(const Aws::Vector& value) { SetImportJobs(value); return *this;} /** *

A list of the import job summaries.

*/ inline ListImportJobsResult& WithImportJobs(Aws::Vector&& value) { SetImportJobs(std::move(value)); return *this;} /** *

A list of the import job summaries.

*/ inline ListImportJobsResult& AddImportJobs(const ImportJobSummary& value) { m_importJobs.push_back(value); return *this; } /** *

A list of the import job summaries.

*/ inline ListImportJobsResult& AddImportJobs(ImportJobSummary&& value) { m_importJobs.push_back(std::move(value)); return *this; } /** *

A string token indicating that there might be additional import jobs * available to be listed. Copy this token to a subsequent call to * ListImportJobs with the same parameters to retrieve the next page * of import jobs.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A string token indicating that there might be additional import jobs * available to be listed. Copy this token to a subsequent call to * ListImportJobs with the same parameters to retrieve the next page * of import jobs.

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

A string token indicating that there might be additional import jobs * available to be listed. Copy this token to a subsequent call to * ListImportJobs with the same parameters to retrieve the next page * of import jobs.

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

A string token indicating that there might be additional import jobs * available to be listed. Copy this token to a subsequent call to * ListImportJobs with the same parameters to retrieve the next page * of import jobs.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

A string token indicating that there might be additional import jobs * available to be listed. Copy this token to a subsequent call to * ListImportJobs with the same parameters to retrieve the next page * of import jobs.

*/ inline ListImportJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A string token indicating that there might be additional import jobs * available to be listed. Copy this token to a subsequent call to * ListImportJobs with the same parameters to retrieve the next page * of import jobs.

*/ inline ListImportJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A string token indicating that there might be additional import jobs * available to be listed. Copy this token to a subsequent call to * ListImportJobs with the same parameters to retrieve the next page * of import jobs.

*/ inline ListImportJobsResult& WithNextToken(const char* value) { SetNextToken(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 ListImportJobsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListImportJobsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListImportJobsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_importJobs; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace SESV2 } // namespace Aws