AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeCustomVocabularyMetadataResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/CustomVocabularyStatus.h>
10#include <aws/core/utils/DateTime.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 LexModelsV2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_LEXMODELSV2_API DescribeCustomVocabularyMetadataResult() = default;
35
36
38
41 inline const Aws::String& GetBotId() const { return m_botId; }
42 template<typename BotIdT = Aws::String>
43 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
44 template<typename BotIdT = Aws::String>
45 DescribeCustomVocabularyMetadataResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
53 template<typename BotVersionT = Aws::String>
54 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
55 template<typename BotVersionT = Aws::String>
56 DescribeCustomVocabularyMetadataResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
58
60
63 inline const Aws::String& GetLocaleId() const { return m_localeId; }
64 template<typename LocaleIdT = Aws::String>
65 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
66 template<typename LocaleIdT = Aws::String>
67 DescribeCustomVocabularyMetadataResult& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
69
71
75 inline CustomVocabularyStatus GetCustomVocabularyStatus() const { return m_customVocabularyStatus; }
76 inline void SetCustomVocabularyStatus(CustomVocabularyStatus value) { m_customVocabularyStatusHasBeenSet = true; m_customVocabularyStatus = value; }
79
81
84 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
85 template<typename CreationDateTimeT = Aws::Utils::DateTime>
86 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
87 template<typename CreationDateTimeT = Aws::Utils::DateTime>
88 DescribeCustomVocabularyMetadataResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
96 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
97 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
98 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
99 DescribeCustomVocabularyMetadataResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
101
103
104 inline const Aws::String& GetRequestId() const { return m_requestId; }
105 template<typename RequestIdT = Aws::String>
106 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
107 template<typename RequestIdT = Aws::String>
108 DescribeCustomVocabularyMetadataResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
110 private:
111
112 Aws::String m_botId;
113 bool m_botIdHasBeenSet = false;
114
115 Aws::String m_botVersion;
116 bool m_botVersionHasBeenSet = false;
117
118 Aws::String m_localeId;
119 bool m_localeIdHasBeenSet = false;
120
122 bool m_customVocabularyStatusHasBeenSet = false;
123
124 Aws::Utils::DateTime m_creationDateTime{};
125 bool m_creationDateTimeHasBeenSet = false;
126
127 Aws::Utils::DateTime m_lastUpdatedDateTime{};
128 bool m_lastUpdatedDateTimeHasBeenSet = false;
129
130 Aws::String m_requestId;
131 bool m_requestIdHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace LexModelsV2
136} // 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