AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
SystemTemplateSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotthingsgraph/IoTThingsGraph_EXPORTS.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 SystemTemplateSummary() = default;
32 AWS_IOTTHINGSGRAPH_API SystemTemplateSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
60 template <typename ArnT = Aws::String>
61 void SetArn(ArnT&& value) {
62 m_arnHasBeenSet = true;
63 m_arn = std::forward<ArnT>(value);
64 }
65 template <typename ArnT = Aws::String>
67 SetArn(std::forward<ArnT>(value));
68 return *this;
69 }
71
73
76 inline long long GetRevisionNumber() const { return m_revisionNumber; }
77 inline bool RevisionNumberHasBeenSet() const { return m_revisionNumberHasBeenSet; }
78 inline void SetRevisionNumber(long long value) {
79 m_revisionNumberHasBeenSet = true;
80 m_revisionNumber = value;
81 }
82 inline SystemTemplateSummary& WithRevisionNumber(long long value) {
83 SetRevisionNumber(value);
84 return *this;
85 }
87
89
92 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
93 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
94 template <typename CreatedAtT = Aws::Utils::DateTime>
95 void SetCreatedAt(CreatedAtT&& value) {
96 m_createdAtHasBeenSet = true;
97 m_createdAt = std::forward<CreatedAtT>(value);
98 }
99 template <typename CreatedAtT = Aws::Utils::DateTime>
101 SetCreatedAt(std::forward<CreatedAtT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_id;
107
108 Aws::String m_arn;
109
110 long long m_revisionNumber{0};
111
112 Aws::Utils::DateTime m_createdAt{};
113 bool m_idHasBeenSet = false;
114 bool m_arnHasBeenSet = false;
115 bool m_revisionNumberHasBeenSet = false;
116 bool m_createdAtHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace IoTThingsGraph
121} // namespace Aws
SystemTemplateSummary & WithRevisionNumber(long long value)
SystemTemplateSummary & WithArn(ArnT &&value)
AWS_IOTTHINGSGRAPH_API SystemTemplateSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
SystemTemplateSummary & WithCreatedAt(CreatedAtT &&value)
AWS_IOTTHINGSGRAPH_API SystemTemplateSummary()=default
AWS_IOTTHINGSGRAPH_API SystemTemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue