7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/DataPrivacy.h>
10#include <aws/lexv2-models/model/ErrorLogSettings.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
50 template<
typename BotNameT = Aws::String>
51 void SetBotName(BotNameT&& value) { m_botNameHasBeenSet =
true; m_botName = std::forward<BotNameT>(value); }
52 template<
typename BotNameT = Aws::String>
63 template<
typename RoleArnT = Aws::String>
64 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
65 template<
typename RoleArnT = Aws::String>
73 template<
typename DataPrivacyT = DataPrivacy>
74 void SetDataPrivacy(DataPrivacyT&& value) { m_dataPrivacyHasBeenSet =
true; m_dataPrivacy = std::forward<DataPrivacyT>(value); }
75 template<
typename DataPrivacyT = DataPrivacy>
86 template<
typename ErrorLogSettingsT = ErrorLogSettings>
87 void SetErrorLogSettings(ErrorLogSettingsT&& value) { m_errorLogSettingsHasBeenSet =
true; m_errorLogSettings = std::forward<ErrorLogSettingsT>(value); }
88 template<
typename ErrorLogSettingsT = ErrorLogSettings>
114 template<
typename BotTagsT = Aws::Map<Aws::String, Aws::String>>
115 void SetBotTags(BotTagsT&& value) { m_botTagsHasBeenSet =
true; m_botTags = std::forward<BotTagsT>(value); }
116 template<
typename BotTagsT = Aws::Map<Aws::String, Aws::String>>
118 template<
typename BotTagsKeyT = Aws::String,
typename BotTagsValueT = Aws::String>
120 m_botTagsHasBeenSet =
true; m_botTags.emplace(std::forward<BotTagsKeyT>(key), std::forward<BotTagsValueT>(value));
return *
this;
133 template<
typename TestBotAliasTagsT = Aws::Map<Aws::String, Aws::String>>
134 void SetTestBotAliasTags(TestBotAliasTagsT&& value) { m_testBotAliasTagsHasBeenSet =
true; m_testBotAliasTags = std::forward<TestBotAliasTagsT>(value); }
135 template<
typename TestBotAliasTagsT = Aws::Map<Aws::String, Aws::String>>
137 template<
typename TestBotAliasTagsKeyT = Aws::String,
typename TestBotAliasTagsValueT = Aws::String>
139 m_testBotAliasTagsHasBeenSet =
true; m_testBotAliasTags.emplace(std::forward<TestBotAliasTagsKeyT>(key), std::forward<TestBotAliasTagsValueT>(value));
return *
this;
145 bool m_botNameHasBeenSet =
false;
148 bool m_roleArnHasBeenSet =
false;
151 bool m_dataPrivacyHasBeenSet =
false;
154 bool m_errorLogSettingsHasBeenSet =
false;
156 int m_idleSessionTTLInSeconds{0};
157 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
160 bool m_botTagsHasBeenSet =
false;
163 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