7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qconnect/QConnect_EXPORTS.h>
10#include <aws/qconnect/model/GuardrailTopicType.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));
61 template <
typename DefinitionT = Aws::String>
63 m_definitionHasBeenSet =
true;
64 m_definition = std::forward<DefinitionT>(value);
66 template <
typename DefinitionT = Aws::String>
80 template <
typename ExamplesT = Aws::Vector<Aws::String>>
82 m_examplesHasBeenSet =
true;
83 m_examples = std::forward<ExamplesT>(value);
85 template <
typename ExamplesT = Aws::Vector<Aws::String>>
90 template <
typename ExamplesT = Aws::String>
92 m_examplesHasBeenSet =
true;
93 m_examples.emplace_back(std::forward<ExamplesT>(value));
105 m_typeHasBeenSet =
true;
121 bool m_nameHasBeenSet =
false;
122 bool m_definitionHasBeenSet =
false;
123 bool m_examplesHasBeenSet =
false;
124 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