7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10#include <aws/qbusiness/model/Rule.h>
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
62 template <
typename DescriptionT = Aws::String>
64 m_descriptionHasBeenSet =
true;
65 m_description = std::forward<DescriptionT>(value);
67 template <
typename DescriptionT = Aws::String>
81 template <
typename ExampleChatMessagesT = Aws::Vector<Aws::String>>
83 m_exampleChatMessagesHasBeenSet =
true;
84 m_exampleChatMessages = std::forward<ExampleChatMessagesT>(value);
86 template <
typename ExampleChatMessagesT = Aws::Vector<Aws::String>>
91 template <
typename ExampleChatMessagesT = Aws::String>
93 m_exampleChatMessagesHasBeenSet =
true;
94 m_exampleChatMessages.emplace_back(std::forward<ExampleChatMessagesT>(value));
105 template <
typename RulesT = Aws::Vector<Rule>>
107 m_rulesHasBeenSet =
true;
108 m_rules = std::forward<RulesT>(value);
110 template <
typename RulesT = Aws::Vector<Rule>>
112 SetRules(std::forward<RulesT>(value));
115 template <
typename RulesT = Rule>
117 m_rulesHasBeenSet =
true;
118 m_rules.emplace_back(std::forward<RulesT>(value));
130 bool m_nameHasBeenSet =
false;
131 bool m_descriptionHasBeenSet =
false;
132 bool m_exampleChatMessagesHasBeenSet =
false;
133 bool m_rulesHasBeenSet =
false;
TopicConfiguration & WithExampleChatMessages(ExampleChatMessagesT &&value)
TopicConfiguration & AddRules(RulesT &&value)
AWS_QBUSINESS_API TopicConfiguration(Aws::Utils::Json::JsonView jsonValue)
TopicConfiguration & WithName(NameT &&value)
TopicConfiguration & WithRules(RulesT &&value)
AWS_QBUSINESS_API TopicConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::Vector< Rule > & GetRules() const
AWS_QBUSINESS_API TopicConfiguration()=default
void SetName(NameT &&value)
TopicConfiguration & WithDescription(DescriptionT &&value)
bool NameHasBeenSet() const
TopicConfiguration & AddExampleChatMessages(ExampleChatMessagesT &&value)
const Aws::String & GetDescription() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExampleChatMessages(ExampleChatMessagesT &&value)
bool DescriptionHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::Vector< Aws::String > & GetExampleChatMessages() const
void SetRules(RulesT &&value)
bool RulesHasBeenSet() const
bool ExampleChatMessagesHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue