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

If NextToken is present in your response, it indicates that not * all results are displayed. To view the next set of results, copy the string * associated with the NextToken parameter in your results output, * then run your request again including NextToken with the value of * the copied string. Repeat as needed to view all your results.

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

If NextToken is present in your response, it indicates that not * all results are displayed. To view the next set of results, copy the string * associated with the NextToken parameter in your results output, * then run your request again including NextToken with the value of * the copied string. Repeat as needed to view all your results.

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

If NextToken is present in your response, it indicates that not * all results are displayed. To view the next set of results, copy the string * associated with the NextToken parameter in your results output, * then run your request again including NextToken with the value of * the copied string. Repeat as needed to view all your results.

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

If NextToken is present in your response, it indicates that not * all results are displayed. To view the next set of results, copy the string * associated with the NextToken parameter in your results output, * then run your request again including NextToken with the value of * the copied string. Repeat as needed to view all your results.

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

If NextToken is present in your response, it indicates that not * all results are displayed. To view the next set of results, copy the string * associated with the NextToken parameter in your results output, * then run your request again including NextToken with the value of * the copied string. Repeat as needed to view all your results.

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

If NextToken is present in your response, it indicates that not * all results are displayed. To view the next set of results, copy the string * associated with the NextToken parameter in your results output, * then run your request again including NextToken with the value of * the copied string. Repeat as needed to view all your results.

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

If NextToken is present in your response, it indicates that not * all results are displayed. To view the next set of results, copy the string * associated with the NextToken parameter in your results output, * then run your request again including NextToken with the value of * the copied string. Repeat as needed to view all your results.

*/ inline ListLanguageModelsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Provides information about the custom language models that match the criteria * specified in your request.

*/ inline const Aws::Vector& GetModels() const{ return m_models; } /** *

Provides information about the custom language models that match the criteria * specified in your request.

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

Provides information about the custom language models that match the criteria * specified in your request.

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

Provides information about the custom language models that match the criteria * specified in your request.

*/ inline ListLanguageModelsResult& WithModels(const Aws::Vector& value) { SetModels(value); return *this;} /** *

Provides information about the custom language models that match the criteria * specified in your request.

*/ inline ListLanguageModelsResult& WithModels(Aws::Vector&& value) { SetModels(std::move(value)); return *this;} /** *

Provides information about the custom language models that match the criteria * specified in your request.

*/ inline ListLanguageModelsResult& AddModels(const LanguageModel& value) { m_models.push_back(value); return *this; } /** *

Provides information about the custom language models that match the criteria * specified in your request.

*/ inline ListLanguageModelsResult& AddModels(LanguageModel&& value) { m_models.push_back(std::move(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 ListLanguageModelsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListLanguageModelsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListLanguageModelsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_models; Aws::String m_requestId; }; } // namespace Model } // namespace TranscribeService } // namespace Aws