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

A list of project descriptions. The list is sorted by the date and time the * projects are created.

*/ inline const Aws::Vector& GetProjectDescriptions() const{ return m_projectDescriptions; } /** *

A list of project descriptions. The list is sorted by the date and time the * projects are created.

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

A list of project descriptions. The list is sorted by the date and time the * projects are created.

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

A list of project descriptions. The list is sorted by the date and time the * projects are created.

*/ inline DescribeProjectsResult& WithProjectDescriptions(const Aws::Vector& value) { SetProjectDescriptions(value); return *this;} /** *

A list of project descriptions. The list is sorted by the date and time the * projects are created.

*/ inline DescribeProjectsResult& WithProjectDescriptions(Aws::Vector&& value) { SetProjectDescriptions(std::move(value)); return *this;} /** *

A list of project descriptions. The list is sorted by the date and time the * projects are created.

*/ inline DescribeProjectsResult& AddProjectDescriptions(const ProjectDescription& value) { m_projectDescriptions.push_back(value); return *this; } /** *

A list of project descriptions. The list is sorted by the date and time the * projects are created.

*/ inline DescribeProjectsResult& AddProjectDescriptions(ProjectDescription&& value) { m_projectDescriptions.push_back(std::move(value)); return *this; } /** *

If the previous response was incomplete (because there is more results to * retrieve), Amazon Rekognition Custom Labels 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 Rekognition Custom Labels 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 Rekognition Custom Labels 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 Rekognition Custom Labels 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 Rekognition Custom Labels returns a pagination token in the * response. You can use this pagination token to retrieve the next set of results. *

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

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

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

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

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