/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The data associated with the custom terminology.See Also:
* AWS
* API Reference
The file containing the custom terminology data. Your version of the AWS SDK * performs a Base64-encoding on this field before sending a request to the AWS * service. Users of the SDK should not perform Base64-encoding themselves.
*/ inline const Aws::Utils::CryptoBuffer& GetFile() const{ return m_file; } /** *The file containing the custom terminology data. Your version of the AWS SDK * performs a Base64-encoding on this field before sending a request to the AWS * service. Users of the SDK should not perform Base64-encoding themselves.
*/ inline bool FileHasBeenSet() const { return m_fileHasBeenSet; } /** *The file containing the custom terminology data. Your version of the AWS SDK * performs a Base64-encoding on this field before sending a request to the AWS * service. Users of the SDK should not perform Base64-encoding themselves.
*/ inline void SetFile(const Aws::Utils::CryptoBuffer& value) { m_fileHasBeenSet = true; m_file = value; } /** *The file containing the custom terminology data. Your version of the AWS SDK * performs a Base64-encoding on this field before sending a request to the AWS * service. Users of the SDK should not perform Base64-encoding themselves.
*/ inline void SetFile(Aws::Utils::CryptoBuffer&& value) { m_fileHasBeenSet = true; m_file = std::move(value); } /** *The file containing the custom terminology data. Your version of the AWS SDK * performs a Base64-encoding on this field before sending a request to the AWS * service. Users of the SDK should not perform Base64-encoding themselves.
*/ inline TerminologyData& WithFile(const Aws::Utils::CryptoBuffer& value) { SetFile(value); return *this;} /** *The file containing the custom terminology data. Your version of the AWS SDK * performs a Base64-encoding on this field before sending a request to the AWS * service. Users of the SDK should not perform Base64-encoding themselves.
*/ inline TerminologyData& WithFile(Aws::Utils::CryptoBuffer&& value) { SetFile(std::move(value)); return *this;} /** *The data format of the custom terminology. Either CSV or TMX.
*/ inline const TerminologyDataFormat& GetFormat() const{ return m_format; } /** *The data format of the custom terminology. Either CSV or TMX.
*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *The data format of the custom terminology. Either CSV or TMX.
*/ inline void SetFormat(const TerminologyDataFormat& value) { m_formatHasBeenSet = true; m_format = value; } /** *The data format of the custom terminology. Either CSV or TMX.
*/ inline void SetFormat(TerminologyDataFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *The data format of the custom terminology. Either CSV or TMX.
*/ inline TerminologyData& WithFormat(const TerminologyDataFormat& value) { SetFormat(value); return *this;} /** *The data format of the custom terminology. Either CSV or TMX.
*/ inline TerminologyData& WithFormat(TerminologyDataFormat&& value) { SetFormat(std::move(value)); return *this;} private: Aws::Utils::CryptoBuffer m_file; bool m_fileHasBeenSet; TerminologyDataFormat m_format; bool m_formatHasBeenSet; }; } // namespace Model } // namespace Translate } // namespace Aws