/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The location of the custom terminology data.See Also:
AWS
* API Reference
The repository type for the custom terminology data.
*/ inline const Aws::String& GetRepositoryType() const{ return m_repositoryType; } /** *The repository type for the custom terminology data.
*/ inline bool RepositoryTypeHasBeenSet() const { return m_repositoryTypeHasBeenSet; } /** *The repository type for the custom terminology data.
*/ inline void SetRepositoryType(const Aws::String& value) { m_repositoryTypeHasBeenSet = true; m_repositoryType = value; } /** *The repository type for the custom terminology data.
*/ inline void SetRepositoryType(Aws::String&& value) { m_repositoryTypeHasBeenSet = true; m_repositoryType = std::move(value); } /** *The repository type for the custom terminology data.
*/ inline void SetRepositoryType(const char* value) { m_repositoryTypeHasBeenSet = true; m_repositoryType.assign(value); } /** *The repository type for the custom terminology data.
*/ inline TerminologyDataLocation& WithRepositoryType(const Aws::String& value) { SetRepositoryType(value); return *this;} /** *The repository type for the custom terminology data.
*/ inline TerminologyDataLocation& WithRepositoryType(Aws::String&& value) { SetRepositoryType(std::move(value)); return *this;} /** *The repository type for the custom terminology data.
*/ inline TerminologyDataLocation& WithRepositoryType(const char* value) { SetRepositoryType(value); return *this;} /** *The Amazon S3 location of the most recent custom terminology input file that * was successfully imported into Amazon Translate. The location is returned as a * presigned URL that has a 30-minute expiration .
Amazon * Translate doesn't scan all input files for the risk of CSV injection attacks. *
CSV injection occurs when a .csv or .tsv file is altered so that a * record contains malicious code. The record begins with a special character, such * as =, +, -, or @. When the file is opened in a spreadsheet program, the program * might interpret the record as a formula and run the code within it.
*Before you download an input file from Amazon S3, ensure that you recognize * the file and trust its creator.
*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *The Amazon S3 location of the most recent custom terminology input file that * was successfully imported into Amazon Translate. The location is returned as a * presigned URL that has a 30-minute expiration .
Amazon * Translate doesn't scan all input files for the risk of CSV injection attacks. *
CSV injection occurs when a .csv or .tsv file is altered so that a * record contains malicious code. The record begins with a special character, such * as =, +, -, or @. When the file is opened in a spreadsheet program, the program * might interpret the record as a formula and run the code within it.
*Before you download an input file from Amazon S3, ensure that you recognize * the file and trust its creator.
*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *The Amazon S3 location of the most recent custom terminology input file that * was successfully imported into Amazon Translate. The location is returned as a * presigned URL that has a 30-minute expiration .
Amazon * Translate doesn't scan all input files for the risk of CSV injection attacks. *
CSV injection occurs when a .csv or .tsv file is altered so that a * record contains malicious code. The record begins with a special character, such * as =, +, -, or @. When the file is opened in a spreadsheet program, the program * might interpret the record as a formula and run the code within it.
*Before you download an input file from Amazon S3, ensure that you recognize * the file and trust its creator.
*/ inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; } /** *The Amazon S3 location of the most recent custom terminology input file that * was successfully imported into Amazon Translate. The location is returned as a * presigned URL that has a 30-minute expiration .
Amazon * Translate doesn't scan all input files for the risk of CSV injection attacks. *
CSV injection occurs when a .csv or .tsv file is altered so that a * record contains malicious code. The record begins with a special character, such * as =, +, -, or @. When the file is opened in a spreadsheet program, the program * might interpret the record as a formula and run the code within it.
*Before you download an input file from Amazon S3, ensure that you recognize * the file and trust its creator.
*/ inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *The Amazon S3 location of the most recent custom terminology input file that * was successfully imported into Amazon Translate. The location is returned as a * presigned URL that has a 30-minute expiration .
Amazon * Translate doesn't scan all input files for the risk of CSV injection attacks. *
CSV injection occurs when a .csv or .tsv file is altered so that a * record contains malicious code. The record begins with a special character, such * as =, +, -, or @. When the file is opened in a spreadsheet program, the program * might interpret the record as a formula and run the code within it.
*Before you download an input file from Amazon S3, ensure that you recognize * the file and trust its creator.
*/ inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); } /** *The Amazon S3 location of the most recent custom terminology input file that * was successfully imported into Amazon Translate. The location is returned as a * presigned URL that has a 30-minute expiration .
Amazon * Translate doesn't scan all input files for the risk of CSV injection attacks. *
CSV injection occurs when a .csv or .tsv file is altered so that a * record contains malicious code. The record begins with a special character, such * as =, +, -, or @. When the file is opened in a spreadsheet program, the program * might interpret the record as a formula and run the code within it.
*Before you download an input file from Amazon S3, ensure that you recognize * the file and trust its creator.
*/ inline TerminologyDataLocation& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *The Amazon S3 location of the most recent custom terminology input file that * was successfully imported into Amazon Translate. The location is returned as a * presigned URL that has a 30-minute expiration .
Amazon * Translate doesn't scan all input files for the risk of CSV injection attacks. *
CSV injection occurs when a .csv or .tsv file is altered so that a * record contains malicious code. The record begins with a special character, such * as =, +, -, or @. When the file is opened in a spreadsheet program, the program * might interpret the record as a formula and run the code within it.
*Before you download an input file from Amazon S3, ensure that you recognize * the file and trust its creator.
*/ inline TerminologyDataLocation& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *The Amazon S3 location of the most recent custom terminology input file that * was successfully imported into Amazon Translate. The location is returned as a * presigned URL that has a 30-minute expiration .
Amazon * Translate doesn't scan all input files for the risk of CSV injection attacks. *
CSV injection occurs when a .csv or .tsv file is altered so that a * record contains malicious code. The record begins with a special character, such * as =, +, -, or @. When the file is opened in a spreadsheet program, the program * might interpret the record as a formula and run the code within it.
*Before you download an input file from Amazon S3, ensure that you recognize * the file and trust its creator.
*/ inline TerminologyDataLocation& WithLocation(const char* value) { SetLocation(value); return *this;} private: Aws::String m_repositoryType; bool m_repositoryTypeHasBeenSet = false; Aws::String m_location; bool m_locationHasBeenSet = false; }; } // namespace Model } // namespace Translate } // namespace Aws