/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Translate { namespace Model { /** *

The translated content.

See Also:

AWS * API Reference

*/ class TranslatedDocument { public: AWS_TRANSLATE_API TranslatedDocument(); AWS_TRANSLATE_API TranslatedDocument(Aws::Utils::Json::JsonView jsonValue); AWS_TRANSLATE_API TranslatedDocument& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The document containing the translated content.

*/ inline const Aws::Utils::CryptoBuffer& GetContent() const{ return m_content; } /** *

The document containing the translated content.

*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *

The document containing the translated content.

*/ inline void SetContent(const Aws::Utils::CryptoBuffer& value) { m_contentHasBeenSet = true; m_content = value; } /** *

The document containing the translated content.

*/ inline void SetContent(Aws::Utils::CryptoBuffer&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *

The document containing the translated content.

*/ inline TranslatedDocument& WithContent(const Aws::Utils::CryptoBuffer& value) { SetContent(value); return *this;} /** *

The document containing the translated content.

*/ inline TranslatedDocument& WithContent(Aws::Utils::CryptoBuffer&& value) { SetContent(std::move(value)); return *this;} private: Aws::Utils::CryptoBuffer m_content; bool m_contentHasBeenSet = false; }; } // namespace Model } // namespace Translate } // namespace Aws