AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
DescribeCustomVocabularyMetadataResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
11#include <aws/lexv2-models/model/CustomVocabularyStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LexModelsV2 {
25namespace Model {
27 public:
28 AWS_LEXMODELSV2_API DescribeCustomVocabularyMetadataResult() = default;
32
34
37 inline const Aws::String& GetBotId() const { return m_botId; }
38 template <typename BotIdT = Aws::String>
39 void SetBotId(BotIdT&& value) {
40 m_botIdHasBeenSet = true;
41 m_botId = std::forward<BotIdT>(value);
42 }
43 template <typename BotIdT = Aws::String>
45 SetBotId(std::forward<BotIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
55 template <typename BotVersionT = Aws::String>
56 void SetBotVersion(BotVersionT&& value) {
57 m_botVersionHasBeenSet = true;
58 m_botVersion = std::forward<BotVersionT>(value);
59 }
60 template <typename BotVersionT = Aws::String>
62 SetBotVersion(std::forward<BotVersionT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetLocaleId() const { return m_localeId; }
72 template <typename LocaleIdT = Aws::String>
73 void SetLocaleId(LocaleIdT&& value) {
74 m_localeIdHasBeenSet = true;
75 m_localeId = std::forward<LocaleIdT>(value);
76 }
77 template <typename LocaleIdT = Aws::String>
79 SetLocaleId(std::forward<LocaleIdT>(value));
80 return *this;
81 }
83
85
89 inline CustomVocabularyStatus GetCustomVocabularyStatus() const { return m_customVocabularyStatus; }
91 m_customVocabularyStatusHasBeenSet = true;
92 m_customVocabularyStatus = value;
93 }
96 return *this;
97 }
99
101
104 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
105 template <typename CreationDateTimeT = Aws::Utils::DateTime>
106 void SetCreationDateTime(CreationDateTimeT&& value) {
107 m_creationDateTimeHasBeenSet = true;
108 m_creationDateTime = std::forward<CreationDateTimeT>(value);
109 }
110 template <typename CreationDateTimeT = Aws::Utils::DateTime>
112 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
122 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
123 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
124 m_lastUpdatedDateTimeHasBeenSet = true;
125 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
126 }
127 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
129 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
130 return *this;
131 }
133
135
136 inline const Aws::String& GetRequestId() const { return m_requestId; }
137 template <typename RequestIdT = Aws::String>
138 void SetRequestId(RequestIdT&& value) {
139 m_requestIdHasBeenSet = true;
140 m_requestId = std::forward<RequestIdT>(value);
141 }
142 template <typename RequestIdT = Aws::String>
144 SetRequestId(std::forward<RequestIdT>(value));
145 return *this;
146 }
148 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
149
150 private:
151 Aws::String m_botId;
152
153 Aws::String m_botVersion;
154
155 Aws::String m_localeId;
156
158
159 Aws::Utils::DateTime m_creationDateTime{};
160
161 Aws::Utils::DateTime m_lastUpdatedDateTime{};
162
163 Aws::String m_requestId;
164 Aws::Http::HttpResponseCode m_HttpResponseCode;
165 bool m_botIdHasBeenSet = false;
166 bool m_botVersionHasBeenSet = false;
167 bool m_localeIdHasBeenSet = false;
168 bool m_customVocabularyStatusHasBeenSet = false;
169 bool m_creationDateTimeHasBeenSet = false;
170 bool m_lastUpdatedDateTimeHasBeenSet = false;
171 bool m_requestIdHasBeenSet = false;
172};
173
174} // namespace Model
175} // namespace LexModelsV2
176} // namespace Aws
DescribeCustomVocabularyMetadataResult & WithLocaleId(LocaleIdT &&value)
AWS_LEXMODELSV2_API DescribeCustomVocabularyMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomVocabularyMetadataResult & WithCustomVocabularyStatus(CustomVocabularyStatus value)
DescribeCustomVocabularyMetadataResult & WithRequestId(RequestIdT &&value)
DescribeCustomVocabularyMetadataResult & WithCreationDateTime(CreationDateTimeT &&value)
DescribeCustomVocabularyMetadataResult & WithBotVersion(BotVersionT &&value)
AWS_LEXMODELSV2_API DescribeCustomVocabularyMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomVocabularyMetadataResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue