AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
DeleteCustomVocabularyResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/CustomVocabularyStatus.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 LexModelsV2 {
24namespace Model {
26 public:
27 AWS_LEXMODELSV2_API DeleteCustomVocabularyResult() = default;
30
32
35 inline const Aws::String& GetBotId() const { return m_botId; }
36 template <typename BotIdT = Aws::String>
37 void SetBotId(BotIdT&& value) {
38 m_botIdHasBeenSet = true;
39 m_botId = std::forward<BotIdT>(value);
40 }
41 template <typename BotIdT = Aws::String>
43 SetBotId(std::forward<BotIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
53 template <typename BotVersionT = Aws::String>
54 void SetBotVersion(BotVersionT&& value) {
55 m_botVersionHasBeenSet = true;
56 m_botVersion = std::forward<BotVersionT>(value);
57 }
58 template <typename BotVersionT = Aws::String>
60 SetBotVersion(std::forward<BotVersionT>(value));
61 return *this;
62 }
64
66
70 inline const Aws::String& GetLocaleId() const { return m_localeId; }
71 template <typename LocaleIdT = Aws::String>
72 void SetLocaleId(LocaleIdT&& value) {
73 m_localeIdHasBeenSet = true;
74 m_localeId = std::forward<LocaleIdT>(value);
75 }
76 template <typename LocaleIdT = Aws::String>
78 SetLocaleId(std::forward<LocaleIdT>(value));
79 return *this;
80 }
82
84
87 inline CustomVocabularyStatus GetCustomVocabularyStatus() const { return m_customVocabularyStatus; }
89 m_customVocabularyStatusHasBeenSet = true;
90 m_customVocabularyStatus = value;
91 }
94 return *this;
95 }
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template <typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) {
103 m_requestIdHasBeenSet = true;
104 m_requestId = std::forward<RequestIdT>(value);
105 }
106 template <typename RequestIdT = Aws::String>
108 SetRequestId(std::forward<RequestIdT>(value));
109 return *this;
110 }
112 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
113
114 private:
115 Aws::String m_botId;
116
117 Aws::String m_botVersion;
118
119 Aws::String m_localeId;
120
122
123 Aws::String m_requestId;
124 Aws::Http::HttpResponseCode m_HttpResponseCode;
125 bool m_botIdHasBeenSet = false;
126 bool m_botVersionHasBeenSet = false;
127 bool m_localeIdHasBeenSet = false;
128 bool m_customVocabularyStatusHasBeenSet = false;
129 bool m_requestIdHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace LexModelsV2
134} // namespace Aws
DeleteCustomVocabularyResult & WithBotId(BotIdT &&value)
AWS_LEXMODELSV2_API DeleteCustomVocabularyResult()=default
AWS_LEXMODELSV2_API DeleteCustomVocabularyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteCustomVocabularyResult & WithBotVersion(BotVersionT &&value)
DeleteCustomVocabularyResult & WithRequestId(RequestIdT &&value)
DeleteCustomVocabularyResult & WithCustomVocabularyStatus(CustomVocabularyStatus value)
DeleteCustomVocabularyResult & WithLocaleId(LocaleIdT &&value)
AWS_LEXMODELSV2_API DeleteCustomVocabularyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue