AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SystemInstanceSummary.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/SystemInstanceDeploymentStatus.h>
10#include <aws/iotthingsgraph/model/DeploymentTarget.h>
11#include <aws/core/utils/DateTime.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
36 {
37 public:
38 AWS_IOTTHINGSGRAPH_API SystemInstanceSummary();
39 AWS_IOTTHINGSGRAPH_API SystemInstanceSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline SystemInstanceSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline SystemInstanceSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline SystemInstanceSummary& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::String& GetArn() const{ return m_arn; }
63 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
64 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
65 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
66 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
67 inline SystemInstanceSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
68 inline SystemInstanceSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
69 inline SystemInstanceSummary& WithArn(const char* value) { SetArn(value); return *this;}
71
73
76 inline const SystemInstanceDeploymentStatus& GetStatus() const{ return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(const SystemInstanceDeploymentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
79 inline void SetStatus(SystemInstanceDeploymentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
80 inline SystemInstanceSummary& WithStatus(const SystemInstanceDeploymentStatus& value) { SetStatus(value); return *this;}
81 inline SystemInstanceSummary& WithStatus(SystemInstanceDeploymentStatus&& value) { SetStatus(std::move(value)); return *this;}
83
85
88 inline const DeploymentTarget& GetTarget() const{ return m_target; }
89 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
90 inline void SetTarget(const DeploymentTarget& value) { m_targetHasBeenSet = true; m_target = value; }
91 inline void SetTarget(DeploymentTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
92 inline SystemInstanceSummary& WithTarget(const DeploymentTarget& value) { SetTarget(value); return *this;}
93 inline SystemInstanceSummary& WithTarget(DeploymentTarget&& value) { SetTarget(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetGreengrassGroupName() const{ return m_greengrassGroupName; }
101 inline bool GreengrassGroupNameHasBeenSet() const { return m_greengrassGroupNameHasBeenSet; }
102 inline void SetGreengrassGroupName(const Aws::String& value) { m_greengrassGroupNameHasBeenSet = true; m_greengrassGroupName = value; }
103 inline void SetGreengrassGroupName(Aws::String&& value) { m_greengrassGroupNameHasBeenSet = true; m_greengrassGroupName = std::move(value); }
104 inline void SetGreengrassGroupName(const char* value) { m_greengrassGroupNameHasBeenSet = true; m_greengrassGroupName.assign(value); }
106 inline SystemInstanceSummary& WithGreengrassGroupName(Aws::String&& value) { SetGreengrassGroupName(std::move(value)); return *this;}
107 inline SystemInstanceSummary& WithGreengrassGroupName(const char* value) { SetGreengrassGroupName(value); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
115 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
116 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
117 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
118 inline SystemInstanceSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
119 inline SystemInstanceSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
121
123
126 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
127 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
128 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
129 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
130 inline SystemInstanceSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
131 inline SystemInstanceSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
133
135
138 inline const Aws::String& GetGreengrassGroupId() const{ return m_greengrassGroupId; }
139 inline bool GreengrassGroupIdHasBeenSet() const { return m_greengrassGroupIdHasBeenSet; }
140 inline void SetGreengrassGroupId(const Aws::String& value) { m_greengrassGroupIdHasBeenSet = true; m_greengrassGroupId = value; }
141 inline void SetGreengrassGroupId(Aws::String&& value) { m_greengrassGroupIdHasBeenSet = true; m_greengrassGroupId = std::move(value); }
142 inline void SetGreengrassGroupId(const char* value) { m_greengrassGroupIdHasBeenSet = true; m_greengrassGroupId.assign(value); }
144 inline SystemInstanceSummary& WithGreengrassGroupId(Aws::String&& value) { SetGreengrassGroupId(std::move(value)); return *this;}
145 inline SystemInstanceSummary& WithGreengrassGroupId(const char* value) { SetGreengrassGroupId(value); return *this;}
147
149
153 inline const Aws::String& GetGreengrassGroupVersionId() const{ return m_greengrassGroupVersionId; }
154 inline bool GreengrassGroupVersionIdHasBeenSet() const { return m_greengrassGroupVersionIdHasBeenSet; }
155 inline void SetGreengrassGroupVersionId(const Aws::String& value) { m_greengrassGroupVersionIdHasBeenSet = true; m_greengrassGroupVersionId = value; }
156 inline void SetGreengrassGroupVersionId(Aws::String&& value) { m_greengrassGroupVersionIdHasBeenSet = true; m_greengrassGroupVersionId = std::move(value); }
157 inline void SetGreengrassGroupVersionId(const char* value) { m_greengrassGroupVersionIdHasBeenSet = true; m_greengrassGroupVersionId.assign(value); }
160 inline SystemInstanceSummary& WithGreengrassGroupVersionId(const char* value) { SetGreengrassGroupVersionId(value); return *this;}
162 private:
163
164 Aws::String m_id;
165 bool m_idHasBeenSet = false;
166
167 Aws::String m_arn;
168 bool m_arnHasBeenSet = false;
169
171 bool m_statusHasBeenSet = false;
172
173 DeploymentTarget m_target;
174 bool m_targetHasBeenSet = false;
175
176 Aws::String m_greengrassGroupName;
177 bool m_greengrassGroupNameHasBeenSet = false;
178
179 Aws::Utils::DateTime m_createdAt;
180 bool m_createdAtHasBeenSet = false;
181
182 Aws::Utils::DateTime m_updatedAt;
183 bool m_updatedAtHasBeenSet = false;
184
185 Aws::String m_greengrassGroupId;
186 bool m_greengrassGroupIdHasBeenSet = false;
187
188 Aws::String m_greengrassGroupVersionId;
189 bool m_greengrassGroupVersionIdHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace IoTThingsGraph
194} // namespace Aws
SystemInstanceSummary & WithTarget(DeploymentTarget &&value)
SystemInstanceSummary & WithArn(const Aws::String &value)
SystemInstanceSummary & WithGreengrassGroupId(const char *value)
SystemInstanceSummary & WithId(const char *value)
void SetStatus(SystemInstanceDeploymentStatus &&value)
SystemInstanceSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
SystemInstanceSummary & WithArn(const char *value)
SystemInstanceSummary & WithTarget(const DeploymentTarget &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
SystemInstanceSummary & WithId(const Aws::String &value)
SystemInstanceSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
SystemInstanceSummary & WithGreengrassGroupName(Aws::String &&value)
AWS_IOTTHINGSGRAPH_API SystemInstanceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SystemInstanceSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
SystemInstanceSummary & WithStatus(SystemInstanceDeploymentStatus &&value)
SystemInstanceSummary & WithGreengrassGroupId(Aws::String &&value)
AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetUpdatedAt() const
SystemInstanceSummary & WithGreengrassGroupName(const Aws::String &value)
SystemInstanceSummary & WithGreengrassGroupId(const Aws::String &value)
const SystemInstanceDeploymentStatus & GetStatus() const
void SetStatus(const SystemInstanceDeploymentStatus &value)
SystemInstanceSummary & WithArn(Aws::String &&value)
SystemInstanceSummary & WithGreengrassGroupName(const char *value)
SystemInstanceSummary & WithId(Aws::String &&value)
AWS_IOTTHINGSGRAPH_API SystemInstanceSummary(Aws::Utils::Json::JsonView jsonValue)
SystemInstanceSummary & WithStatus(const SystemInstanceDeploymentStatus &value)
SystemInstanceSummary & WithGreengrassGroupVersionId(const char *value)
SystemInstanceSummary & WithGreengrassGroupVersionId(Aws::String &&value)
SystemInstanceSummary & WithGreengrassGroupVersionId(const Aws::String &value)
SystemInstanceSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue