7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qconnect/model/GuardrailTopicType.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>
61 template<
typename DefinitionT = Aws::String>
63 template<
typename DefinitionT = Aws::String>
74 template<
typename ExamplesT = Aws::Vector<Aws::String>>
75 void SetExamples(
ExamplesT&& value) { m_examplesHasBeenSet =
true; m_examples = std::forward<ExamplesT>(value); }
76 template<
typename ExamplesT = Aws::Vector<Aws::String>>
78 template<
typename ExamplesT = Aws::String>
94 bool m_nameHasBeenSet =
false;
97 bool m_definitionHasBeenSet =
false;
100 bool m_examplesHasBeenSet =
false;
103 bool m_typeHasBeenSet =
false;
AWS_QCONNECT_API GuardrailTopicConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExamples(ExamplesT &&value)
GuardrailTopicConfig & AddExamples(ExamplesT &&value)
AWS_QCONNECT_API GuardrailTopicConfig(Aws::Utils::Json::JsonView jsonValue)
bool ExamplesHasBeenSet() const
void SetDefinition(DefinitionT &&value)
GuardrailTopicConfig & WithType(GuardrailTopicType value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
GuardrailTopicConfig & WithExamples(ExamplesT &&value)
GuardrailTopicType GetType() const
void SetName(NameT &&value)
void SetType(GuardrailTopicType value)
const Aws::String & GetDefinition() const
GuardrailTopicConfig & WithDefinition(DefinitionT &&value)
const Aws::Vector< Aws::String > & GetExamples() const
bool DefinitionHasBeenSet() const
AWS_QCONNECT_API GuardrailTopicConfig()=default
GuardrailTopicConfig & WithName(NameT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypeHasBeenSet() 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