/** * 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 LookoutforVision { namespace Model { class ListModelPackagingJobsResult { public: AWS_LOOKOUTFORVISION_API ListModelPackagingJobsResult(); AWS_LOOKOUTFORVISION_API ListModelPackagingJobsResult(const Aws::AmazonWebServiceResult& result); AWS_LOOKOUTFORVISION_API ListModelPackagingJobsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of the model packaging jobs created for the specified Amazon Lookout * for Vision project.

*/ inline const Aws::Vector& GetModelPackagingJobs() const{ return m_modelPackagingJobs; } /** *

A list of the model packaging jobs created for the specified Amazon Lookout * for Vision project.

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

A list of the model packaging jobs created for the specified Amazon Lookout * for Vision project.

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

A list of the model packaging jobs created for the specified Amazon Lookout * for Vision project.

*/ inline ListModelPackagingJobsResult& WithModelPackagingJobs(const Aws::Vector& value) { SetModelPackagingJobs(value); return *this;} /** *

A list of the model packaging jobs created for the specified Amazon Lookout * for Vision project.

*/ inline ListModelPackagingJobsResult& WithModelPackagingJobs(Aws::Vector&& value) { SetModelPackagingJobs(std::move(value)); return *this;} /** *

A list of the model packaging jobs created for the specified Amazon Lookout * for Vision project.

*/ inline ListModelPackagingJobsResult& AddModelPackagingJobs(const ModelPackagingJobMetadata& value) { m_modelPackagingJobs.push_back(value); return *this; } /** *

A list of the model packaging jobs created for the specified Amazon Lookout * for Vision project.

*/ inline ListModelPackagingJobsResult& AddModelPackagingJobs(ModelPackagingJobMetadata&& value) { m_modelPackagingJobs.push_back(std::move(value)); return *this; } /** *

If the previous response was incomplete (because there is more results to * retrieve), Amazon Lookout for Vision returns a pagination token in the response. * You can use this pagination token to retrieve the next set of results.

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

If the previous response was incomplete (because there is more results to * retrieve), Amazon Lookout for Vision returns a pagination token in the response. * You can use this pagination token to retrieve the next set of results.

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

If the previous response was incomplete (because there is more results to * retrieve), Amazon Lookout for Vision returns a pagination token in the response. * You can use this pagination token to retrieve the next set of results.

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

If the previous response was incomplete (because there is more results to * retrieve), Amazon Lookout for Vision returns a pagination token in the response. * You can use this pagination token to retrieve the next set of results.

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

If the previous response was incomplete (because there is more results to * retrieve), Amazon Lookout for Vision returns a pagination token in the response. * You can use this pagination token to retrieve the next set of results.

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

If the previous response was incomplete (because there is more results to * retrieve), Amazon Lookout for Vision returns a pagination token in the response. * You can use this pagination token to retrieve the next set of results.

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

If the previous response was incomplete (because there is more results to * retrieve), Amazon Lookout for Vision returns a pagination token in the response. * You can use this pagination token to retrieve the next set of results.

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