AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OpsItemSummary.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ssm/model/OpsItemStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/ssm/model/OpsItemDataValue.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SSM
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_SSM_API OpsItemSummary();
42
43
45
49 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
50 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
51 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
52 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
53 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
54 inline OpsItemSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
55 inline OpsItemSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
56 inline OpsItemSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
64 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
65 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
66 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
67 inline OpsItemSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
68 inline OpsItemSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
70
72
76 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
77 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
78 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
79 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
80 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
81 inline OpsItemSummary& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
82 inline OpsItemSummary& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
83 inline OpsItemSummary& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
91 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
92 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
93 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
94 inline OpsItemSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
95 inline OpsItemSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
97
99
103 inline int GetPriority() const{ return m_priority; }
104 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
105 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
106 inline OpsItemSummary& WithPriority(int value) { SetPriority(value); return *this;}
108
110
113 inline const Aws::String& GetSource() const{ return m_source; }
114 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
115 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
116 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
117 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
118 inline OpsItemSummary& WithSource(const Aws::String& value) { SetSource(value); return *this;}
119 inline OpsItemSummary& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
120 inline OpsItemSummary& WithSource(const char* value) { SetSource(value); return *this;}
122
124
127 inline const OpsItemStatus& GetStatus() const{ return m_status; }
128 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
129 inline void SetStatus(const OpsItemStatus& value) { m_statusHasBeenSet = true; m_status = value; }
130 inline void SetStatus(OpsItemStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
131 inline OpsItemSummary& WithStatus(const OpsItemStatus& value) { SetStatus(value); return *this;}
132 inline OpsItemSummary& WithStatus(OpsItemStatus&& value) { SetStatus(std::move(value)); return *this;}
134
136
139 inline const Aws::String& GetOpsItemId() const{ return m_opsItemId; }
140 inline bool OpsItemIdHasBeenSet() const { return m_opsItemIdHasBeenSet; }
141 inline void SetOpsItemId(const Aws::String& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = value; }
142 inline void SetOpsItemId(Aws::String&& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = std::move(value); }
143 inline void SetOpsItemId(const char* value) { m_opsItemIdHasBeenSet = true; m_opsItemId.assign(value); }
144 inline OpsItemSummary& WithOpsItemId(const Aws::String& value) { SetOpsItemId(value); return *this;}
145 inline OpsItemSummary& WithOpsItemId(Aws::String&& value) { SetOpsItemId(std::move(value)); return *this;}
146 inline OpsItemSummary& WithOpsItemId(const char* value) { SetOpsItemId(value); return *this;}
148
150
154 inline const Aws::String& GetTitle() const{ return m_title; }
155 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
156 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
157 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
158 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
159 inline OpsItemSummary& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
160 inline OpsItemSummary& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
161 inline OpsItemSummary& WithTitle(const char* value) { SetTitle(value); return *this;}
163
165
169 inline const Aws::Map<Aws::String, OpsItemDataValue>& GetOperationalData() const{ return m_operationalData; }
170 inline bool OperationalDataHasBeenSet() const { return m_operationalDataHasBeenSet; }
171 inline void SetOperationalData(const Aws::Map<Aws::String, OpsItemDataValue>& value) { m_operationalDataHasBeenSet = true; m_operationalData = value; }
172 inline void SetOperationalData(Aws::Map<Aws::String, OpsItemDataValue>&& value) { m_operationalDataHasBeenSet = true; m_operationalData = std::move(value); }
175 inline OpsItemSummary& AddOperationalData(const Aws::String& key, const OpsItemDataValue& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(key, value); return *this; }
176 inline OpsItemSummary& AddOperationalData(Aws::String&& key, const OpsItemDataValue& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(std::move(key), value); return *this; }
177 inline OpsItemSummary& AddOperationalData(const Aws::String& key, OpsItemDataValue&& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(key, std::move(value)); return *this; }
178 inline OpsItemSummary& AddOperationalData(Aws::String&& key, OpsItemDataValue&& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(std::move(key), std::move(value)); return *this; }
179 inline OpsItemSummary& AddOperationalData(const char* key, OpsItemDataValue&& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(key, std::move(value)); return *this; }
180 inline OpsItemSummary& AddOperationalData(const char* key, const OpsItemDataValue& value) { m_operationalDataHasBeenSet = true; m_operationalData.emplace(key, value); return *this; }
182
184
187 inline const Aws::String& GetCategory() const{ return m_category; }
188 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
189 inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
190 inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
191 inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
192 inline OpsItemSummary& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
193 inline OpsItemSummary& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
194 inline OpsItemSummary& WithCategory(const char* value) { SetCategory(value); return *this;}
196
198
201 inline const Aws::String& GetSeverity() const{ return m_severity; }
202 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
203 inline void SetSeverity(const Aws::String& value) { m_severityHasBeenSet = true; m_severity = value; }
204 inline void SetSeverity(Aws::String&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
205 inline void SetSeverity(const char* value) { m_severityHasBeenSet = true; m_severity.assign(value); }
206 inline OpsItemSummary& WithSeverity(const Aws::String& value) { SetSeverity(value); return *this;}
207 inline OpsItemSummary& WithSeverity(Aws::String&& value) { SetSeverity(std::move(value)); return *this;}
208 inline OpsItemSummary& WithSeverity(const char* value) { SetSeverity(value); return *this;}
210
212
221 inline const Aws::String& GetOpsItemType() const{ return m_opsItemType; }
222 inline bool OpsItemTypeHasBeenSet() const { return m_opsItemTypeHasBeenSet; }
223 inline void SetOpsItemType(const Aws::String& value) { m_opsItemTypeHasBeenSet = true; m_opsItemType = value; }
224 inline void SetOpsItemType(Aws::String&& value) { m_opsItemTypeHasBeenSet = true; m_opsItemType = std::move(value); }
225 inline void SetOpsItemType(const char* value) { m_opsItemTypeHasBeenSet = true; m_opsItemType.assign(value); }
226 inline OpsItemSummary& WithOpsItemType(const Aws::String& value) { SetOpsItemType(value); return *this;}
227 inline OpsItemSummary& WithOpsItemType(Aws::String&& value) { SetOpsItemType(std::move(value)); return *this;}
228 inline OpsItemSummary& WithOpsItemType(const char* value) { SetOpsItemType(value); return *this;}
230
232
236 inline const Aws::Utils::DateTime& GetActualStartTime() const{ return m_actualStartTime; }
237 inline bool ActualStartTimeHasBeenSet() const { return m_actualStartTimeHasBeenSet; }
238 inline void SetActualStartTime(const Aws::Utils::DateTime& value) { m_actualStartTimeHasBeenSet = true; m_actualStartTime = value; }
239 inline void SetActualStartTime(Aws::Utils::DateTime&& value) { m_actualStartTimeHasBeenSet = true; m_actualStartTime = std::move(value); }
240 inline OpsItemSummary& WithActualStartTime(const Aws::Utils::DateTime& value) { SetActualStartTime(value); return *this;}
241 inline OpsItemSummary& WithActualStartTime(Aws::Utils::DateTime&& value) { SetActualStartTime(std::move(value)); return *this;}
243
245
249 inline const Aws::Utils::DateTime& GetActualEndTime() const{ return m_actualEndTime; }
250 inline bool ActualEndTimeHasBeenSet() const { return m_actualEndTimeHasBeenSet; }
251 inline void SetActualEndTime(const Aws::Utils::DateTime& value) { m_actualEndTimeHasBeenSet = true; m_actualEndTime = value; }
252 inline void SetActualEndTime(Aws::Utils::DateTime&& value) { m_actualEndTimeHasBeenSet = true; m_actualEndTime = std::move(value); }
253 inline OpsItemSummary& WithActualEndTime(const Aws::Utils::DateTime& value) { SetActualEndTime(value); return *this;}
254 inline OpsItemSummary& WithActualEndTime(Aws::Utils::DateTime&& value) { SetActualEndTime(std::move(value)); return *this;}
256
258
263 inline const Aws::Utils::DateTime& GetPlannedStartTime() const{ return m_plannedStartTime; }
264 inline bool PlannedStartTimeHasBeenSet() const { return m_plannedStartTimeHasBeenSet; }
265 inline void SetPlannedStartTime(const Aws::Utils::DateTime& value) { m_plannedStartTimeHasBeenSet = true; m_plannedStartTime = value; }
266 inline void SetPlannedStartTime(Aws::Utils::DateTime&& value) { m_plannedStartTimeHasBeenSet = true; m_plannedStartTime = std::move(value); }
268 inline OpsItemSummary& WithPlannedStartTime(Aws::Utils::DateTime&& value) { SetPlannedStartTime(std::move(value)); return *this;}
270
272
277 inline const Aws::Utils::DateTime& GetPlannedEndTime() const{ return m_plannedEndTime; }
278 inline bool PlannedEndTimeHasBeenSet() const { return m_plannedEndTimeHasBeenSet; }
279 inline void SetPlannedEndTime(const Aws::Utils::DateTime& value) { m_plannedEndTimeHasBeenSet = true; m_plannedEndTime = value; }
280 inline void SetPlannedEndTime(Aws::Utils::DateTime&& value) { m_plannedEndTimeHasBeenSet = true; m_plannedEndTime = std::move(value); }
281 inline OpsItemSummary& WithPlannedEndTime(const Aws::Utils::DateTime& value) { SetPlannedEndTime(value); return *this;}
282 inline OpsItemSummary& WithPlannedEndTime(Aws::Utils::DateTime&& value) { SetPlannedEndTime(std::move(value)); return *this;}
284 private:
285
286 Aws::String m_createdBy;
287 bool m_createdByHasBeenSet = false;
288
289 Aws::Utils::DateTime m_createdTime;
290 bool m_createdTimeHasBeenSet = false;
291
292 Aws::String m_lastModifiedBy;
293 bool m_lastModifiedByHasBeenSet = false;
294
295 Aws::Utils::DateTime m_lastModifiedTime;
296 bool m_lastModifiedTimeHasBeenSet = false;
297
298 int m_priority;
299 bool m_priorityHasBeenSet = false;
300
301 Aws::String m_source;
302 bool m_sourceHasBeenSet = false;
303
304 OpsItemStatus m_status;
305 bool m_statusHasBeenSet = false;
306
307 Aws::String m_opsItemId;
308 bool m_opsItemIdHasBeenSet = false;
309
310 Aws::String m_title;
311 bool m_titleHasBeenSet = false;
312
314 bool m_operationalDataHasBeenSet = false;
315
316 Aws::String m_category;
317 bool m_categoryHasBeenSet = false;
318
319 Aws::String m_severity;
320 bool m_severityHasBeenSet = false;
321
322 Aws::String m_opsItemType;
323 bool m_opsItemTypeHasBeenSet = false;
324
325 Aws::Utils::DateTime m_actualStartTime;
326 bool m_actualStartTimeHasBeenSet = false;
327
328 Aws::Utils::DateTime m_actualEndTime;
329 bool m_actualEndTimeHasBeenSet = false;
330
331 Aws::Utils::DateTime m_plannedStartTime;
332 bool m_plannedStartTimeHasBeenSet = false;
333
334 Aws::Utils::DateTime m_plannedEndTime;
335 bool m_plannedEndTimeHasBeenSet = false;
336 };
337
338} // namespace Model
339} // namespace SSM
340} // namespace Aws
void SetOpsItemId(const Aws::String &value)
OpsItemSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetOperationalData(const Aws::Map< Aws::String, OpsItemDataValue > &value)
OpsItemSummary & WithSeverity(const Aws::String &value)
OpsItemSummary & WithTitle(Aws::String &&value)
const Aws::Utils::DateTime & GetActualEndTime() const
const Aws::Map< Aws::String, OpsItemDataValue > & GetOperationalData() const
OpsItemSummary & WithActualEndTime(Aws::Utils::DateTime &&value)
void SetOpsItemType(Aws::String &&value)
OpsItemSummary & WithPlannedEndTime(Aws::Utils::DateTime &&value)
void SetSeverity(Aws::String &&value)
OpsItemSummary & WithLastModifiedBy(Aws::String &&value)
void SetSource(Aws::String &&value)
OpsItemSummary & WithPlannedEndTime(const Aws::Utils::DateTime &value)
OpsItemSummary & WithOperationalData(const Aws::Map< Aws::String, OpsItemDataValue > &value)
OpsItemSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetStatus(const OpsItemStatus &value)
OpsItemSummary & WithSeverity(const char *value)
void SetActualEndTime(const Aws::Utils::DateTime &value)
void SetCreatedBy(Aws::String &&value)
const Aws::String & GetSource() const
OpsItemSummary & WithStatus(const OpsItemStatus &value)
OpsItemSummary & WithTitle(const char *value)
const Aws::Utils::DateTime & GetCreatedTime() const
OpsItemSummary & WithSource(const Aws::String &value)
void SetCreatedBy(const Aws::String &value)
OpsItemSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const OpsItemStatus & GetStatus() const
void SetSeverity(const char *value)
OpsItemSummary & WithOpsItemId(const char *value)
OpsItemSummary & WithOperationalData(Aws::Map< Aws::String, OpsItemDataValue > &&value)
const Aws::String & GetCreatedBy() const
void SetTitle(Aws::String &&value)
const Aws::String & GetLastModifiedBy() const
AWS_SSM_API OpsItemSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOpsItemId(const char *value)
void SetStatus(OpsItemStatus &&value)
OpsItemSummary & WithCreatedBy(Aws::String &&value)
OpsItemSummary & WithPlannedStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetActualStartTime() const
OpsItemSummary & AddOperationalData(const char *key, const OpsItemDataValue &value)
void SetCategory(const Aws::String &value)
void SetSource(const Aws::String &value)
OpsItemSummary & WithStatus(OpsItemStatus &&value)
void SetActualStartTime(Aws::Utils::DateTime &&value)
OpsItemSummary & WithOpsItemType(const Aws::String &value)
OpsItemSummary & AddOperationalData(Aws::String &&key, OpsItemDataValue &&value)
void SetCategory(Aws::String &&value)
OpsItemSummary & WithCreatedBy(const Aws::String &value)
OpsItemSummary & WithLastModifiedBy(const Aws::String &value)
OpsItemSummary & WithPriority(int value)
void SetLastModifiedBy(const Aws::String &value)
void SetOpsItemId(Aws::String &&value)
OpsItemSummary & WithCategory(Aws::String &&value)
void SetOpsItemType(const Aws::String &value)
const Aws::String & GetCategory() const
OpsItemSummary & WithCategory(const char *value)
AWS_SSM_API OpsItemSummary(Aws::Utils::Json::JsonView jsonValue)
OpsItemSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetActualStartTime(const Aws::Utils::DateTime &value)
OpsItemSummary & WithActualStartTime(const Aws::Utils::DateTime &value)
void SetLastModifiedBy(const char *value)
void SetTitle(const char *value)
void SetSource(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
OpsItemSummary & WithOpsItemId(Aws::String &&value)
OpsItemSummary & WithActualStartTime(Aws::Utils::DateTime &&value)
void SetLastModifiedBy(Aws::String &&value)
OpsItemSummary & WithLastModifiedBy(const char *value)
void SetCreatedBy(const char *value)
void SetTitle(const Aws::String &value)
const Aws::Utils::DateTime & GetPlannedStartTime() const
OpsItemSummary & WithOpsItemId(const Aws::String &value)
void SetPlannedStartTime(const Aws::Utils::DateTime &value)
const Aws::String & GetOpsItemId() const
const Aws::String & GetSeverity() const
void SetActualEndTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
OpsItemSummary & AddOperationalData(const Aws::String &key, OpsItemDataValue &&value)
OpsItemSummary & WithCreatedBy(const char *value)
void SetOperationalData(Aws::Map< Aws::String, OpsItemDataValue > &&value)
OpsItemSummary & WithOpsItemType(Aws::String &&value)
const Aws::String & GetOpsItemType() const
OpsItemSummary & WithSource(Aws::String &&value)
void SetCategory(const char *value)
void SetSeverity(const Aws::String &value)
OpsItemSummary & WithTitle(const Aws::String &value)
OpsItemSummary & AddOperationalData(Aws::String &&key, const OpsItemDataValue &value)
const Aws::String & GetTitle() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
OpsItemSummary & WithSource(const char *value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
OpsItemSummary & WithOpsItemType(const char *value)
void SetPlannedEndTime(const Aws::Utils::DateTime &value)
OpsItemSummary & WithActualEndTime(const Aws::Utils::DateTime &value)
void SetOpsItemType(const char *value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetPlannedStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetPlannedEndTime() const
OpsItemSummary & AddOperationalData(const char *key, OpsItemDataValue &&value)
OpsItemSummary & WithCategory(const Aws::String &value)
OpsItemSummary & WithSeverity(Aws::String &&value)
void SetPlannedEndTime(Aws::Utils::DateTime &&value)
OpsItemSummary & WithPlannedStartTime(const Aws::Utils::DateTime &value)
OpsItemSummary & AddOperationalData(const Aws::String &key, const OpsItemDataValue &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue