AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AlphabetT = Aws::String>
53 void SetAlphabet(AlphabetT&& value) { m_alphabetHasBeenSet = true; m_alphabet = std::forward<AlphabetT>(value); }
54 template<typename AlphabetT = Aws::String>
55 LexiconAttributes& WithAlphabet(AlphabetT&& value) { SetAlphabet(std::forward<AlphabetT>(value)); return *this;}
57
59
64 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
65 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
66 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
67 inline LexiconAttributes& WithLanguageCode(LanguageCode value) { SetLanguageCode(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
75 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
76 template<typename LastModifiedT = Aws::Utils::DateTime>
77 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::forward<LastModifiedT>(value); }
78 template<typename LastModifiedT = Aws::Utils::DateTime>
79 LexiconAttributes& WithLastModified(LastModifiedT&& value) { SetLastModified(std::forward<LastModifiedT>(value)); return *this;}
81
83
86 inline const Aws::String& GetLexiconArn() const { return m_lexiconArn; }
87 inline bool LexiconArnHasBeenSet() const { return m_lexiconArnHasBeenSet; }
88 template<typename LexiconArnT = Aws::String>
89 void SetLexiconArn(LexiconArnT&& value) { m_lexiconArnHasBeenSet = true; m_lexiconArn = std::forward<LexiconArnT>(value); }
90 template<typename LexiconArnT = Aws::String>
91 LexiconAttributes& WithLexiconArn(LexiconArnT&& value) { SetLexiconArn(std::forward<LexiconArnT>(value)); return *this;}
93
95
98 inline int GetLexemesCount() const { return m_lexemesCount; }
99 inline bool LexemesCountHasBeenSet() const { return m_lexemesCountHasBeenSet; }
100 inline void SetLexemesCount(int value) { m_lexemesCountHasBeenSet = true; m_lexemesCount = value; }
101 inline LexiconAttributes& WithLexemesCount(int value) { SetLexemesCount(value); return *this;}
103
105
108 inline int GetSize() const { return m_size; }
109 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
110 inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; }
111 inline LexiconAttributes& WithSize(int value) { SetSize(value); return *this;}
113 private:
114
115 Aws::String m_alphabet;
116 bool m_alphabetHasBeenSet = false;
117
118 LanguageCode m_languageCode{LanguageCode::NOT_SET};
119 bool m_languageCodeHasBeenSet = false;
120
121 Aws::Utils::DateTime m_lastModified{};
122 bool m_lastModifiedHasBeenSet = false;
123
124 Aws::String m_lexiconArn;
125 bool m_lexiconArnHasBeenSet = false;
126
127 int m_lexemesCount{0};
128 bool m_lexemesCountHasBeenSet = false;
129
130 int m_size{0};
131 bool m_sizeHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace Polly
136} // namespace Aws
const Aws::String & GetLexiconArn() const
LexiconAttributes & WithSize(int value)
LexiconAttributes & WithLastModified(LastModifiedT &&value)
LexiconAttributes & WithAlphabet(AlphabetT &&value)
const Aws::Utils::DateTime & GetLastModified() const
void SetLastModified(LastModifiedT &&value)
AWS_POLLY_API LexiconAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_POLLY_API LexiconAttributes()=default
LexiconAttributes & WithLanguageCode(LanguageCode value)
AWS_POLLY_API LexiconAttributes(Aws::Utils::Json::JsonView jsonValue)
LexiconAttributes & WithLexiconArn(LexiconArnT &&value)
void SetLexiconArn(LexiconArnT &&value)
void SetLanguageCode(LanguageCode value)
AWS_POLLY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAlphabet() const
LexiconAttributes & WithLexemesCount(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue