7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/translate/Translate_EXPORTS.h>
11#include <aws/translate/model/Directionality.h>
12#include <aws/translate/model/EncryptionKey.h>
13#include <aws/translate/model/TerminologyDataFormat.h>
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
63 template <
typename DescriptionT = Aws::String>
65 m_descriptionHasBeenSet =
true;
66 m_description = std::forward<DescriptionT>(value);
68 template <
typename DescriptionT = Aws::String>
81 template <
typename ArnT = Aws::String>
83 m_arnHasBeenSet =
true;
84 m_arn = std::forward<ArnT>(value);
86 template <
typename ArnT = Aws::String>
88 SetArn(std::forward<ArnT>(value));
100 template <
typename SourceLanguageCodeT = Aws::String>
102 m_sourceLanguageCodeHasBeenSet =
true;
103 m_sourceLanguageCode = std::forward<SourceLanguageCodeT>(value);
105 template <
typename SourceLanguageCodeT = Aws::String>
119 template <
typename TargetLanguageCodesT = Aws::Vector<Aws::String>>
121 m_targetLanguageCodesHasBeenSet =
true;
122 m_targetLanguageCodes = std::forward<TargetLanguageCodesT>(value);
124 template <
typename TargetLanguageCodesT = Aws::Vector<Aws::String>>
129 template <
typename TargetLanguageCodesT = Aws::String>
131 m_targetLanguageCodesHasBeenSet =
true;
132 m_targetLanguageCodes.emplace_back(std::forward<TargetLanguageCodesT>(value));
143 template <
typename EncryptionKeyT = EncryptionKey>
145 m_encryptionKeyHasBeenSet =
true;
146 m_encryptionKey = std::forward<EncryptionKeyT>(value);
148 template <
typename EncryptionKeyT = EncryptionKey>
162 m_sizeBytesHasBeenSet =
true;
178 m_termCountHasBeenSet =
true;
194 template <
typename CreatedAtT = Aws::Utils::DateTime>
196 m_createdAtHasBeenSet =
true;
197 m_createdAt = std::forward<CreatedAtT>(value);
199 template <
typename CreatedAtT = Aws::Utils::DateTime>
213 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
215 m_lastUpdatedAtHasBeenSet =
true;
216 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
218 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
237 m_directionalityHasBeenSet =
true;
238 m_directionality = value;
253 template <
typename MessageT = Aws::String>
255 m_messageHasBeenSet =
true;
256 m_message = std::forward<MessageT>(value);
258 template <
typename MessageT = Aws::String>
273 m_skippedTermCountHasBeenSet =
true;
274 m_skippedTermCount = value;
289 m_formatHasBeenSet =
true;
322 int m_skippedTermCount{0};
325 bool m_nameHasBeenSet =
false;
326 bool m_descriptionHasBeenSet =
false;
327 bool m_arnHasBeenSet =
false;
328 bool m_sourceLanguageCodeHasBeenSet =
false;
329 bool m_targetLanguageCodesHasBeenSet =
false;
330 bool m_encryptionKeyHasBeenSet =
false;
331 bool m_sizeBytesHasBeenSet =
false;
332 bool m_termCountHasBeenSet =
false;
333 bool m_createdAtHasBeenSet =
false;
334 bool m_lastUpdatedAtHasBeenSet =
false;
335 bool m_directionalityHasBeenSet =
false;
336 bool m_messageHasBeenSet =
false;
337 bool m_skippedTermCountHasBeenSet =
false;
338 bool m_formatHasBeenSet =
false;
void SetTermCount(int value)
void SetDescription(DescriptionT &&value)
TerminologyProperties & WithSizeBytes(int value)
AWS_TRANSLATE_API TerminologyProperties(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
bool ArnHasBeenSet() const
void SetMessage(MessageT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
bool SizeBytesHasBeenSet() const
TerminologyProperties & AddTargetLanguageCodes(TargetLanguageCodesT &&value)
const Aws::String & GetName() const
void SetDirectionality(Directionality value)
const Aws::String & GetMessage() const
TerminologyProperties & WithSkippedTermCount(int value)
bool SkippedTermCountHasBeenSet() const
bool NameHasBeenSet() const
TerminologyDataFormat GetFormat() const
TerminologyProperties & WithLastUpdatedAt(LastUpdatedAtT &&value)
TerminologyProperties & WithDirectionality(Directionality value)
const Aws::String & GetSourceLanguageCode() const
Directionality GetDirectionality() const
void SetSkippedTermCount(int value)
const Aws::Vector< Aws::String > & GetTargetLanguageCodes() const
TerminologyProperties & WithSourceLanguageCode(SourceLanguageCodeT &&value)
bool DirectionalityHasBeenSet() const
bool SourceLanguageCodeHasBeenSet() const
void SetTargetLanguageCodes(TargetLanguageCodesT &&value)
void SetFormat(TerminologyDataFormat value)
int GetSkippedTermCount() const
const EncryptionKey & GetEncryptionKey() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetEncryptionKey(EncryptionKeyT &&value)
bool TargetLanguageCodesHasBeenSet() const
AWS_TRANSLATE_API TerminologyProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreatedAtHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
bool FormatHasBeenSet() const
TerminologyProperties & WithMessage(MessageT &&value)
TerminologyProperties & WithTargetLanguageCodes(TargetLanguageCodesT &&value)
bool LastUpdatedAtHasBeenSet() const
void SetSourceLanguageCode(SourceLanguageCodeT &&value)
void SetSizeBytes(int value)
TerminologyProperties & WithDescription(DescriptionT &&value)
TerminologyProperties & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
TerminologyProperties & WithFormat(TerminologyDataFormat value)
bool TermCountHasBeenSet() const
TerminologyProperties & WithTermCount(int value)
TerminologyProperties & WithEncryptionKey(EncryptionKeyT &&value)
TerminologyProperties & WithName(NameT &&value)
TerminologyProperties & WithArn(ArnT &&value)
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() const
bool EncryptionKeyHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::String & GetArn() const
AWS_TRANSLATE_API TerminologyProperties()=default
void SetArn(ArnT &&value)
void SetName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue