AWS SDK for C++  1.9.107
AWS SDK for C++
GetLexiconResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Polly
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Lexicon& GetLexicon() const{ return m_lexicon; }
40 
44  inline void SetLexicon(const Lexicon& value) { m_lexicon = value; }
45 
49  inline void SetLexicon(Lexicon&& value) { m_lexicon = std::move(value); }
50 
54  inline GetLexiconResult& WithLexicon(const Lexicon& value) { SetLexicon(value); return *this;}
55 
59  inline GetLexiconResult& WithLexicon(Lexicon&& value) { SetLexicon(std::move(value)); return *this;}
60 
61 
67  inline const LexiconAttributes& GetLexiconAttributes() const{ return m_lexiconAttributes; }
68 
74  inline void SetLexiconAttributes(const LexiconAttributes& value) { m_lexiconAttributes = value; }
75 
81  inline void SetLexiconAttributes(LexiconAttributes&& value) { m_lexiconAttributes = std::move(value); }
82 
88  inline GetLexiconResult& WithLexiconAttributes(const LexiconAttributes& value) { SetLexiconAttributes(value); return *this;}
89 
95  inline GetLexiconResult& WithLexiconAttributes(LexiconAttributes&& value) { SetLexiconAttributes(std::move(value)); return *this;}
96 
97  private:
98 
99  Lexicon m_lexicon;
100 
101  LexiconAttributes m_lexiconAttributes;
102  };
103 
104 } // namespace Model
105 } // namespace Polly
106 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Polly::Model::GetLexiconResult::GetLexicon
const Lexicon & GetLexicon() const
Definition: GetLexiconResult.h:39
Aws::Polly::Model::GetLexiconResult::WithLexicon
GetLexiconResult & WithLexicon(Lexicon &&value)
Definition: GetLexiconResult.h:59
Aws::Polly::Model::LexiconAttributes
Definition: LexiconAttributes.h:37
Lexicon.h
Aws::Polly::Model::GetLexiconResult::WithLexiconAttributes
GetLexiconResult & WithLexiconAttributes(LexiconAttributes &&value)
Definition: GetLexiconResult.h:95
Polly_EXPORTS.h
Aws::Polly::Model::GetLexiconResult
Definition: GetLexiconResult.h:29
AWS_POLLY_API
#define AWS_POLLY_API
Definition: Polly_EXPORTS.h:28
Aws::Polly::Model::GetLexiconResult::SetLexiconAttributes
void SetLexiconAttributes(const LexiconAttributes &value)
Definition: GetLexiconResult.h:74
Aws::Polly::Model::GetLexiconResult::GetLexiconAttributes
const LexiconAttributes & GetLexiconAttributes() const
Definition: GetLexiconResult.h:67
Aws::Polly::Model::GetLexiconResult::operator=
GetLexiconResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Polly::Model::GetLexiconResult::SetLexicon
void SetLexicon(const Lexicon &value)
Definition: GetLexiconResult.h:44
LexiconAttributes.h
Aws::Polly::Model::Lexicon
Definition: Lexicon.h:35
Aws::Polly::Model::GetLexiconResult::GetLexiconResult
GetLexiconResult()
Aws::Polly::Model::GetLexiconResult::WithLexiconAttributes
GetLexiconResult & WithLexiconAttributes(const LexiconAttributes &value)
Definition: GetLexiconResult.h:88
Aws
Definition: AccessManagementClient.h:15
Aws::Polly::Model::GetLexiconResult::SetLexiconAttributes
void SetLexiconAttributes(LexiconAttributes &&value)
Definition: GetLexiconResult.h:81
Aws::Polly::Model::GetLexiconResult::SetLexicon
void SetLexicon(Lexicon &&value)
Definition: GetLexiconResult.h:49
Aws::Polly::Model::GetLexiconResult::WithLexicon
GetLexiconResult & WithLexicon(const Lexicon &value)
Definition: GetLexiconResult.h:54
Aws::Polly::Model::GetLexiconResult::GetLexiconResult
GetLexiconResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)