This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-rekognition/include/aws/rekognition/model/DescribeProjectVersionsResult.h

146 lines
5.9 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/rekognition/Rekognition_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/rekognition/model/ProjectVersionDescription.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Rekognition
{
namespace Model
{
class AWS_REKOGNITION_API DescribeProjectVersionsResult
{
public:
DescribeProjectVersionsResult();
DescribeProjectVersionsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeProjectVersionsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of model descriptions. The list is sorted by the creation date and
* time of the model versions, latest to earliest.</p>
*/
inline const Aws::Vector<ProjectVersionDescription>& GetProjectVersionDescriptions() const{ return m_projectVersionDescriptions; }
/**
* <p>A list of model descriptions. The list is sorted by the creation date and
* time of the model versions, latest to earliest.</p>
*/
inline void SetProjectVersionDescriptions(const Aws::Vector<ProjectVersionDescription>& value) { m_projectVersionDescriptions = value; }
/**
* <p>A list of model descriptions. The list is sorted by the creation date and
* time of the model versions, latest to earliest.</p>
*/
inline void SetProjectVersionDescriptions(Aws::Vector<ProjectVersionDescription>&& value) { m_projectVersionDescriptions = std::move(value); }
/**
* <p>A list of model descriptions. The list is sorted by the creation date and
* time of the model versions, latest to earliest.</p>
*/
inline DescribeProjectVersionsResult& WithProjectVersionDescriptions(const Aws::Vector<ProjectVersionDescription>& value) { SetProjectVersionDescriptions(value); return *this;}
/**
* <p>A list of model descriptions. The list is sorted by the creation date and
* time of the model versions, latest to earliest.</p>
*/
inline DescribeProjectVersionsResult& WithProjectVersionDescriptions(Aws::Vector<ProjectVersionDescription>&& value) { SetProjectVersionDescriptions(std::move(value)); return *this;}
/**
* <p>A list of model descriptions. The list is sorted by the creation date and
* time of the model versions, latest to earliest.</p>
*/
inline DescribeProjectVersionsResult& AddProjectVersionDescriptions(const ProjectVersionDescription& value) { m_projectVersionDescriptions.push_back(value); return *this; }
/**
* <p>A list of model descriptions. The list is sorted by the creation date and
* time of the model versions, latest to earliest.</p>
*/
inline DescribeProjectVersionsResult& AddProjectVersionDescriptions(ProjectVersionDescription&& value) { m_projectVersionDescriptions.push_back(std::move(value)); return *this; }
/**
* <p>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.
* </p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>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.
* </p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>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.
* </p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>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.
* </p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>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.
* </p>
*/
inline DescribeProjectVersionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>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.
* </p>
*/
inline DescribeProjectVersionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>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.
* </p>
*/
inline DescribeProjectVersionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<ProjectVersionDescription> m_projectVersionDescriptions;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace Rekognition
} // namespace Aws