/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The term being translated by the custom terminology.See Also:
* AWS
* API Reference
The source text of the term being translated by the custom terminology.
*/ inline const Aws::String& GetSourceText() const{ return m_sourceText; } /** *The source text of the term being translated by the custom terminology.
*/ inline bool SourceTextHasBeenSet() const { return m_sourceTextHasBeenSet; } /** *The source text of the term being translated by the custom terminology.
*/ inline void SetSourceText(const Aws::String& value) { m_sourceTextHasBeenSet = true; m_sourceText = value; } /** *The source text of the term being translated by the custom terminology.
*/ inline void SetSourceText(Aws::String&& value) { m_sourceTextHasBeenSet = true; m_sourceText = std::move(value); } /** *The source text of the term being translated by the custom terminology.
*/ inline void SetSourceText(const char* value) { m_sourceTextHasBeenSet = true; m_sourceText.assign(value); } /** *The source text of the term being translated by the custom terminology.
*/ inline Term& WithSourceText(const Aws::String& value) { SetSourceText(value); return *this;} /** *The source text of the term being translated by the custom terminology.
*/ inline Term& WithSourceText(Aws::String&& value) { SetSourceText(std::move(value)); return *this;} /** *The source text of the term being translated by the custom terminology.
*/ inline Term& WithSourceText(const char* value) { SetSourceText(value); return *this;} /** *The target text of the term being translated by the custom terminology.
*/ inline const Aws::String& GetTargetText() const{ return m_targetText; } /** *The target text of the term being translated by the custom terminology.
*/ inline bool TargetTextHasBeenSet() const { return m_targetTextHasBeenSet; } /** *The target text of the term being translated by the custom terminology.
*/ inline void SetTargetText(const Aws::String& value) { m_targetTextHasBeenSet = true; m_targetText = value; } /** *The target text of the term being translated by the custom terminology.
*/ inline void SetTargetText(Aws::String&& value) { m_targetTextHasBeenSet = true; m_targetText = std::move(value); } /** *The target text of the term being translated by the custom terminology.
*/ inline void SetTargetText(const char* value) { m_targetTextHasBeenSet = true; m_targetText.assign(value); } /** *The target text of the term being translated by the custom terminology.
*/ inline Term& WithTargetText(const Aws::String& value) { SetTargetText(value); return *this;} /** *The target text of the term being translated by the custom terminology.
*/ inline Term& WithTargetText(Aws::String&& value) { SetTargetText(std::move(value)); return *this;} /** *The target text of the term being translated by the custom terminology.
*/ inline Term& WithTargetText(const char* value) { SetTargetText(value); return *this;} private: Aws::String m_sourceText; bool m_sourceTextHasBeenSet = false; Aws::String m_targetText; bool m_targetTextHasBeenSet = false; }; } // namespace Model } // namespace Translate } // namespace Aws