AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
SystemTemplateDescription.h
1
6#pragma once
7#include <aws/iotthingsgraph/IoTThingsGraph_EXPORTS.h>
8#include <aws/iotthingsgraph/model/DefinitionDocument.h>
9#include <aws/iotthingsgraph/model/SystemTemplateSummary.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTThingsGraph {
21namespace Model {
22
30 public:
31 AWS_IOTTHINGSGRAPH_API SystemTemplateDescription() = default;
32 AWS_IOTTHINGSGRAPH_API SystemTemplateDescription(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const SystemTemplateSummary& GetSummary() const { return m_summary; }
41 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
42 template <typename SummaryT = SystemTemplateSummary>
43 void SetSummary(SummaryT&& value) {
44 m_summaryHasBeenSet = true;
45 m_summary = std::forward<SummaryT>(value);
46 }
47 template <typename SummaryT = SystemTemplateSummary>
49 SetSummary(std::forward<SummaryT>(value));
50 return *this;
51 }
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) {
62 m_definitionHasBeenSet = true;
63 m_definition = std::forward<DefinitionT>(value);
64 }
65 template <typename DefinitionT = DefinitionDocument>
67 SetDefinition(std::forward<DefinitionT>(value));
68 return *this;
69 }
71
73
77 inline long long GetValidatedNamespaceVersion() const { return m_validatedNamespaceVersion; }
78 inline bool ValidatedNamespaceVersionHasBeenSet() const { return m_validatedNamespaceVersionHasBeenSet; }
79 inline void SetValidatedNamespaceVersion(long long value) {
80 m_validatedNamespaceVersionHasBeenSet = true;
81 m_validatedNamespaceVersion = value;
82 }
85 return *this;
86 }
88 private:
89 SystemTemplateSummary m_summary;
90
91 DefinitionDocument m_definition;
92
93 long long m_validatedNamespaceVersion{0};
94 bool m_summaryHasBeenSet = false;
95 bool m_definitionHasBeenSet = false;
96 bool m_validatedNamespaceVersionHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace IoTThingsGraph
101} // 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