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/core/utils/DateTime.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>
52 template<
typename DescriptionT = Aws::String>
53 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
54 template<
typename DescriptionT = Aws::String>
70 template<
typename OpsItemTypeT = Aws::String>
71 void SetOpsItemType(OpsItemTypeT&& value) { m_opsItemTypeHasBeenSet =
true; m_opsItemType = std::forward<OpsItemTypeT>(value); }
72 template<
typename OpsItemTypeT = Aws::String>
102 template<
typename OperationalDataT = Aws::Map<Aws::String, OpsItemDataValue>>
103 void SetOperationalData(OperationalDataT&& value) { m_operationalDataHasBeenSet =
true; m_operationalData = std::forward<OperationalDataT>(value); }
104 template<
typename OperationalDataT = Aws::Map<Aws::String, OpsItemDataValue>>
106 template<
typename OperationalDataKeyT = Aws::String,
typename OperationalDataValueT = OpsItemDataValue>
108 m_operationalDataHasBeenSet =
true; m_operationalData.emplace(std::forward<OperationalDataKeyT>(key), std::forward<OperationalDataValueT>(value));
return *
this;
119 template<
typename NotificationsT = Aws::Vector<OpsItemNotification>>
120 void SetNotifications(NotificationsT&& value) { m_notificationsHasBeenSet =
true; m_notifications = std::forward<NotificationsT>(value); }
121 template<
typename NotificationsT = Aws::Vector<OpsItemNotification>>
123 template<
typename NotificationsT = OpsItemNotification>
134 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
146 template<
typename RelatedOpsItemsT = Aws::Vector<RelatedOpsItem>>
147 void SetRelatedOpsItems(RelatedOpsItemsT&& value) { m_relatedOpsItemsHasBeenSet =
true; m_relatedOpsItems = std::forward<RelatedOpsItemsT>(value); }
148 template<
typename RelatedOpsItemsT = Aws::Vector<RelatedOpsItem>>
150 template<
typename RelatedOpsItemsT = RelatedOpsItem>
162 template<
typename SourceT = Aws::String>
163 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
164 template<
typename SourceT = Aws::String>
175 template<
typename TitleT = Aws::String>
176 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
177 template<
typename TitleT = Aws::String>
192 template<
typename TagsT = Aws::Vector<Tag>>
193 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
194 template<
typename TagsT = Aws::Vector<Tag>>
196 template<
typename TagsT = Tag>
206 template<
typename CategoryT = Aws::String>
207 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet =
true; m_category = std::forward<CategoryT>(value); }
208 template<
typename CategoryT = Aws::String>
218 template<
typename SeverityT = Aws::String>
219 void SetSeverity(SeverityT&& value) { m_severityHasBeenSet =
true; m_severity = std::forward<SeverityT>(value); }
220 template<
typename SeverityT = Aws::String>
231 template<
typename ActualStartTimeT = Aws::Utils::DateTime>
232 void SetActualStartTime(ActualStartTimeT&& value) { m_actualStartTimeHasBeenSet =
true; m_actualStartTime = std::forward<ActualStartTimeT>(value); }
233 template<
typename ActualStartTimeT = Aws::Utils::DateTime>
244 template<
typename ActualEndTimeT = Aws::Utils::DateTime>
245 void SetActualEndTime(ActualEndTimeT&& value) { m_actualEndTimeHasBeenSet =
true; m_actualEndTime = std::forward<ActualEndTimeT>(value); }
246 template<
typename ActualEndTimeT = Aws::Utils::DateTime>
258 template<
typename PlannedStartTimeT = Aws::Utils::DateTime>
259 void SetPlannedStartTime(PlannedStartTimeT&& value) { m_plannedStartTimeHasBeenSet =
true; m_plannedStartTime = std::forward<PlannedStartTimeT>(value); }
260 template<
typename PlannedStartTimeT = Aws::Utils::DateTime>
272 template<
typename PlannedEndTimeT = Aws::Utils::DateTime>
273 void SetPlannedEndTime(PlannedEndTimeT&& value) { m_plannedEndTimeHasBeenSet =
true; m_plannedEndTime = std::forward<PlannedEndTimeT>(value); }
274 template<
typename PlannedEndTimeT = Aws::Utils::DateTime>
289 template<
typename AccountIdT = Aws::String>
290 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
291 template<
typename AccountIdT = Aws::String>
297 bool m_descriptionHasBeenSet =
false;
300 bool m_opsItemTypeHasBeenSet =
false;
303 bool m_operationalDataHasBeenSet =
false;
306 bool m_notificationsHasBeenSet =
false;
309 bool m_priorityHasBeenSet =
false;
312 bool m_relatedOpsItemsHasBeenSet =
false;
315 bool m_sourceHasBeenSet =
false;
318 bool m_titleHasBeenSet =
false;
321 bool m_tagsHasBeenSet =
false;
324 bool m_categoryHasBeenSet =
false;
327 bool m_severityHasBeenSet =
false;
330 bool m_actualStartTimeHasBeenSet =
false;
333 bool m_actualEndTimeHasBeenSet =
false;
336 bool m_plannedStartTimeHasBeenSet =
false;
339 bool m_plannedEndTimeHasBeenSet =
false;
342 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