AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TerminologyData.h
1
6#pragma once
7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/translate/model/TerminologyDataFormat.h>
10#include <aws/translate/model/Directionality.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Translate
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_TRANSLATE_API TerminologyData();
40 AWS_TRANSLATE_API TerminologyData(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::Utils::CryptoBuffer& GetFile() const{ return m_file; }
52 inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
53 inline void SetFile(const Aws::Utils::CryptoBuffer& value) { m_fileHasBeenSet = true; m_file = value; }
54 inline void SetFile(Aws::Utils::CryptoBuffer&& value) { m_fileHasBeenSet = true; m_file = std::move(value); }
55 inline TerminologyData& WithFile(const Aws::Utils::CryptoBuffer& value) { SetFile(value); return *this;}
56 inline TerminologyData& WithFile(Aws::Utils::CryptoBuffer&& value) { SetFile(std::move(value)); return *this;}
58
60
63 inline const TerminologyDataFormat& GetFormat() const{ return m_format; }
64 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
65 inline void SetFormat(const TerminologyDataFormat& value) { m_formatHasBeenSet = true; m_format = value; }
66 inline void SetFormat(TerminologyDataFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
67 inline TerminologyData& WithFormat(const TerminologyDataFormat& value) { SetFormat(value); return *this;}
68 inline TerminologyData& WithFormat(TerminologyDataFormat&& value) { SetFormat(std::move(value)); return *this;}
70
72
86 inline const Directionality& GetDirectionality() const{ return m_directionality; }
87 inline bool DirectionalityHasBeenSet() const { return m_directionalityHasBeenSet; }
88 inline void SetDirectionality(const Directionality& value) { m_directionalityHasBeenSet = true; m_directionality = value; }
89 inline void SetDirectionality(Directionality&& value) { m_directionalityHasBeenSet = true; m_directionality = std::move(value); }
90 inline TerminologyData& WithDirectionality(const Directionality& value) { SetDirectionality(value); return *this;}
91 inline TerminologyData& WithDirectionality(Directionality&& value) { SetDirectionality(std::move(value)); return *this;}
93 private:
94
96 bool m_fileHasBeenSet = false;
97
98 TerminologyDataFormat m_format;
99 bool m_formatHasBeenSet = false;
100
101 Directionality m_directionality;
102 bool m_directionalityHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Translate
107} // namespace Aws
void SetFile(const Aws::Utils::CryptoBuffer &value)
void SetFormat(const TerminologyDataFormat &value)
void SetDirectionality(Directionality &&value)
AWS_TRANSLATE_API TerminologyData & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::CryptoBuffer & GetFile() const
TerminologyData & WithDirectionality(Directionality &&value)
TerminologyData & WithFile(Aws::Utils::CryptoBuffer &&value)
TerminologyData & WithDirectionality(const Directionality &value)
void SetFile(Aws::Utils::CryptoBuffer &&value)
const Directionality & GetDirectionality() const
void SetFormat(TerminologyDataFormat &&value)
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
TerminologyData & WithFile(const Aws::Utils::CryptoBuffer &value)
const TerminologyDataFormat & GetFormat() const
TerminologyData & WithFormat(TerminologyDataFormat &&value)
TerminologyData & WithFormat(const TerminologyDataFormat &value)
AWS_TRANSLATE_API TerminologyData(Aws::Utils::Json::JsonView jsonValue)
void SetDirectionality(const Directionality &value)
Aws::Utils::Json::JsonValue JsonValue