/** * 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 location of the custom terminology data.

See Also:

AWS * API Reference

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

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 location of the custom terminology data.

*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *

The location of the custom terminology data.

*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *

The location of the custom terminology data.

*/ inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; } /** *

The location of the custom terminology data.

*/ inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *

The location of the custom terminology data.

*/ inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); } /** *

The location of the custom terminology data.

*/ inline TerminologyDataLocation& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *

The location of the custom terminology data.

*/ inline TerminologyDataLocation& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *

The location of the custom terminology data.

*/ inline TerminologyDataLocation& WithLocation(const char* value) { SetLocation(value); return *this;} private: Aws::String m_repositoryType; bool m_repositoryTypeHasBeenSet; Aws::String m_location; bool m_locationHasBeenSet; }; } // namespace Model } // namespace Translate } // namespace Aws