7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/translate/model/EncryptionKey.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/translate/model/Directionality.h>
13#include <aws/translate/model/TerminologyDataFormat.h>
51 template<
typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
53 template<
typename NameT = Aws::String>
63 template<
typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
65 template<
typename DescriptionT = Aws::String>
75 template<
typename ArnT = Aws::String>
76 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
77 template<
typename ArnT = Aws::String>
88 template<
typename SourceLanguageCodeT = Aws::String>
89 void SetSourceLanguageCode(SourceLanguageCodeT&& value) { m_sourceLanguageCodeHasBeenSet =
true; m_sourceLanguageCode = std::forward<SourceLanguageCodeT>(value); }
90 template<
typename SourceLanguageCodeT = Aws::String>
101 template<
typename TargetLanguageCodesT = Aws::Vector<Aws::String>>
102 void SetTargetLanguageCodes(TargetLanguageCodesT&& value) { m_targetLanguageCodesHasBeenSet =
true; m_targetLanguageCodes = std::forward<TargetLanguageCodesT>(value); }
103 template<
typename TargetLanguageCodesT = Aws::Vector<Aws::String>>
105 template<
typename TargetLanguageCodesT = Aws::String>
115 template<
typename EncryptionKeyT = EncryptionKey>
116 void SetEncryptionKey(EncryptionKeyT&& value) { m_encryptionKeyHasBeenSet =
true; m_encryptionKey = std::forward<EncryptionKeyT>(value); }
117 template<
typename EncryptionKeyT = EncryptionKey>
127 inline void SetSizeBytes(
int value) { m_sizeBytesHasBeenSet =
true; m_sizeBytes = value; }
137 inline void SetTermCount(
int value) { m_termCountHasBeenSet =
true; m_termCount = value; }
148 template<
typename CreatedAtT = Aws::Utils::DateTime>
149 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
150 template<
typename CreatedAtT = Aws::Utils::DateTime>
161 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
162 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
163 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
189 template<
typename MessageT = Aws::String>
190 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
191 template<
typename MessageT = Aws::String>
202 inline void SetSkippedTermCount(
int value) { m_skippedTermCountHasBeenSet =
true; m_skippedTermCount = value; }
218 bool m_nameHasBeenSet =
false;
221 bool m_descriptionHasBeenSet =
false;
224 bool m_arnHasBeenSet =
false;
227 bool m_sourceLanguageCodeHasBeenSet =
false;
230 bool m_targetLanguageCodesHasBeenSet =
false;
233 bool m_encryptionKeyHasBeenSet =
false;
236 bool m_sizeBytesHasBeenSet =
false;
239 bool m_termCountHasBeenSet =
false;
242 bool m_createdAtHasBeenSet =
false;
245 bool m_lastUpdatedAtHasBeenSet =
false;
248 bool m_directionalityHasBeenSet =
false;
251 bool m_messageHasBeenSet =
false;
253 int m_skippedTermCount{0};
254 bool m_skippedTermCountHasBeenSet =
false;
257 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