7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/SSMRequest.h>
12#include <aws/ssm/SSM_EXPORTS.h>
13#include <aws/ssm/model/OpsItemDataValue.h>
14#include <aws/ssm/model/OpsItemNotification.h>
15#include <aws/ssm/model/RelatedOpsItem.h>
16#include <aws/ssm/model/Tag.h>
48 template <
typename DescriptionT = Aws::String>
50 m_descriptionHasBeenSet =
true;
51 m_description = std::forward<DescriptionT>(value);
53 template <
typename DescriptionT = Aws::String>
79 template <
typename OpsItemTypeT = Aws::String>
81 m_opsItemTypeHasBeenSet =
true;
82 m_opsItemType = std::forward<OpsItemTypeT>(value);
84 template <
typename OpsItemTypeT = Aws::String>
117 template <
typename OperationalDataT = Aws::Map<Aws::String, OpsItemDataValue>>
119 m_operationalDataHasBeenSet =
true;
120 m_operationalData = std::forward<OperationalDataT>(value);
122 template <
typename OperationalDataT = Aws::Map<Aws::String, OpsItemDataValue>>
127 template <
typename OperationalDataKeyT = Aws::String,
typename OperationalDataValueT = OpsItemDataValue>
129 m_operationalDataHasBeenSet =
true;
130 m_operationalData.emplace(std::forward<OperationalDataKeyT>(key), std::forward<OperationalDataValueT>(value));
142 template <
typename NotificationsT = Aws::Vector<OpsItemNotification>>
144 m_notificationsHasBeenSet =
true;
145 m_notifications = std::forward<NotificationsT>(value);
147 template <
typename NotificationsT = Aws::Vector<OpsItemNotification>>
152 template <
typename NotificationsT = OpsItemNotification>
154 m_notificationsHasBeenSet =
true;
155 m_notifications.emplace_back(std::forward<NotificationsT>(value));
168 m_priorityHasBeenSet =
true;
185 template <
typename RelatedOpsItemsT = Aws::Vector<RelatedOpsItem>>
187 m_relatedOpsItemsHasBeenSet =
true;
188 m_relatedOpsItems = std::forward<RelatedOpsItemsT>(value);
190 template <
typename RelatedOpsItemsT = Aws::Vector<RelatedOpsItem>>
195 template <
typename RelatedOpsItemsT = RelatedOpsItem>
197 m_relatedOpsItemsHasBeenSet =
true;
198 m_relatedOpsItems.emplace_back(std::forward<RelatedOpsItemsT>(value));
211 template <
typename SourceT = Aws::String>
213 m_sourceHasBeenSet =
true;
214 m_source = std::forward<SourceT>(value);
216 template <
typename SourceT = Aws::String>
230 template <
typename TitleT = Aws::String>
232 m_titleHasBeenSet =
true;
233 m_title = std::forward<TitleT>(value);
235 template <
typename TitleT = Aws::String>
237 SetTitle(std::forward<TitleT>(value));
253 template <
typename TagsT = Aws::Vector<Tag>>
255 m_tagsHasBeenSet =
true;
256 m_tags = std::forward<TagsT>(value);
258 template <
typename TagsT = Aws::Vector<Tag>>
260 SetTags(std::forward<TagsT>(value));
263 template <
typename TagsT = Tag>
265 m_tagsHasBeenSet =
true;
266 m_tags.emplace_back(std::forward<TagsT>(value));
277 template <
typename CategoryT = Aws::String>
279 m_categoryHasBeenSet =
true;
280 m_category = std::forward<CategoryT>(value);
282 template <
typename CategoryT = Aws::String>
295 template <
typename SeverityT = Aws::String>
297 m_severityHasBeenSet =
true;
298 m_severity = std::forward<SeverityT>(value);
300 template <
typename SeverityT = Aws::String>
314 template <
typename ActualStartTimeT = Aws::Utils::DateTime>
316 m_actualStartTimeHasBeenSet =
true;
317 m_actualStartTime = std::forward<ActualStartTimeT>(value);
319 template <
typename ActualStartTimeT = Aws::Utils::DateTime>
333 template <
typename ActualEndTimeT = Aws::Utils::DateTime>
335 m_actualEndTimeHasBeenSet =
true;
336 m_actualEndTime = std::forward<ActualEndTimeT>(value);
338 template <
typename ActualEndTimeT = Aws::Utils::DateTime>
353 template <
typename PlannedStartTimeT = Aws::Utils::DateTime>
355 m_plannedStartTimeHasBeenSet =
true;
356 m_plannedStartTime = std::forward<PlannedStartTimeT>(value);
358 template <
typename PlannedStartTimeT = Aws::Utils::DateTime>
373 template <
typename PlannedEndTimeT = Aws::Utils::DateTime>
375 m_plannedEndTimeHasBeenSet =
true;
376 m_plannedEndTime = std::forward<PlannedEndTimeT>(value);
378 template <
typename PlannedEndTimeT = Aws::Utils::DateTime>
396 template <
typename AccountIdT = Aws::String>
398 m_accountIdHasBeenSet =
true;
399 m_accountId = std::forward<AccountIdT>(value);
401 template <
typename AccountIdT = Aws::String>
439 bool m_descriptionHasBeenSet =
false;
440 bool m_opsItemTypeHasBeenSet =
false;
441 bool m_operationalDataHasBeenSet =
false;
442 bool m_notificationsHasBeenSet =
false;
443 bool m_priorityHasBeenSet =
false;
444 bool m_relatedOpsItemsHasBeenSet =
false;
445 bool m_sourceHasBeenSet =
false;
446 bool m_titleHasBeenSet =
false;
447 bool m_tagsHasBeenSet =
false;
448 bool m_categoryHasBeenSet =
false;
449 bool m_severityHasBeenSet =
false;
450 bool m_actualStartTimeHasBeenSet =
false;
451 bool m_actualEndTimeHasBeenSet =
false;
452 bool m_plannedStartTimeHasBeenSet =
false;
453 bool m_plannedEndTimeHasBeenSet =
false;
454 bool m_accountIdHasBeenSet =
false;
CreateOpsItemRequest & WithActualStartTime(ActualStartTimeT &&value)
CreateOpsItemRequest & WithTags(TagsT &&value)
CreateOpsItemRequest & AddTags(TagsT &&value)
const Aws::Map< Aws::String, OpsItemDataValue > & GetOperationalData() const
void SetTitle(TitleT &&value)
bool SeverityHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool TitleHasBeenSet() const
CreateOpsItemRequest & WithOperationalData(OperationalDataT &&value)
AWS_SSM_API CreateOpsItemRequest()=default
CreateOpsItemRequest & AddOperationalData(OperationalDataKeyT &&key, OperationalDataValueT &&value)
void SetPriority(int value)
const Aws::Vector< OpsItemNotification > & GetNotifications() const
bool CategoryHasBeenSet() const
void SetOpsItemType(OpsItemTypeT &&value)
CreateOpsItemRequest & WithSource(SourceT &&value)
const Aws::String & GetSeverity() const
const Aws::Vector< RelatedOpsItem > & GetRelatedOpsItems() const
bool OpsItemTypeHasBeenSet() const
const Aws::String & GetTitle() const
const Aws::Utils::DateTime & GetPlannedStartTime() const
void SetAccountId(AccountIdT &&value)
void SetSource(SourceT &&value)
bool RelatedOpsItemsHasBeenSet() const
AWS_SSM_API Aws::String SerializePayload() const override
void SetSeverity(SeverityT &&value)
const Aws::Utils::DateTime & GetActualStartTime() const
const Aws::Utils::DateTime & GetActualEndTime() const
bool ActualEndTimeHasBeenSet() const
bool NotificationsHasBeenSet() const
bool ActualStartTimeHasBeenSet() const
const Aws::String & GetCategory() const
CreateOpsItemRequest & WithRelatedOpsItems(RelatedOpsItemsT &&value)
bool PlannedEndTimeHasBeenSet() const
const Aws::String & GetOpsItemType() const
CreateOpsItemRequest & WithSeverity(SeverityT &&value)
CreateOpsItemRequest & WithOpsItemType(OpsItemTypeT &&value)
bool AccountIdHasBeenSet() const
CreateOpsItemRequest & WithActualEndTime(ActualEndTimeT &&value)
CreateOpsItemRequest & WithPriority(int value)
CreateOpsItemRequest & WithPlannedStartTime(PlannedStartTimeT &&value)
const Aws::String & GetDescription() const
const Aws::Vector< Tag > & GetTags() const
void SetRelatedOpsItems(RelatedOpsItemsT &&value)
void SetActualStartTime(ActualStartTimeT &&value)
CreateOpsItemRequest & WithNotifications(NotificationsT &&value)
bool TagsHasBeenSet() const
void SetOperationalData(OperationalDataT &&value)
bool DescriptionHasBeenSet() const
void SetNotifications(NotificationsT &&value)
bool SourceHasBeenSet() const
CreateOpsItemRequest & WithCategory(CategoryT &&value)
bool OperationalDataHasBeenSet() const
void SetPlannedStartTime(PlannedStartTimeT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAccountId() const
void SetCategory(CategoryT &&value)
bool PlannedStartTimeHasBeenSet() const
CreateOpsItemRequest & WithAccountId(AccountIdT &&value)
void SetActualEndTime(ActualEndTimeT &&value)
CreateOpsItemRequest & WithDescription(DescriptionT &&value)
void SetPlannedEndTime(PlannedEndTimeT &&value)
bool PriorityHasBeenSet() const
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateOpsItemRequest & AddNotifications(NotificationsT &&value)
CreateOpsItemRequest & AddRelatedOpsItems(RelatedOpsItemsT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetSource() const
CreateOpsItemRequest & WithPlannedEndTime(PlannedEndTimeT &&value)
const Aws::Utils::DateTime & GetPlannedEndTime() const
CreateOpsItemRequest & WithTitle(TitleT &&value)
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