AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EntityDescription.h
1
6#pragma once
7#include <aws/iotthingsgraph/IoTThingsGraph_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotthingsgraph/model/EntityType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iotthingsgraph/model/DefinitionDocument.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTThingsGraph
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_IOTTHINGSGRAPH_API EntityDescription();
38 AWS_IOTTHINGSGRAPH_API EntityDescription(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTHINGSGRAPH_API EntityDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline EntityDescription& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline EntityDescription& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline EntityDescription& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline EntityDescription& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline EntityDescription& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline EntityDescription& WithArn(const char* value) { SetArn(value); return *this;}
70
72
75 inline const EntityType& GetType() const{ return m_type; }
76 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
77 inline void SetType(const EntityType& value) { m_typeHasBeenSet = true; m_type = value; }
78 inline void SetType(EntityType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
79 inline EntityDescription& WithType(const EntityType& value) { SetType(value); return *this;}
80 inline EntityDescription& WithType(EntityType&& value) { SetType(std::move(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
88 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
89 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
90 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
91 inline EntityDescription& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
92 inline EntityDescription& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
94
96
99 inline const DefinitionDocument& GetDefinition() const{ return m_definition; }
100 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
101 inline void SetDefinition(const DefinitionDocument& value) { m_definitionHasBeenSet = true; m_definition = value; }
102 inline void SetDefinition(DefinitionDocument&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
103 inline EntityDescription& WithDefinition(const DefinitionDocument& value) { SetDefinition(value); return *this;}
104 inline EntityDescription& WithDefinition(DefinitionDocument&& value) { SetDefinition(std::move(value)); return *this;}
106 private:
107
108 Aws::String m_id;
109 bool m_idHasBeenSet = false;
110
111 Aws::String m_arn;
112 bool m_arnHasBeenSet = false;
113
114 EntityType m_type;
115 bool m_typeHasBeenSet = false;
116
117 Aws::Utils::DateTime m_createdAt;
118 bool m_createdAtHasBeenSet = false;
119
120 DefinitionDocument m_definition;
121 bool m_definitionHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace IoTThingsGraph
126} // namespace Aws
EntityDescription & WithArn(const char *value)
void SetDefinition(DefinitionDocument &&value)
EntityDescription & WithArn(const Aws::String &value)
EntityDescription & WithId(const Aws::String &value)
EntityDescription & WithId(const char *value)
AWS_IOTTHINGSGRAPH_API EntityDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
const DefinitionDocument & GetDefinition() const
EntityDescription & WithDefinition(const DefinitionDocument &value)
EntityDescription & WithCreatedAt(Aws::Utils::DateTime &&value)
EntityDescription & WithType(EntityType &&value)
EntityDescription & WithArn(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_IOTTHINGSGRAPH_API EntityDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
EntityDescription & WithType(const EntityType &value)
void SetDefinition(const DefinitionDocument &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
EntityDescription & WithId(Aws::String &&value)
EntityDescription & WithDefinition(DefinitionDocument &&value)
EntityDescription & WithCreatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue