7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qbusiness/model/Rule.h>
49 template<
typename NameT = Aws::String>
50 void SetName(
NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
62 template<
typename DescriptionT = Aws::String>
64 template<
typename DescriptionT = Aws::String>
75 template<
typename ExampleChatMessagesT = Aws::Vector<Aws::String>>
77 template<
typename ExampleChatMessagesT = Aws::Vector<Aws::String>>
79 template<
typename ExampleChatMessagesT = Aws::String>
89 template<
typename RulesT = Aws::Vector<Rule>>
90 void SetRules(
RulesT&& value) { m_rulesHasBeenSet =
true; m_rules = std::forward<RulesT>(value); }
91 template<
typename RulesT = Aws::Vector<Rule>>
93 template<
typename RulesT = Rule>
99 bool m_nameHasBeenSet =
false;
102 bool m_descriptionHasBeenSet =
false;
105 bool m_exampleChatMessagesHasBeenSet =
false;
108 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