133 lines
4.1 KiB
C
133 lines
4.1 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/translate/Translate_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace Translate
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location of the custom terminology data.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/TerminologyDataLocation">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
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;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The repository type for the custom terminology data.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetRepositoryType() const{ return m_repositoryType; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The repository type for the custom terminology data.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool RepositoryTypeHasBeenSet() const { return m_repositoryTypeHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The repository type for the custom terminology data.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetRepositoryType(const Aws::String& value) { m_repositoryTypeHasBeenSet = true; m_repositoryType = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The repository type for the custom terminology data.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetRepositoryType(Aws::String&& value) { m_repositoryTypeHasBeenSet = true; m_repositoryType = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The repository type for the custom terminology data.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetRepositoryType(const char* value) { m_repositoryTypeHasBeenSet = true; m_repositoryType.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The repository type for the custom terminology data.</p>
|
|||
|
|
*/
|
|||
|
|
inline TerminologyDataLocation& WithRepositoryType(const Aws::String& value) { SetRepositoryType(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The repository type for the custom terminology data.</p>
|
|||
|
|
*/
|
|||
|
|
inline TerminologyDataLocation& WithRepositoryType(Aws::String&& value) { SetRepositoryType(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The repository type for the custom terminology data.</p>
|
|||
|
|
*/
|
|||
|
|
inline TerminologyDataLocation& WithRepositoryType(const char* value) { SetRepositoryType(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location of the custom terminology data.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetLocation() const{ return m_location; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location of the custom terminology data.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location of the custom terminology data.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location of the custom terminology data.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location of the custom terminology data.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location of the custom terminology data.</p>
|
|||
|
|
*/
|
|||
|
|
inline TerminologyDataLocation& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location of the custom terminology data.</p>
|
|||
|
|
*/
|
|||
|
|
inline TerminologyDataLocation& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location of the custom terminology data.</p>
|
|||
|
|
*/
|
|||
|
|
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
|