AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LexiconAttributes.h
1
6#pragma once
7#include <aws/polly/Polly_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/polly/model/LanguageCode.h>
10#include <aws/core/utils/DateTime.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 Polly
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_POLLY_API LexiconAttributes();
42 AWS_POLLY_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetAlphabet() const{ return m_alphabet; }
51 inline bool AlphabetHasBeenSet() const { return m_alphabetHasBeenSet; }
52 inline void SetAlphabet(const Aws::String& value) { m_alphabetHasBeenSet = true; m_alphabet = value; }
53 inline void SetAlphabet(Aws::String&& value) { m_alphabetHasBeenSet = true; m_alphabet = std::move(value); }
54 inline void SetAlphabet(const char* value) { m_alphabetHasBeenSet = true; m_alphabet.assign(value); }
55 inline LexiconAttributes& WithAlphabet(const Aws::String& value) { SetAlphabet(value); return *this;}
56 inline LexiconAttributes& WithAlphabet(Aws::String&& value) { SetAlphabet(std::move(value)); return *this;}
57 inline LexiconAttributes& WithAlphabet(const char* value) { SetAlphabet(value); return *this;}
59
61
66 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
67 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
68 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
69 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
70 inline LexiconAttributes& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
71 inline LexiconAttributes& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
79 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
80 inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; }
81 inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); }
82 inline LexiconAttributes& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;}
83 inline LexiconAttributes& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetLexiconArn() const{ return m_lexiconArn; }
91 inline bool LexiconArnHasBeenSet() const { return m_lexiconArnHasBeenSet; }
92 inline void SetLexiconArn(const Aws::String& value) { m_lexiconArnHasBeenSet = true; m_lexiconArn = value; }
93 inline void SetLexiconArn(Aws::String&& value) { m_lexiconArnHasBeenSet = true; m_lexiconArn = std::move(value); }
94 inline void SetLexiconArn(const char* value) { m_lexiconArnHasBeenSet = true; m_lexiconArn.assign(value); }
95 inline LexiconAttributes& WithLexiconArn(const Aws::String& value) { SetLexiconArn(value); return *this;}
96 inline LexiconAttributes& WithLexiconArn(Aws::String&& value) { SetLexiconArn(std::move(value)); return *this;}
97 inline LexiconAttributes& WithLexiconArn(const char* value) { SetLexiconArn(value); return *this;}
99
101
104 inline int GetLexemesCount() const{ return m_lexemesCount; }
105 inline bool LexemesCountHasBeenSet() const { return m_lexemesCountHasBeenSet; }
106 inline void SetLexemesCount(int value) { m_lexemesCountHasBeenSet = true; m_lexemesCount = value; }
107 inline LexiconAttributes& WithLexemesCount(int value) { SetLexemesCount(value); return *this;}
109
111
114 inline int GetSize() const{ return m_size; }
115 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
116 inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; }
117 inline LexiconAttributes& WithSize(int value) { SetSize(value); return *this;}
119 private:
120
121 Aws::String m_alphabet;
122 bool m_alphabetHasBeenSet = false;
123
124 LanguageCode m_languageCode;
125 bool m_languageCodeHasBeenSet = false;
126
127 Aws::Utils::DateTime m_lastModified;
128 bool m_lastModifiedHasBeenSet = false;
129
130 Aws::String m_lexiconArn;
131 bool m_lexiconArnHasBeenSet = false;
132
133 int m_lexemesCount;
134 bool m_lexemesCountHasBeenSet = false;
135
136 int m_size;
137 bool m_sizeHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace Polly
142} // namespace Aws
const Aws::String & GetLexiconArn() const
LexiconAttributes & WithSize(int value)
void SetLanguageCode(LanguageCode &&value)
void SetAlphabet(const Aws::String &value)
LexiconAttributes & WithLexiconArn(const Aws::String &value)
void SetLastModified(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModified() const
void SetAlphabet(Aws::String &&value)
AWS_POLLY_API LexiconAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
LexiconAttributes & WithLexiconArn(const char *value)
AWS_POLLY_API LexiconAttributes(Aws::Utils::Json::JsonView jsonValue)
LexiconAttributes & WithAlphabet(Aws::String &&value)
LexiconAttributes & WithLexiconArn(Aws::String &&value)
void SetLastModified(const Aws::Utils::DateTime &value)
const LanguageCode & GetLanguageCode() const
void SetLexiconArn(Aws::String &&value)
void SetLanguageCode(const LanguageCode &value)
void SetLexiconArn(const Aws::String &value)
AWS_POLLY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAlphabet() const
LexiconAttributes & WithAlphabet(const char *value)
LexiconAttributes & WithLexemesCount(int value)
LexiconAttributes & WithLastModified(Aws::Utils::DateTime &&value)
LexiconAttributes & WithLastModified(const Aws::Utils::DateTime &value)
LexiconAttributes & WithLanguageCode(const LanguageCode &value)
LexiconAttributes & WithLanguageCode(LanguageCode &&value)
LexiconAttributes & WithAlphabet(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue