AWS SDK for C++  1.9.107
AWS SDK for C++
LexiconAttributes.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Polly
24 {
25 namespace Model
26 {
27 
37  {
38  public:
43 
44 
49  inline const Aws::String& GetAlphabet() const{ return m_alphabet; }
50 
55  inline bool AlphabetHasBeenSet() const { return m_alphabetHasBeenSet; }
56 
61  inline void SetAlphabet(const Aws::String& value) { m_alphabetHasBeenSet = true; m_alphabet = value; }
62 
67  inline void SetAlphabet(Aws::String&& value) { m_alphabetHasBeenSet = true; m_alphabet = std::move(value); }
68 
73  inline void SetAlphabet(const char* value) { m_alphabetHasBeenSet = true; m_alphabet.assign(value); }
74 
79  inline LexiconAttributes& WithAlphabet(const Aws::String& value) { SetAlphabet(value); return *this;}
80 
85  inline LexiconAttributes& WithAlphabet(Aws::String&& value) { SetAlphabet(std::move(value)); return *this;}
86 
91  inline LexiconAttributes& WithAlphabet(const char* value) { SetAlphabet(value); return *this;}
92 
93 
99  inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
100 
106  inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
107 
113  inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
114 
120  inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
121 
127  inline LexiconAttributes& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
128 
134  inline LexiconAttributes& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
135 
136 
140  inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
141 
145  inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
146 
150  inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; }
151 
155  inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); }
156 
160  inline LexiconAttributes& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;}
161 
165  inline LexiconAttributes& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;}
166 
167 
171  inline const Aws::String& GetLexiconArn() const{ return m_lexiconArn; }
172 
176  inline bool LexiconArnHasBeenSet() const { return m_lexiconArnHasBeenSet; }
177 
181  inline void SetLexiconArn(const Aws::String& value) { m_lexiconArnHasBeenSet = true; m_lexiconArn = value; }
182 
186  inline void SetLexiconArn(Aws::String&& value) { m_lexiconArnHasBeenSet = true; m_lexiconArn = std::move(value); }
187 
191  inline void SetLexiconArn(const char* value) { m_lexiconArnHasBeenSet = true; m_lexiconArn.assign(value); }
192 
196  inline LexiconAttributes& WithLexiconArn(const Aws::String& value) { SetLexiconArn(value); return *this;}
197 
201  inline LexiconAttributes& WithLexiconArn(Aws::String&& value) { SetLexiconArn(std::move(value)); return *this;}
202 
206  inline LexiconAttributes& WithLexiconArn(const char* value) { SetLexiconArn(value); return *this;}
207 
208 
212  inline int GetLexemesCount() const{ return m_lexemesCount; }
213 
217  inline bool LexemesCountHasBeenSet() const { return m_lexemesCountHasBeenSet; }
218 
222  inline void SetLexemesCount(int value) { m_lexemesCountHasBeenSet = true; m_lexemesCount = value; }
223 
227  inline LexiconAttributes& WithLexemesCount(int value) { SetLexemesCount(value); return *this;}
228 
229 
233  inline int GetSize() const{ return m_size; }
234 
238  inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
239 
243  inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; }
244 
248  inline LexiconAttributes& WithSize(int value) { SetSize(value); return *this;}
249 
250  private:
251 
252  Aws::String m_alphabet;
253  bool m_alphabetHasBeenSet;
254 
255  LanguageCode m_languageCode;
256  bool m_languageCodeHasBeenSet;
257 
258  Aws::Utils::DateTime m_lastModified;
259  bool m_lastModifiedHasBeenSet;
260 
261  Aws::String m_lexiconArn;
262  bool m_lexiconArnHasBeenSet;
263 
264  int m_lexemesCount;
265  bool m_lexemesCountHasBeenSet;
266 
267  int m_size;
268  bool m_sizeHasBeenSet;
269  };
270 
271 } // namespace Model
272 } // namespace Polly
273 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Polly::Model::LexiconAttributes::operator=
LexiconAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Polly::Model::LexiconAttributes::SetAlphabet
void SetAlphabet(const char *value)
Definition: LexiconAttributes.h:73
Aws::Polly::Model::LexiconAttributes::SetLastModified
void SetLastModified(const Aws::Utils::DateTime &value)
Definition: LexiconAttributes.h:150
Aws::Polly::Model::LexiconAttributes::GetSize
int GetSize() const
Definition: LexiconAttributes.h:233
Aws::Polly::Model::LexiconAttributes::SetLexemesCount
void SetLexemesCount(int value)
Definition: LexiconAttributes.h:222
Aws::Polly::Model::LexiconAttributes::WithAlphabet
LexiconAttributes & WithAlphabet(const Aws::String &value)
Definition: LexiconAttributes.h:79
Aws::Polly::Model::LexiconAttributes
Definition: LexiconAttributes.h:37
Aws::Polly::Model::LexiconAttributes::GetLanguageCode
const LanguageCode & GetLanguageCode() const
Definition: LexiconAttributes.h:99
DateTime.h
Polly_EXPORTS.h
AWS_POLLY_API
#define AWS_POLLY_API
Definition: Polly_EXPORTS.h:28
Aws::Polly::Model::LexiconAttributes::WithLastModified
LexiconAttributes & WithLastModified(const Aws::Utils::DateTime &value)
Definition: LexiconAttributes.h:160
Aws::Polly::Model::LexiconAttributes::LexiconAttributes
LexiconAttributes()
LanguageCode.h
Aws::Polly::Model::LexiconAttributes::WithLexiconArn
LexiconAttributes & WithLexiconArn(Aws::String &&value)
Definition: LexiconAttributes.h:201
Aws::Polly::Model::LexiconAttributes::LexiconAttributes
LexiconAttributes(Aws::Utils::Json::JsonView jsonValue)
Aws::Polly::Model::LexiconAttributes::SetLanguageCode
void SetLanguageCode(LanguageCode &&value)
Definition: LexiconAttributes.h:120
Aws::Polly::Model::LexiconAttributes::SetLexiconArn
void SetLexiconArn(const char *value)
Definition: LexiconAttributes.h:191
Aws::Polly::Model::LexiconAttributes::WithLexiconArn
LexiconAttributes & WithLexiconArn(const Aws::String &value)
Definition: LexiconAttributes.h:196
Aws::Polly::Model::LexiconAttributes::SetAlphabet
void SetAlphabet(Aws::String &&value)
Definition: LexiconAttributes.h:67
Aws::Polly::Model::LexiconAttributes::GetLexemesCount
int GetLexemesCount() const
Definition: LexiconAttributes.h:212
Aws::Polly::Model::LexiconAttributes::WithLanguageCode
LexiconAttributes & WithLanguageCode(LanguageCode &&value)
Definition: LexiconAttributes.h:134
Aws::Polly::Model::LexiconAttributes::WithLastModified
LexiconAttributes & WithLastModified(Aws::Utils::DateTime &&value)
Definition: LexiconAttributes.h:165
Aws::Polly::Model::LexiconAttributes::SetLastModified
void SetLastModified(Aws::Utils::DateTime &&value)
Definition: LexiconAttributes.h:155
Aws::Polly::Model::LexiconAttributes::WithAlphabet
LexiconAttributes & WithAlphabet(Aws::String &&value)
Definition: LexiconAttributes.h:85
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Polly::Model::LexiconAttributes::LanguageCodeHasBeenSet
bool LanguageCodeHasBeenSet() const
Definition: LexiconAttributes.h:106
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Polly::Model::LexiconAttributes::SetAlphabet
void SetAlphabet(const Aws::String &value)
Definition: LexiconAttributes.h:61
Aws::Polly::Model::LexiconAttributes::SizeHasBeenSet
bool SizeHasBeenSet() const
Definition: LexiconAttributes.h:238
Aws::Polly::Model::LexiconAttributes::SetLanguageCode
void SetLanguageCode(const LanguageCode &value)
Definition: LexiconAttributes.h:113
Aws::Polly::Model::LexiconAttributes::LastModifiedHasBeenSet
bool LastModifiedHasBeenSet() const
Definition: LexiconAttributes.h:145
Aws::Polly::Model::LexiconAttributes::WithSize
LexiconAttributes & WithSize(int value)
Definition: LexiconAttributes.h:248
Aws::Polly::Model::LexiconAttributes::WithAlphabet
LexiconAttributes & WithAlphabet(const char *value)
Definition: LexiconAttributes.h:91
Aws::Polly::Model::LexiconAttributes::AlphabetHasBeenSet
bool AlphabetHasBeenSet() const
Definition: LexiconAttributes.h:55
Aws::Polly::Model::LexiconAttributes::WithLexemesCount
LexiconAttributes & WithLexemesCount(int value)
Definition: LexiconAttributes.h:227
Aws::Polly::Model::LexiconAttributes::SetSize
void SetSize(int value)
Definition: LexiconAttributes.h:243
Aws::Polly::Model::LexiconAttributes::GetLastModified
const Aws::Utils::DateTime & GetLastModified() const
Definition: LexiconAttributes.h:140
Aws
Definition: AccessManagementClient.h:15
Aws::Polly::Model::LexiconAttributes::SetLexiconArn
void SetLexiconArn(Aws::String &&value)
Definition: LexiconAttributes.h:186
Aws::Polly::Model::LexiconAttributes::LexiconArnHasBeenSet
bool LexiconArnHasBeenSet() const
Definition: LexiconAttributes.h:176
Aws::Polly::Model::LexiconAttributes::GetAlphabet
const Aws::String & GetAlphabet() const
Definition: LexiconAttributes.h:49
Aws::Polly::Model::LexiconAttributes::WithLexiconArn
LexiconAttributes & WithLexiconArn(const char *value)
Definition: LexiconAttributes.h:206
Aws::Polly::Model::LexiconAttributes::WithLanguageCode
LexiconAttributes & WithLanguageCode(const LanguageCode &value)
Definition: LexiconAttributes.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Polly::Model::LexiconAttributes::SetLexiconArn
void SetLexiconArn(const Aws::String &value)
Definition: LexiconAttributes.h:181
Aws::Polly::Model::LexiconAttributes::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Polly::Model::LexiconAttributes::LexemesCountHasBeenSet
bool LexemesCountHasBeenSet() const
Definition: LexiconAttributes.h:217
Aws::Polly::Model::LanguageCode
LanguageCode
Definition: LanguageCode.h:17
Aws::Polly::Model::LexiconAttributes::GetLexiconArn
const Aws::String & GetLexiconArn() const
Definition: LexiconAttributes.h:171