/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The custom terminology applied to the input text by Amazon Translate for the
* translated text response. This is optional in the response and will only be
* present if you specified terminology input in the request. Currently, only one
* terminology can be applied per TranslateText request.See Also:
* AWS
* API Reference
The name of the custom terminology applied to the input text by Amazon * Translate for the translated text response.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the custom terminology applied to the input text by Amazon * Translate for the translated text response.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the custom terminology applied to the input text by Amazon * Translate for the translated text response.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the custom terminology applied to the input text by Amazon * Translate for the translated text response.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the custom terminology applied to the input text by Amazon * Translate for the translated text response.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the custom terminology applied to the input text by Amazon * Translate for the translated text response.
*/ inline AppliedTerminology& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the custom terminology applied to the input text by Amazon * Translate for the translated text response.
*/ inline AppliedTerminology& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the custom terminology applied to the input text by Amazon * Translate for the translated text response.
*/ inline AppliedTerminology& WithName(const char* value) { SetName(value); return *this;} /** *The specific terms of the custom terminology applied to the input text by * Amazon Translate for the translated text response. A maximum of 250 terms will * be returned, and the specific terms applied will be the first 250 terms in the * source text.
*/ inline const Aws::VectorThe specific terms of the custom terminology applied to the input text by * Amazon Translate for the translated text response. A maximum of 250 terms will * be returned, and the specific terms applied will be the first 250 terms in the * source text.
*/ inline bool TermsHasBeenSet() const { return m_termsHasBeenSet; } /** *The specific terms of the custom terminology applied to the input text by * Amazon Translate for the translated text response. A maximum of 250 terms will * be returned, and the specific terms applied will be the first 250 terms in the * source text.
*/ inline void SetTerms(const Aws::VectorThe specific terms of the custom terminology applied to the input text by * Amazon Translate for the translated text response. A maximum of 250 terms will * be returned, and the specific terms applied will be the first 250 terms in the * source text.
*/ inline void SetTerms(Aws::VectorThe specific terms of the custom terminology applied to the input text by * Amazon Translate for the translated text response. A maximum of 250 terms will * be returned, and the specific terms applied will be the first 250 terms in the * source text.
*/ inline AppliedTerminology& WithTerms(const Aws::VectorThe specific terms of the custom terminology applied to the input text by * Amazon Translate for the translated text response. A maximum of 250 terms will * be returned, and the specific terms applied will be the first 250 terms in the * source text.
*/ inline AppliedTerminology& WithTerms(Aws::VectorThe specific terms of the custom terminology applied to the input text by * Amazon Translate for the translated text response. A maximum of 250 terms will * be returned, and the specific terms applied will be the first 250 terms in the * source text.
*/ inline AppliedTerminology& AddTerms(const Term& value) { m_termsHasBeenSet = true; m_terms.push_back(value); return *this; } /** *The specific terms of the custom terminology applied to the input text by * Amazon Translate for the translated text response. A maximum of 250 terms will * be returned, and the specific terms applied will be the first 250 terms in the * source text.
*/ inline AppliedTerminology& AddTerms(Term&& value) { m_termsHasBeenSet = true; m_terms.push_back(std::move(value)); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector