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>
51 template<
typename CreatedByT = Aws::String>
52 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
53 template<
typename CreatedByT = Aws::String>
63 template<
typename CreatedTimeT = Aws::Utils::DateTime>
64 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
65 template<
typename CreatedTimeT = Aws::Utils::DateTime>
76 template<
typename LastModifiedByT = Aws::String>
77 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
78 template<
typename LastModifiedByT = Aws::String>
88 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
89 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
90 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
101 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
111 template<
typename SourceT = Aws::String>
112 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
113 template<
typename SourceT = Aws::String>
133 template<
typename OpsItemIdT = Aws::String>
134 void SetOpsItemId(OpsItemIdT&& value) { m_opsItemIdHasBeenSet =
true; m_opsItemId = std::forward<OpsItemIdT>(value); }
135 template<
typename OpsItemIdT = Aws::String>
146 template<
typename TitleT = Aws::String>
147 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
148 template<
typename TitleT = Aws::String>
159 template<
typename OperationalDataT = Aws::Map<Aws::String, OpsItemDataValue>>
160 void SetOperationalData(OperationalDataT&& value) { m_operationalDataHasBeenSet =
true; m_operationalData = std::forward<OperationalDataT>(value); }
161 template<
typename OperationalDataT = Aws::Map<Aws::String, OpsItemDataValue>>
163 template<
typename OperationalDataKeyT = Aws::String,
typename OperationalDataValueT = OpsItemDataValue>
165 m_operationalDataHasBeenSet =
true; m_operationalData.emplace(std::forward<OperationalDataKeyT>(key), std::forward<OperationalDataValueT>(value));
return *
this;
175 template<
typename CategoryT = Aws::String>
176 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet =
true; m_category = std::forward<CategoryT>(value); }
177 template<
typename CategoryT = Aws::String>
187 template<
typename SeverityT = Aws::String>
188 void SetSeverity(SeverityT&& value) { m_severityHasBeenSet =
true; m_severity = std::forward<SeverityT>(value); }
189 template<
typename SeverityT = Aws::String>
205 template<
typename OpsItemTypeT = Aws::String>
206 void SetOpsItemType(OpsItemTypeT&& value) { m_opsItemTypeHasBeenSet =
true; m_opsItemType = std::forward<OpsItemTypeT>(value); }
207 template<
typename OpsItemTypeT = Aws::String>
218 template<
typename ActualStartTimeT = Aws::Utils::DateTime>
219 void SetActualStartTime(ActualStartTimeT&& value) { m_actualStartTimeHasBeenSet =
true; m_actualStartTime = std::forward<ActualStartTimeT>(value); }
220 template<
typename ActualStartTimeT = Aws::Utils::DateTime>
231 template<
typename ActualEndTimeT = Aws::Utils::DateTime>
232 void SetActualEndTime(ActualEndTimeT&& value) { m_actualEndTimeHasBeenSet =
true; m_actualEndTime = std::forward<ActualEndTimeT>(value); }
233 template<
typename ActualEndTimeT = Aws::Utils::DateTime>
245 template<
typename PlannedStartTimeT = Aws::Utils::DateTime>
246 void SetPlannedStartTime(PlannedStartTimeT&& value) { m_plannedStartTimeHasBeenSet =
true; m_plannedStartTime = std::forward<PlannedStartTimeT>(value); }
247 template<
typename PlannedStartTimeT = Aws::Utils::DateTime>
259 template<
typename PlannedEndTimeT = Aws::Utils::DateTime>
260 void SetPlannedEndTime(PlannedEndTimeT&& value) { m_plannedEndTimeHasBeenSet =
true; m_plannedEndTime = std::forward<PlannedEndTimeT>(value); }
261 template<
typename PlannedEndTimeT = Aws::Utils::DateTime>
267 bool m_createdByHasBeenSet =
false;
270 bool m_createdTimeHasBeenSet =
false;
273 bool m_lastModifiedByHasBeenSet =
false;
276 bool m_lastModifiedTimeHasBeenSet =
false;
279 bool m_priorityHasBeenSet =
false;
282 bool m_sourceHasBeenSet =
false;
285 bool m_statusHasBeenSet =
false;
288 bool m_opsItemIdHasBeenSet =
false;
291 bool m_titleHasBeenSet =
false;
294 bool m_operationalDataHasBeenSet =
false;
297 bool m_categoryHasBeenSet =
false;
300 bool m_severityHasBeenSet =
false;
303 bool m_opsItemTypeHasBeenSet =
false;
306 bool m_actualStartTimeHasBeenSet =
false;
309 bool m_actualEndTimeHasBeenSet =
false;
312 bool m_plannedStartTimeHasBeenSet =
false;
315 bool m_plannedEndTimeHasBeenSet =
false;
bool ActualEndTimeHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetActualEndTime() const
const Aws::Map< Aws::String, OpsItemDataValue > & GetOperationalData() const
void SetCreatedBy(CreatedByT &&value)
OpsItemSummary & WithCategory(CategoryT &&value)
void SetSource(SourceT &&value)
bool LastModifiedTimeHasBeenSet() const
void SetPlannedStartTime(PlannedStartTimeT &&value)
void SetActualEndTime(ActualEndTimeT &&value)
const Aws::String & GetSource() const
OpsItemSummary & WithSeverity(SeverityT &&value)
OpsItemSummary & WithSource(SourceT &&value)
bool CreatedTimeHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedTime() const
bool ActualStartTimeHasBeenSet() const
OpsItemSummary & WithCreatedBy(CreatedByT &&value)
bool TitleHasBeenSet() const
bool SourceHasBeenSet() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreatedByHasBeenSet() const
OpsItemSummary & WithOpsItemId(OpsItemIdT &&value)
OpsItemSummary & WithTitle(TitleT &&value)
const Aws::String & GetCreatedBy() const
const Aws::String & GetLastModifiedBy() const
AWS_SSM_API OpsItemSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetActualStartTime() const
void SetActualStartTime(ActualStartTimeT &&value)
void SetSeverity(SeverityT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
AWS_SSM_API OpsItemSummary()=default
bool StatusHasBeenSet() const
OpsItemSummary & WithPriority(int value)
void SetStatus(OpsItemStatus value)
bool PriorityHasBeenSet() const
OpsItemSummary & WithStatus(OpsItemStatus value)
OpsItemSummary & WithActualEndTime(ActualEndTimeT &&value)
const Aws::String & GetCategory() const
bool CategoryHasBeenSet() const
OpsItemSummary & WithLastModifiedBy(LastModifiedByT &&value)
OpsItemSummary & WithActualStartTime(ActualStartTimeT &&value)
void SetTitle(TitleT &&value)
OpsItemSummary & AddOperationalData(OperationalDataKeyT &&key, OperationalDataValueT &&value)
AWS_SSM_API OpsItemSummary(Aws::Utils::Json::JsonView jsonValue)
OpsItemSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
bool OpsItemTypeHasBeenSet() const
OpsItemSummary & WithOpsItemType(OpsItemTypeT &&value)
void SetOpsItemType(OpsItemTypeT &&value)
bool OpsItemIdHasBeenSet() const
const Aws::Utils::DateTime & GetPlannedStartTime() const
void SetPlannedEndTime(PlannedEndTimeT &&value)
const Aws::String & GetOpsItemId() const
const Aws::String & GetSeverity() const
OpsItemSummary & WithPlannedEndTime(PlannedEndTimeT &&value)
OpsItemStatus GetStatus() const
void SetCategory(CategoryT &&value)
const Aws::String & GetOpsItemType() const
void SetCreatedTime(CreatedTimeT &&value)
void SetPriority(int value)
bool PlannedStartTimeHasBeenSet() const
bool PlannedEndTimeHasBeenSet() const
const Aws::String & GetTitle() const
bool SeverityHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool OperationalDataHasBeenSet() const
OpsItemSummary & WithPlannedStartTime(PlannedStartTimeT &&value)
void SetOpsItemId(OpsItemIdT &&value)
OpsItemSummary & WithOperationalData(OperationalDataT &&value)
bool LastModifiedByHasBeenSet() const
OpsItemSummary & WithCreatedTime(CreatedTimeT &&value)
void SetOperationalData(OperationalDataT &&value)
const Aws::Utils::DateTime & GetPlannedEndTime() const
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