7#include <aws/iotthingsgraph/IoTThingsGraph_EXPORTS.h>
8#include <aws/iotthingsgraph/model/DefinitionLanguage.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace IoTThingsGraph
62 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
70 bool m_languageHasBeenSet =
false;
73 bool m_textHasBeenSet =
false;
void SetText(const Aws::String &value)
bool TextHasBeenSet() const
AWS_IOTTHINGSGRAPH_API DefinitionDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetText(const char *value)
void SetText(Aws::String &&value)
AWS_IOTTHINGSGRAPH_API DefinitionDocument(Aws::Utils::Json::JsonView jsonValue)
DefinitionDocument & WithText(const char *value)
bool LanguageHasBeenSet() const
DefinitionDocument & WithLanguage(const DefinitionLanguage &value)
DefinitionDocument & WithText(const Aws::String &value)
DefinitionDocument & WithLanguage(DefinitionLanguage &&value)
void SetLanguage(DefinitionLanguage &&value)
AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTTHINGSGRAPH_API DefinitionDocument()
DefinitionDocument & WithText(Aws::String &&value)
const Aws::String & GetText() const
const DefinitionLanguage & GetLanguage() const
void SetLanguage(const DefinitionLanguage &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue