7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/DataPrivacy.h>
11#include <aws/lexv2-models/model/ErrorLogSettings.h>
22namespace LexModelsV2 {
44 template <
typename BotNameT = Aws::String>
46 m_botNameHasBeenSet =
true;
47 m_botName = std::forward<BotNameT>(value);
49 template <
typename BotNameT = Aws::String>
63 template <
typename RoleArnT = Aws::String>
65 m_roleArnHasBeenSet =
true;
66 m_roleArn = std::forward<RoleArnT>(value);
68 template <
typename RoleArnT = Aws::String>
79 template <
typename DataPrivacyT = DataPrivacy>
81 m_dataPrivacyHasBeenSet =
true;
82 m_dataPrivacy = std::forward<DataPrivacyT>(value);
84 template <
typename DataPrivacyT = DataPrivacy>
98 template <
typename ErrorLogSettingsT = ErrorLogSettings>
100 m_errorLogSettingsHasBeenSet =
true;
101 m_errorLogSettings = std::forward<ErrorLogSettingsT>(value);
103 template <
typename ErrorLogSettingsT = ErrorLogSettings>
121 m_idleSessionTTLInSecondsHasBeenSet =
true;
122 m_idleSessionTTLInSeconds = value;
138 template <
typename BotTagsT = Aws::Map<Aws::String, Aws::String>>
140 m_botTagsHasBeenSet =
true;
141 m_botTags = std::forward<BotTagsT>(value);
143 template <
typename BotTagsT = Aws::Map<Aws::String, Aws::String>>
148 template <
typename BotTagsKeyT = Aws::String,
typename BotTagsValueT = Aws::String>
150 m_botTagsHasBeenSet =
true;
151 m_botTags.emplace(std::forward<BotTagsKeyT>(key), std::forward<BotTagsValueT>(value));
165 template <
typename TestBotAliasTagsT = Aws::Map<Aws::String, Aws::String>>
167 m_testBotAliasTagsHasBeenSet =
true;
168 m_testBotAliasTags = std::forward<TestBotAliasTagsT>(value);
170 template <
typename TestBotAliasTagsT = Aws::Map<Aws::String, Aws::String>>
175 template <
typename TestBotAliasTagsKeyT = Aws::String,
typename TestBotAliasTagsValueT = Aws::String>
177 m_testBotAliasTagsHasBeenSet =
true;
178 m_testBotAliasTags.emplace(std::forward<TestBotAliasTagsKeyT>(key), std::forward<TestBotAliasTagsValueT>(value));
191 int m_idleSessionTTLInSeconds{0};
196 bool m_botNameHasBeenSet =
false;
197 bool m_roleArnHasBeenSet =
false;
198 bool m_dataPrivacyHasBeenSet =
false;
199 bool m_errorLogSettingsHasBeenSet =
false;
200 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
201 bool m_botTagsHasBeenSet =
false;
202 bool m_testBotAliasTagsHasBeenSet =
false;
bool ErrorLogSettingsHasBeenSet() const
void SetErrorLogSettings(ErrorLogSettingsT &&value)
BotImportSpecification & WithDataPrivacy(DataPrivacyT &&value)
const Aws::Map< Aws::String, Aws::String > & GetBotTags() const
BotImportSpecification & WithBotName(BotNameT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool BotTagsHasBeenSet() const
const Aws::String & GetRoleArn() const
AWS_LEXMODELSV2_API BotImportSpecification(Aws::Utils::Json::JsonView jsonValue)
bool RoleArnHasBeenSet() const
BotImportSpecification & AddBotTags(BotTagsKeyT &&key, BotTagsValueT &&value)
void SetRoleArn(RoleArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTestBotAliasTags() const
void SetIdleSessionTTLInSeconds(int value)
void SetDataPrivacy(DataPrivacyT &&value)
const Aws::String & GetBotName() const
BotImportSpecification & WithBotTags(BotTagsT &&value)
BotImportSpecification & WithIdleSessionTTLInSeconds(int value)
BotImportSpecification & WithErrorLogSettings(ErrorLogSettingsT &&value)
bool IdleSessionTTLInSecondsHasBeenSet() const
const DataPrivacy & GetDataPrivacy() const
BotImportSpecification & AddTestBotAliasTags(TestBotAliasTagsKeyT &&key, TestBotAliasTagsValueT &&value)
bool TestBotAliasTagsHasBeenSet() const
void SetBotTags(BotTagsT &&value)
AWS_LEXMODELSV2_API BotImportSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
BotImportSpecification & WithRoleArn(RoleArnT &&value)
void SetTestBotAliasTags(TestBotAliasTagsT &&value)
BotImportSpecification & WithTestBotAliasTags(TestBotAliasTagsT &&value)
int GetIdleSessionTTLInSeconds() const
AWS_LEXMODELSV2_API BotImportSpecification()=default
bool BotNameHasBeenSet() const
bool DataPrivacyHasBeenSet() const
void SetBotName(BotNameT &&value)
const ErrorLogSettings & GetErrorLogSettings() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue