AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
SceneSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTTwinMaker {
21namespace Model {
22
30 public:
31 AWS_IOTTWINMAKER_API SceneSummary() = default;
32 AWS_IOTTWINMAKER_API SceneSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTTWINMAKER_API SceneSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetSceneId() const { return m_sceneId; }
41 inline bool SceneIdHasBeenSet() const { return m_sceneIdHasBeenSet; }
42 template <typename SceneIdT = Aws::String>
43 void SetSceneId(SceneIdT&& value) {
44 m_sceneIdHasBeenSet = true;
45 m_sceneId = std::forward<SceneIdT>(value);
46 }
47 template <typename SceneIdT = Aws::String>
48 SceneSummary& WithSceneId(SceneIdT&& value) {
49 SetSceneId(std::forward<SceneIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetContentLocation() const { return m_contentLocation; }
60 inline bool ContentLocationHasBeenSet() const { return m_contentLocationHasBeenSet; }
61 template <typename ContentLocationT = Aws::String>
62 void SetContentLocation(ContentLocationT&& value) {
63 m_contentLocationHasBeenSet = true;
64 m_contentLocation = std::forward<ContentLocationT>(value);
65 }
66 template <typename ContentLocationT = Aws::String>
67 SceneSummary& WithContentLocation(ContentLocationT&& value) {
68 SetContentLocation(std::forward<ContentLocationT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetArn() const { return m_arn; }
78 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
79 template <typename ArnT = Aws::String>
80 void SetArn(ArnT&& value) {
81 m_arnHasBeenSet = true;
82 m_arn = std::forward<ArnT>(value);
83 }
84 template <typename ArnT = Aws::String>
85 SceneSummary& WithArn(ArnT&& value) {
86 SetArn(std::forward<ArnT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
96 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
97 template <typename CreationDateTimeT = Aws::Utils::DateTime>
98 void SetCreationDateTime(CreationDateTimeT&& value) {
99 m_creationDateTimeHasBeenSet = true;
100 m_creationDateTime = std::forward<CreationDateTimeT>(value);
101 }
102 template <typename CreationDateTimeT = Aws::Utils::DateTime>
103 SceneSummary& WithCreationDateTime(CreationDateTimeT&& value) {
104 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetUpdateDateTime() const { return m_updateDateTime; }
114 inline bool UpdateDateTimeHasBeenSet() const { return m_updateDateTimeHasBeenSet; }
115 template <typename UpdateDateTimeT = Aws::Utils::DateTime>
116 void SetUpdateDateTime(UpdateDateTimeT&& value) {
117 m_updateDateTimeHasBeenSet = true;
118 m_updateDateTime = std::forward<UpdateDateTimeT>(value);
119 }
120 template <typename UpdateDateTimeT = Aws::Utils::DateTime>
121 SceneSummary& WithUpdateDateTime(UpdateDateTimeT&& value) {
122 SetUpdateDateTime(std::forward<UpdateDateTimeT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetDescription() const { return m_description; }
132 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 template <typename DescriptionT = Aws::String>
134 void SetDescription(DescriptionT&& value) {
135 m_descriptionHasBeenSet = true;
136 m_description = std::forward<DescriptionT>(value);
137 }
138 template <typename DescriptionT = Aws::String>
139 SceneSummary& WithDescription(DescriptionT&& value) {
140 SetDescription(std::forward<DescriptionT>(value));
141 return *this;
142 }
144 private:
145 Aws::String m_sceneId;
146
147 Aws::String m_contentLocation;
148
149 Aws::String m_arn;
150
151 Aws::Utils::DateTime m_creationDateTime{};
152
153 Aws::Utils::DateTime m_updateDateTime{};
154
155 Aws::String m_description;
156 bool m_sceneIdHasBeenSet = false;
157 bool m_contentLocationHasBeenSet = false;
158 bool m_arnHasBeenSet = false;
159 bool m_creationDateTimeHasBeenSet = false;
160 bool m_updateDateTimeHasBeenSet = false;
161 bool m_descriptionHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace IoTTwinMaker
166} // namespace Aws
void SetDescription(DescriptionT &&value)
AWS_IOTTWINMAKER_API SceneSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetContentLocation() const
SceneSummary & WithSceneId(SceneIdT &&value)
SceneSummary & WithDescription(DescriptionT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetDescription() const
AWS_IOTTWINMAKER_API SceneSummary()=default
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContentLocation(ContentLocationT &&value)
const Aws::String & GetSceneId() const
SceneSummary & WithContentLocation(ContentLocationT &&value)
void SetUpdateDateTime(UpdateDateTimeT &&value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetCreationDateTime() const
SceneSummary & WithCreationDateTime(CreationDateTimeT &&value)
const Aws::Utils::DateTime & GetUpdateDateTime() const
SceneSummary & WithArn(ArnT &&value)
AWS_IOTTWINMAKER_API SceneSummary(Aws::Utils::Json::JsonView jsonValue)
SceneSummary & WithUpdateDateTime(UpdateDateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue