AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
BotLocaleExportSpecification.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexModelsV2 {
20namespace Model {
21
29 public:
30 AWS_LEXMODELSV2_API BotLocaleExportSpecification() = default;
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetBotId() const { return m_botId; }
40 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
41 template <typename BotIdT = Aws::String>
42 void SetBotId(BotIdT&& value) {
43 m_botIdHasBeenSet = true;
44 m_botId = std::forward<BotIdT>(value);
45 }
46 template <typename BotIdT = Aws::String>
48 SetBotId(std::forward<BotIdT>(value));
49 return *this;
50 }
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) {
61 m_botVersionHasBeenSet = true;
62 m_botVersion = std::forward<BotVersionT>(value);
63 }
64 template <typename BotVersionT = Aws::String>
66 SetBotVersion(std::forward<BotVersionT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetLocaleId() const { return m_localeId; }
77 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
78 template <typename LocaleIdT = Aws::String>
79 void SetLocaleId(LocaleIdT&& value) {
80 m_localeIdHasBeenSet = true;
81 m_localeId = std::forward<LocaleIdT>(value);
82 }
83 template <typename LocaleIdT = Aws::String>
85 SetLocaleId(std::forward<LocaleIdT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_botId;
91
92 Aws::String m_botVersion;
93
94 Aws::String m_localeId;
95 bool m_botIdHasBeenSet = false;
96 bool m_botVersionHasBeenSet = false;
97 bool m_localeIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace LexModelsV2
102} // namespace Aws
BotLocaleExportSpecification & WithBotId(BotIdT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API BotLocaleExportSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API BotLocaleExportSpecification()=default
BotLocaleExportSpecification & WithLocaleId(LocaleIdT &&value)
AWS_LEXMODELSV2_API BotLocaleExportSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
BotLocaleExportSpecification & WithBotVersion(BotVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue