AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CustomVocabularyImportSpecification.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexModelsV2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LEXMODELSV2_API CustomVocabularyImportSpecification() = default;
38 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBotId() const { return m_botId; }
46 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
47 template<typename BotIdT = Aws::String>
48 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
49 template<typename BotIdT = Aws::String>
50 CustomVocabularyImportSpecification& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
58 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
59 template<typename BotVersionT = Aws::String>
60 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
61 template<typename BotVersionT = Aws::String>
62 CustomVocabularyImportSpecification& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
64
66
70 inline const Aws::String& GetLocaleId() const { return m_localeId; }
71 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
72 template<typename LocaleIdT = Aws::String>
73 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
74 template<typename LocaleIdT = Aws::String>
75 CustomVocabularyImportSpecification& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
77 private:
78
79 Aws::String m_botId;
80 bool m_botIdHasBeenSet = false;
81
82 Aws::String m_botVersion;
83 bool m_botVersionHasBeenSet = false;
84
85 Aws::String m_localeId;
86 bool m_localeIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace LexModelsV2
91} // namespace Aws
CustomVocabularyImportSpecification & WithBotVersion(BotVersionT &&value)
AWS_LEXMODELSV2_API CustomVocabularyImportSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
CustomVocabularyImportSpecification & WithBotId(BotIdT &&value)
AWS_LEXMODELSV2_API CustomVocabularyImportSpecification()=default
AWS_LEXMODELSV2_API CustomVocabularyImportSpecification(Aws::Utils::Json::JsonView jsonValue)
CustomVocabularyImportSpecification & WithLocaleId(LocaleIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue