7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotthingsgraph/IoTThingsGraph_EXPORTS.h>
9#include <aws/iotthingsgraph/model/DefinitionLanguage.h>
20namespace IoTThingsGraph {
43 m_languageHasBeenSet =
true;
58 template <
typename TextT = Aws::String>
60 m_textHasBeenSet =
true;
61 m_text = std::forward<TextT>(value);
63 template <
typename TextT = Aws::String>
65 SetText(std::forward<TextT>(value));
73 bool m_languageHasBeenSet =
false;
74 bool m_textHasBeenSet =
false;
bool TextHasBeenSet() const
DefinitionDocument & WithLanguage(DefinitionLanguage value)
void SetLanguage(DefinitionLanguage value)
AWS_IOTTHINGSGRAPH_API DefinitionDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
DefinitionDocument & WithText(TextT &&value)
DefinitionLanguage GetLanguage() const
AWS_IOTTHINGSGRAPH_API DefinitionDocument(Aws::Utils::Json::JsonView jsonValue)
bool LanguageHasBeenSet() const
void SetText(TextT &&value)
AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetText() const
AWS_IOTTHINGSGRAPH_API DefinitionDocument()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue