AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLexiconResult.h
1
6#pragma once
7#include <aws/polly/Polly_EXPORTS.h>
8#include <aws/polly/model/Lexicon.h>
9#include <aws/polly/model/LexiconAttributes.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Polly
26{
27namespace Model
28{
30 {
31 public:
32 AWS_POLLY_API GetLexiconResult();
35
36
38
41 inline const Lexicon& GetLexicon() const{ return m_lexicon; }
42 inline void SetLexicon(const Lexicon& value) { m_lexicon = value; }
43 inline void SetLexicon(Lexicon&& value) { m_lexicon = std::move(value); }
44 inline GetLexiconResult& WithLexicon(const Lexicon& value) { SetLexicon(value); return *this;}
45 inline GetLexiconResult& WithLexicon(Lexicon&& value) { SetLexicon(std::move(value)); return *this;}
47
49
54 inline const LexiconAttributes& GetLexiconAttributes() const{ return m_lexiconAttributes; }
55 inline void SetLexiconAttributes(const LexiconAttributes& value) { m_lexiconAttributes = value; }
56 inline void SetLexiconAttributes(LexiconAttributes&& value) { m_lexiconAttributes = std::move(value); }
58 inline GetLexiconResult& WithLexiconAttributes(LexiconAttributes&& value) { SetLexiconAttributes(std::move(value)); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline GetLexiconResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline GetLexiconResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline GetLexiconResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 Lexicon m_lexicon;
74
75 LexiconAttributes m_lexiconAttributes;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace Polly
82} // namespace Aws
void SetLexicon(const Lexicon &value)
GetLexiconResult & WithRequestId(const Aws::String &value)
GetLexiconResult & WithLexiconAttributes(const LexiconAttributes &value)
void SetRequestId(const char *value)
GetLexiconResult & WithLexiconAttributes(LexiconAttributes &&value)
void SetLexiconAttributes(LexiconAttributes &&value)
AWS_POLLY_API GetLexiconResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(Aws::String &&value)
const Aws::String & GetRequestId() const
GetLexiconResult & WithRequestId(Aws::String &&value)
GetLexiconResult & WithLexicon(Lexicon &&value)
GetLexiconResult & WithRequestId(const char *value)
void SetLexiconAttributes(const LexiconAttributes &value)
AWS_POLLY_API GetLexiconResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLexiconResult & WithLexicon(const Lexicon &value)
void SetRequestId(const Aws::String &value)
const LexiconAttributes & GetLexiconAttributes() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue