AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
48 inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
49 inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
50 inline CustomVocabularyImportSpecification& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
51 inline CustomVocabularyImportSpecification& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
52 inline CustomVocabularyImportSpecification& WithBotId(const char* value) { SetBotId(value); return *this;}
54
56
59 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
60 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
61 inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
62 inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
63 inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
64 inline CustomVocabularyImportSpecification& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
65 inline CustomVocabularyImportSpecification& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
66 inline CustomVocabularyImportSpecification& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
68
70
74 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
75 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
76 inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; }
77 inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); }
78 inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); }
79 inline CustomVocabularyImportSpecification& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
80 inline CustomVocabularyImportSpecification& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
81 inline CustomVocabularyImportSpecification& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
83 private:
84
85 Aws::String m_botId;
86 bool m_botIdHasBeenSet = false;
87
88 Aws::String m_botVersion;
89 bool m_botVersionHasBeenSet = false;
90
91 Aws::String m_localeId;
92 bool m_localeIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace LexModelsV2
97} // namespace Aws
CustomVocabularyImportSpecification & WithBotId(const char *value)
CustomVocabularyImportSpecification & WithBotVersion(const char *value)
CustomVocabularyImportSpecification & WithBotId(const Aws::String &value)
CustomVocabularyImportSpecification & WithBotVersion(Aws::String &&value)
AWS_LEXMODELSV2_API CustomVocabularyImportSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomVocabularyImportSpecification & WithLocaleId(const char *value)
CustomVocabularyImportSpecification & WithLocaleId(const Aws::String &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API CustomVocabularyImportSpecification(Aws::Utils::Json::JsonView jsonValue)
CustomVocabularyImportSpecification & WithBotId(Aws::String &&value)
CustomVocabularyImportSpecification & WithBotVersion(const Aws::String &value)
CustomVocabularyImportSpecification & WithLocaleId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue