AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EntitySummary.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iottwinmaker/model/Status.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTTwinMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTTWINMAKER_API EntitySummary();
38 AWS_IOTTWINMAKER_API EntitySummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTWINMAKER_API EntitySummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetEntityId() const{ return m_entityId; }
48 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
49 inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; }
50 inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); }
51 inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); }
52 inline EntitySummary& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
53 inline EntitySummary& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
54 inline EntitySummary& WithEntityId(const char* value) { SetEntityId(value); return *this;}
56
58
61 inline const Aws::String& GetEntityName() const{ return m_entityName; }
62 inline bool EntityNameHasBeenSet() const { return m_entityNameHasBeenSet; }
63 inline void SetEntityName(const Aws::String& value) { m_entityNameHasBeenSet = true; m_entityName = value; }
64 inline void SetEntityName(Aws::String&& value) { m_entityNameHasBeenSet = true; m_entityName = std::move(value); }
65 inline void SetEntityName(const char* value) { m_entityNameHasBeenSet = true; m_entityName.assign(value); }
66 inline EntitySummary& WithEntityName(const Aws::String& value) { SetEntityName(value); return *this;}
67 inline EntitySummary& WithEntityName(Aws::String&& value) { SetEntityName(std::move(value)); return *this;}
68 inline EntitySummary& WithEntityName(const char* value) { SetEntityName(value); return *this;}
70
72
75 inline const Aws::String& GetArn() const{ return m_arn; }
76 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
77 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
78 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
79 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
80 inline EntitySummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
81 inline EntitySummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
82 inline EntitySummary& WithArn(const char* value) { SetArn(value); return *this;}
84
86
89 inline const Aws::String& GetParentEntityId() const{ return m_parentEntityId; }
90 inline bool ParentEntityIdHasBeenSet() const { return m_parentEntityIdHasBeenSet; }
91 inline void SetParentEntityId(const Aws::String& value) { m_parentEntityIdHasBeenSet = true; m_parentEntityId = value; }
92 inline void SetParentEntityId(Aws::String&& value) { m_parentEntityIdHasBeenSet = true; m_parentEntityId = std::move(value); }
93 inline void SetParentEntityId(const char* value) { m_parentEntityIdHasBeenSet = true; m_parentEntityId.assign(value); }
94 inline EntitySummary& WithParentEntityId(const Aws::String& value) { SetParentEntityId(value); return *this;}
95 inline EntitySummary& WithParentEntityId(Aws::String&& value) { SetParentEntityId(std::move(value)); return *this;}
96 inline EntitySummary& WithParentEntityId(const char* value) { SetParentEntityId(value); return *this;}
98
100
103 inline const Status& GetStatus() const{ return m_status; }
104 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
105 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
106 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
107 inline EntitySummary& WithStatus(const Status& value) { SetStatus(value); return *this;}
108 inline EntitySummary& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetDescription() const{ return m_description; }
116 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
117 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
118 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
119 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
120 inline EntitySummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
121 inline EntitySummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
122 inline EntitySummary& WithDescription(const char* value) { SetDescription(value); return *this;}
124
126
130 inline bool GetHasChildEntities() const{ return m_hasChildEntities; }
131 inline bool HasChildEntitiesHasBeenSet() const { return m_hasChildEntitiesHasBeenSet; }
132 inline void SetHasChildEntities(bool value) { m_hasChildEntitiesHasBeenSet = true; m_hasChildEntities = value; }
133 inline EntitySummary& WithHasChildEntities(bool value) { SetHasChildEntities(value); return *this;}
135
137
140 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
141 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
142 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
143 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
144 inline EntitySummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
145 inline EntitySummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
147
149
152 inline const Aws::Utils::DateTime& GetUpdateDateTime() const{ return m_updateDateTime; }
153 inline bool UpdateDateTimeHasBeenSet() const { return m_updateDateTimeHasBeenSet; }
154 inline void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = value; }
155 inline void SetUpdateDateTime(Aws::Utils::DateTime&& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = std::move(value); }
156 inline EntitySummary& WithUpdateDateTime(const Aws::Utils::DateTime& value) { SetUpdateDateTime(value); return *this;}
157 inline EntitySummary& WithUpdateDateTime(Aws::Utils::DateTime&& value) { SetUpdateDateTime(std::move(value)); return *this;}
159 private:
160
161 Aws::String m_entityId;
162 bool m_entityIdHasBeenSet = false;
163
164 Aws::String m_entityName;
165 bool m_entityNameHasBeenSet = false;
166
167 Aws::String m_arn;
168 bool m_arnHasBeenSet = false;
169
170 Aws::String m_parentEntityId;
171 bool m_parentEntityIdHasBeenSet = false;
172
173 Status m_status;
174 bool m_statusHasBeenSet = false;
175
176 Aws::String m_description;
177 bool m_descriptionHasBeenSet = false;
178
179 bool m_hasChildEntities;
180 bool m_hasChildEntitiesHasBeenSet = false;
181
182 Aws::Utils::DateTime m_creationDateTime;
183 bool m_creationDateTimeHasBeenSet = false;
184
185 Aws::Utils::DateTime m_updateDateTime;
186 bool m_updateDateTimeHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace IoTTwinMaker
191} // namespace Aws
const Aws::String & GetArn() const
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
EntitySummary & WithEntityName(const Aws::String &value)
void SetEntityName(const Aws::String &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
void SetEntityName(Aws::String &&value)
void SetStatus(const Status &value)
EntitySummary & WithParentEntityId(const char *value)
const Aws::Utils::DateTime & GetUpdateDateTime() const
EntitySummary & WithHasChildEntities(bool value)
AWS_IOTTWINMAKER_API EntitySummary()
const Aws::String & GetEntityName() const
EntitySummary & WithUpdateDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetParentEntityId() const
EntitySummary & WithArn(const Aws::String &value)
EntitySummary & WithArn(const char *value)
void SetEntityId(const Aws::String &value)
void SetParentEntityId(const Aws::String &value)
EntitySummary & WithArn(Aws::String &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
EntitySummary & WithParentEntityId(const Aws::String &value)
EntitySummary & WithDescription(const char *value)
EntitySummary & WithEntityName(const char *value)
EntitySummary & WithEntityId(const Aws::String &value)
void SetDescription(Aws::String &&value)
EntitySummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetEntityId(Aws::String &&value)
EntitySummary & WithUpdateDateTime(const Aws::Utils::DateTime &value)
void SetUpdateDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetDescription() const
AWS_IOTTWINMAKER_API EntitySummary(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateDateTime(const Aws::Utils::DateTime &value)
void SetDescription(const Aws::String &value)
void SetParentEntityId(const char *value)
EntitySummary & WithEntityId(const char *value)
AWS_IOTTWINMAKER_API EntitySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const Aws::String &value)
EntitySummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetEntityId() const
EntitySummary & WithDescription(Aws::String &&value)
EntitySummary & WithParentEntityId(Aws::String &&value)
EntitySummary & WithEntityName(Aws::String &&value)
EntitySummary & WithStatus(Status &&value)
EntitySummary & WithDescription(const Aws::String &value)
EntitySummary & WithEntityId(Aws::String &&value)
void SetParentEntityId(Aws::String &&value)
EntitySummary & WithStatus(const Status &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetEntityName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue