AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomVocabularyExportSpecification.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 CustomVocabularyExportSpecification& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
51 inline CustomVocabularyExportSpecification& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
52 inline CustomVocabularyExportSpecification& 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 CustomVocabularyExportSpecification& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
65 inline CustomVocabularyExportSpecification& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
66 inline CustomVocabularyExportSpecification& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
68
70
73 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
74 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
75 inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; }
76 inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); }
77 inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); }
78 inline CustomVocabularyExportSpecification& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
79 inline CustomVocabularyExportSpecification& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
80 inline CustomVocabularyExportSpecification& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
82 private:
83
84 Aws::String m_botId;
85 bool m_botIdHasBeenSet = false;
86
87 Aws::String m_botVersion;
88 bool m_botVersionHasBeenSet = false;
89
90 Aws::String m_localeId;
91 bool m_localeIdHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace LexModelsV2
96} // namespace Aws
CustomVocabularyExportSpecification & WithLocaleId(const Aws::String &value)
CustomVocabularyExportSpecification & WithLocaleId(const char *value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
CustomVocabularyExportSpecification & WithBotId(Aws::String &&value)
CustomVocabularyExportSpecification & WithBotVersion(const char *value)
CustomVocabularyExportSpecification & WithBotId(const char *value)
CustomVocabularyExportSpecification & WithBotVersion(const Aws::String &value)
AWS_LEXMODELSV2_API CustomVocabularyExportSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomVocabularyExportSpecification & WithBotId(const Aws::String &value)
AWS_LEXMODELSV2_API CustomVocabularyExportSpecification(Aws::Utils::Json::JsonView jsonValue)
CustomVocabularyExportSpecification & WithLocaleId(Aws::String &&value)
CustomVocabularyExportSpecification & WithBotVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue