AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetLexiconResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/polly/Polly_EXPORTS.h>
9#include <aws/polly/model/Lexicon.h>
10#include <aws/polly/model/LexiconAttributes.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Polly {
24namespace Model {
26 public:
27 AWS_POLLY_API GetLexiconResult() = default;
30
32
35 inline const Lexicon& GetLexicon() const { return m_lexicon; }
36 template <typename LexiconT = Lexicon>
37 void SetLexicon(LexiconT&& value) {
38 m_lexiconHasBeenSet = true;
39 m_lexicon = std::forward<LexiconT>(value);
40 }
41 template <typename LexiconT = Lexicon>
42 GetLexiconResult& WithLexicon(LexiconT&& value) {
43 SetLexicon(std::forward<LexiconT>(value));
44 return *this;
45 }
47
49
54 inline const LexiconAttributes& GetLexiconAttributes() const { return m_lexiconAttributes; }
55 template <typename LexiconAttributesT = LexiconAttributes>
56 void SetLexiconAttributes(LexiconAttributesT&& value) {
57 m_lexiconAttributesHasBeenSet = true;
58 m_lexiconAttributes = std::forward<LexiconAttributesT>(value);
59 }
60 template <typename LexiconAttributesT = LexiconAttributes>
61 GetLexiconResult& WithLexiconAttributes(LexiconAttributesT&& value) {
62 SetLexiconAttributes(std::forward<LexiconAttributesT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template <typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) {
72 m_requestIdHasBeenSet = true;
73 m_requestId = std::forward<RequestIdT>(value);
74 }
75 template <typename RequestIdT = Aws::String>
76 GetLexiconResult& WithRequestId(RequestIdT&& value) {
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 private:
82 Lexicon m_lexicon;
83
84 LexiconAttributes m_lexiconAttributes;
85
86 Aws::String m_requestId;
87 bool m_lexiconHasBeenSet = false;
88 bool m_lexiconAttributesHasBeenSet = false;
89 bool m_requestIdHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace Polly
94} // 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