AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
35
36
38
41 inline const Lexicon& GetLexicon() const { return m_lexicon; }
42 template<typename LexiconT = Lexicon>
43 void SetLexicon(LexiconT&& value) { m_lexiconHasBeenSet = true; m_lexicon = std::forward<LexiconT>(value); }
44 template<typename LexiconT = Lexicon>
45 GetLexiconResult& WithLexicon(LexiconT&& value) { SetLexicon(std::forward<LexiconT>(value)); return *this;}
47
49
54 inline const LexiconAttributes& GetLexiconAttributes() const { return m_lexiconAttributes; }
55 template<typename LexiconAttributesT = LexiconAttributes>
56 void SetLexiconAttributes(LexiconAttributesT&& value) { m_lexiconAttributesHasBeenSet = true; m_lexiconAttributes = std::forward<LexiconAttributesT>(value); }
57 template<typename LexiconAttributesT = LexiconAttributes>
58 GetLexiconResult& WithLexiconAttributes(LexiconAttributesT&& value) { SetLexiconAttributes(std::forward<LexiconAttributesT>(value)); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template<typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
66 template<typename RequestIdT = Aws::String>
67 GetLexiconResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
69 private:
70
71 Lexicon m_lexicon;
72 bool m_lexiconHasBeenSet = false;
73
74 LexiconAttributes m_lexiconAttributes;
75 bool m_lexiconAttributesHasBeenSet = false;
76
77 Aws::String m_requestId;
78 bool m_requestIdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Polly
83} // namespace Aws
AWS_POLLY_API GetLexiconResult()=default
AWS_POLLY_API GetLexiconResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLexiconResult & WithLexicon(LexiconT &&value)
GetLexiconResult & WithLexiconAttributes(LexiconAttributesT &&value)
const Aws::String & GetRequestId() const
void SetLexiconAttributes(LexiconAttributesT &&value)
GetLexiconResult & WithRequestId(RequestIdT &&value)
AWS_POLLY_API GetLexiconResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const LexiconAttributes & GetLexiconAttributes() const
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue