AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SystemTemplateDescription.h
1
6#pragma once
7#include <aws/iotthingsgraph/IoTThingsGraph_EXPORTS.h>
8#include <aws/iotthingsgraph/model/SystemTemplateSummary.h>
9#include <aws/iotthingsgraph/model/DefinitionDocument.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
34 {
35 public:
36 AWS_IOTTHINGSGRAPH_API SystemTemplateDescription() = default;
37 AWS_IOTTHINGSGRAPH_API SystemTemplateDescription(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const SystemTemplateSummary& GetSummary() const { return m_summary; }
47 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
48 template<typename SummaryT = SystemTemplateSummary>
49 void SetSummary(SummaryT&& value) { m_summaryHasBeenSet = true; m_summary = std::forward<SummaryT>(value); }
50 template<typename SummaryT = SystemTemplateSummary>
51 SystemTemplateDescription& WithSummary(SummaryT&& value) { SetSummary(std::forward<SummaryT>(value)); return *this;}
53
55
58 inline const DefinitionDocument& GetDefinition() const { return m_definition; }
59 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
60 template<typename DefinitionT = DefinitionDocument>
61 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
62 template<typename DefinitionT = DefinitionDocument>
63 SystemTemplateDescription& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
65
67
71 inline long long GetValidatedNamespaceVersion() const { return m_validatedNamespaceVersion; }
72 inline bool ValidatedNamespaceVersionHasBeenSet() const { return m_validatedNamespaceVersionHasBeenSet; }
73 inline void SetValidatedNamespaceVersion(long long value) { m_validatedNamespaceVersionHasBeenSet = true; m_validatedNamespaceVersion = value; }
76 private:
77
78 SystemTemplateSummary m_summary;
79 bool m_summaryHasBeenSet = false;
80
81 DefinitionDocument m_definition;
82 bool m_definitionHasBeenSet = false;
83
84 long long m_validatedNamespaceVersion{0};
85 bool m_validatedNamespaceVersionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace IoTThingsGraph
90} // namespace Aws
AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTTHINGSGRAPH_API SystemTemplateDescription(Aws::Utils::Json::JsonView jsonValue)
SystemTemplateDescription & WithValidatedNamespaceVersion(long long value)
AWS_IOTTHINGSGRAPH_API SystemTemplateDescription()=default
SystemTemplateDescription & WithDefinition(DefinitionT &&value)
AWS_IOTTHINGSGRAPH_API SystemTemplateDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
SystemTemplateDescription & WithSummary(SummaryT &&value)
Aws::Utils::Json::JsonValue JsonValue