AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DefinitionDocument.h
1
6#pragma once
7#include <aws/iotthingsgraph/IoTThingsGraph_EXPORTS.h>
8#include <aws/iotthingsgraph/model/DefinitionLanguage.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTThingsGraph
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOTTHINGSGRAPH_API DefinitionDocument() = default;
36 AWS_IOTTHINGSGRAPH_API DefinitionDocument(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTTHINGSGRAPH_API DefinitionDocument& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline DefinitionLanguage GetLanguage() const { return m_language; }
47 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
48 inline void SetLanguage(DefinitionLanguage value) { m_languageHasBeenSet = true; m_language = value; }
49 inline DefinitionDocument& WithLanguage(DefinitionLanguage value) { SetLanguage(value); return *this;}
51
53
56 inline const Aws::String& GetText() const { return m_text; }
57 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
58 template<typename TextT = Aws::String>
59 void SetText(TextT&& value) { m_textHasBeenSet = true; m_text = std::forward<TextT>(value); }
60 template<typename TextT = Aws::String>
61 DefinitionDocument& WithText(TextT&& value) { SetText(std::forward<TextT>(value)); return *this;}
63 private:
64
66 bool m_languageHasBeenSet = false;
67
68 Aws::String m_text;
69 bool m_textHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace IoTThingsGraph
74} // namespace Aws
DefinitionDocument & WithLanguage(DefinitionLanguage value)
AWS_IOTTHINGSGRAPH_API DefinitionDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
DefinitionDocument & WithText(TextT &&value)
AWS_IOTTHINGSGRAPH_API DefinitionDocument(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTTHINGSGRAPH_API DefinitionDocument()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue