7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ssm/model/OpsItemStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/ssm/model/OpsItemDataValue.h>
15#include <aws/ssm/model/OpsItemNotification.h>
16#include <aws/ssm/model/RelatedOpsItem.h>
51 template<
typename DescriptionT = Aws::String>
52 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
53 template<
typename DescriptionT = Aws::String>
85 template<
typename OperationalDataT = Aws::Map<Aws::String, OpsItemDataValue>>
86 void SetOperationalData(OperationalDataT&& value) { m_operationalDataHasBeenSet =
true; m_operationalData = std::forward<OperationalDataT>(value); }
87 template<
typename OperationalDataT = Aws::Map<Aws::String, OpsItemDataValue>>
89 template<
typename OperationalDataKeyT = Aws::String,
typename OperationalDataValueT = OpsItemDataValue>
91 m_operationalDataHasBeenSet =
true; m_operationalData.emplace(std::forward<OperationalDataKeyT>(key), std::forward<OperationalDataValueT>(value));
return *
this;
101 template<
typename OperationalDataToDeleteT = Aws::Vector<Aws::String>>
102 void SetOperationalDataToDelete(OperationalDataToDeleteT&& value) { m_operationalDataToDeleteHasBeenSet =
true; m_operationalDataToDelete = std::forward<OperationalDataToDeleteT>(value); }
103 template<
typename OperationalDataToDeleteT = Aws::Vector<Aws::String>>
105 template<
typename OperationalDataToDeleteT = Aws::String>
116 template<
typename NotificationsT = Aws::Vector<OpsItemNotification>>
117 void SetNotifications(NotificationsT&& value) { m_notificationsHasBeenSet =
true; m_notifications = std::forward<NotificationsT>(value); }
118 template<
typename NotificationsT = Aws::Vector<OpsItemNotification>>
120 template<
typename NotificationsT = OpsItemNotification>
131 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
143 template<
typename RelatedOpsItemsT = Aws::Vector<RelatedOpsItem>>
144 void SetRelatedOpsItems(RelatedOpsItemsT&& value) { m_relatedOpsItemsHasBeenSet =
true; m_relatedOpsItems = std::forward<RelatedOpsItemsT>(value); }
145 template<
typename RelatedOpsItemsT = Aws::Vector<RelatedOpsItem>>
147 template<
typename RelatedOpsItemsT = RelatedOpsItem>
170 template<
typename OpsItemIdT = Aws::String>
171 void SetOpsItemId(OpsItemIdT&& value) { m_opsItemIdHasBeenSet =
true; m_opsItemId = std::forward<OpsItemIdT>(value); }
172 template<
typename OpsItemIdT = Aws::String>
183 template<
typename TitleT = Aws::String>
184 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
185 template<
typename TitleT = Aws::String>
195 template<
typename CategoryT = Aws::String>
196 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet =
true; m_category = std::forward<CategoryT>(value); }
197 template<
typename CategoryT = Aws::String>
207 template<
typename SeverityT = Aws::String>
208 void SetSeverity(SeverityT&& value) { m_severityHasBeenSet =
true; m_severity = std::forward<SeverityT>(value); }
209 template<
typename SeverityT = Aws::String>
220 template<
typename ActualStartTimeT = Aws::Utils::DateTime>
221 void SetActualStartTime(ActualStartTimeT&& value) { m_actualStartTimeHasBeenSet =
true; m_actualStartTime = std::forward<ActualStartTimeT>(value); }
222 template<
typename ActualStartTimeT = Aws::Utils::DateTime>
233 template<
typename ActualEndTimeT = Aws::Utils::DateTime>
234 void SetActualEndTime(ActualEndTimeT&& value) { m_actualEndTimeHasBeenSet =
true; m_actualEndTime = std::forward<ActualEndTimeT>(value); }
235 template<
typename ActualEndTimeT = Aws::Utils::DateTime>
247 template<
typename PlannedStartTimeT = Aws::Utils::DateTime>
248 void SetPlannedStartTime(PlannedStartTimeT&& value) { m_plannedStartTimeHasBeenSet =
true; m_plannedStartTime = std::forward<PlannedStartTimeT>(value); }
249 template<
typename PlannedStartTimeT = Aws::Utils::DateTime>
261 template<
typename PlannedEndTimeT = Aws::Utils::DateTime>
262 void SetPlannedEndTime(PlannedEndTimeT&& value) { m_plannedEndTimeHasBeenSet =
true; m_plannedEndTime = std::forward<PlannedEndTimeT>(value); }
263 template<
typename PlannedEndTimeT = Aws::Utils::DateTime>
273 template<
typename OpsItemArnT = Aws::String>
274 void SetOpsItemArn(OpsItemArnT&& value) { m_opsItemArnHasBeenSet =
true; m_opsItemArn = std::forward<OpsItemArnT>(value); }
275 template<
typename OpsItemArnT = Aws::String>
281 bool m_descriptionHasBeenSet =
false;
284 bool m_operationalDataHasBeenSet =
false;
287 bool m_operationalDataToDeleteHasBeenSet =
false;
290 bool m_notificationsHasBeenSet =
false;
293 bool m_priorityHasBeenSet =
false;
296 bool m_relatedOpsItemsHasBeenSet =
false;
299 bool m_statusHasBeenSet =
false;
302 bool m_opsItemIdHasBeenSet =
false;
305 bool m_titleHasBeenSet =
false;
308 bool m_categoryHasBeenSet =
false;
311 bool m_severityHasBeenSet =
false;
314 bool m_actualStartTimeHasBeenSet =
false;
317 bool m_actualEndTimeHasBeenSet =
false;
320 bool m_plannedStartTimeHasBeenSet =
false;
323 bool m_plannedEndTimeHasBeenSet =
false;
326 bool m_opsItemArnHasBeenSet =
false;
UpdateOpsItemRequest & WithActualStartTime(ActualStartTimeT &&value)
UpdateOpsItemRequest & WithActualEndTime(ActualEndTimeT &&value)
bool StatusHasBeenSet() const
UpdateOpsItemRequest & AddNotifications(NotificationsT &&value)
void SetPriority(int value)
AWS_SSM_API UpdateOpsItemRequest()=default
UpdateOpsItemRequest & WithCategory(CategoryT &&value)
bool RelatedOpsItemsHasBeenSet() const
void SetOperationalData(OperationalDataT &&value)
const Aws::String & GetTitle() const
const Aws::Map< Aws::String, OpsItemDataValue > & GetOperationalData() const
const Aws::String & GetSeverity() const
void SetStatus(OpsItemStatus value)
UpdateOpsItemRequest & AddOperationalData(OperationalDataKeyT &&key, OperationalDataValueT &&value)
const Aws::String & GetOpsItemArn() const
void SetActualEndTime(ActualEndTimeT &&value)
const Aws::Vector< Aws::String > & GetOperationalDataToDelete() const
const Aws::Utils::DateTime & GetActualStartTime() const
bool OpsItemIdHasBeenSet() const
void SetTitle(TitleT &&value)
UpdateOpsItemRequest & WithOperationalDataToDelete(OperationalDataToDeleteT &&value)
bool OperationalDataToDeleteHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateOpsItemRequest & WithPlannedStartTime(PlannedStartTimeT &&value)
bool PlannedEndTimeHasBeenSet() const
bool TitleHasBeenSet() const
void SetOpsItemId(OpsItemIdT &&value)
UpdateOpsItemRequest & WithStatus(OpsItemStatus value)
bool OperationalDataHasBeenSet() const
UpdateOpsItemRequest & AddOperationalDataToDelete(OperationalDataToDeleteT &&value)
UpdateOpsItemRequest & WithOpsItemArn(OpsItemArnT &&value)
UpdateOpsItemRequest & WithOperationalData(OperationalDataT &&value)
bool NotificationsHasBeenSet() const
void SetRelatedOpsItems(RelatedOpsItemsT &&value)
void SetPlannedStartTime(PlannedStartTimeT &&value)
void SetOperationalDataToDelete(OperationalDataToDeleteT &&value)
OpsItemStatus GetStatus() const
const Aws::Utils::DateTime & GetPlannedStartTime() const
const Aws::String & GetOpsItemId() const
UpdateOpsItemRequest & WithNotifications(NotificationsT &&value)
UpdateOpsItemRequest & WithOpsItemId(OpsItemIdT &&value)
const Aws::Vector< OpsItemNotification > & GetNotifications() const
void SetActualStartTime(ActualStartTimeT &&value)
bool PlannedStartTimeHasBeenSet() const
void SetNotifications(NotificationsT &&value)
UpdateOpsItemRequest & WithTitle(TitleT &&value)
bool CategoryHasBeenSet() const
UpdateOpsItemRequest & WithRelatedOpsItems(RelatedOpsItemsT &&value)
bool SeverityHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetSeverity(SeverityT &&value)
UpdateOpsItemRequest & WithPlannedEndTime(PlannedEndTimeT &&value)
AWS_SSM_API Aws::String SerializePayload() const override
const Aws::Vector< RelatedOpsItem > & GetRelatedOpsItems() const
bool OpsItemArnHasBeenSet() const
UpdateOpsItemRequest & WithPriority(int value)
UpdateOpsItemRequest & AddRelatedOpsItems(RelatedOpsItemsT &&value)
void SetCategory(CategoryT &&value)
UpdateOpsItemRequest & WithSeverity(SeverityT &&value)
bool DescriptionHasBeenSet() const
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetCategory() const
UpdateOpsItemRequest & WithDescription(DescriptionT &&value)
bool ActualEndTimeHasBeenSet() const
void SetPlannedEndTime(PlannedEndTimeT &&value)
const Aws::Utils::DateTime & GetActualEndTime() const
const Aws::String & GetDescription() const
void SetOpsItemArn(OpsItemArnT &&value)
bool PriorityHasBeenSet() const
bool ActualStartTimeHasBeenSet() const
const Aws::Utils::DateTime & GetPlannedEndTime() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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
std::vector< T, Aws::Allocator< T > > Vector