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>
54 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
74 inline void SetOpsItemType(
const char* value) { m_opsItemTypeHasBeenSet =
true; m_opsItemType.assign(value); }
140 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
170 inline void SetSource(
const char* value) { m_sourceHasBeenSet =
true; m_source.assign(value); }
185 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
218 inline void SetCategory(
const char* value) { m_categoryHasBeenSet =
true; m_category.assign(value); }
232 inline void SetSeverity(
const char* value) { m_severityHasBeenSet =
true; m_severity.assign(value); }
305 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
313 bool m_descriptionHasBeenSet =
false;
316 bool m_opsItemTypeHasBeenSet =
false;
319 bool m_operationalDataHasBeenSet =
false;
322 bool m_notificationsHasBeenSet =
false;
325 bool m_priorityHasBeenSet =
false;
328 bool m_relatedOpsItemsHasBeenSet =
false;
331 bool m_sourceHasBeenSet =
false;
334 bool m_titleHasBeenSet =
false;
337 bool m_tagsHasBeenSet =
false;
340 bool m_categoryHasBeenSet =
false;
343 bool m_severityHasBeenSet =
false;
346 bool m_actualStartTimeHasBeenSet =
false;
349 bool m_actualEndTimeHasBeenSet =
false;
352 bool m_plannedStartTimeHasBeenSet =
false;
355 bool m_plannedEndTimeHasBeenSet =
false;
358 bool m_accountIdHasBeenSet =
false;
void SetCategory(const char *value)
void SetSeverity(const Aws::String &value)
CreateOpsItemRequest & WithPlannedEndTime(Aws::Utils::DateTime &&value)
void SetSource(const Aws::String &value)
void SetSeverity(const char *value)
CreateOpsItemRequest & WithTags(Aws::Vector< Tag > &&value)
CreateOpsItemRequest & AddRelatedOpsItems(const RelatedOpsItem &value)
const Aws::Map< Aws::String, OpsItemDataValue > & GetOperationalData() const
void SetDescription(Aws::String &&value)
CreateOpsItemRequest & WithSeverity(const char *value)
CreateOpsItemRequest & WithCategory(const char *value)
void SetAccountId(const Aws::String &value)
bool SeverityHasBeenSet() const
void SetTitle(const Aws::String &value)
bool TitleHasBeenSet() const
CreateOpsItemRequest & AddOperationalData(const Aws::String &key, OpsItemDataValue &&value)
CreateOpsItemRequest & WithAccountId(const char *value)
CreateOpsItemRequest & WithDescription(Aws::String &&value)
CreateOpsItemRequest & AddTags(Tag &&value)
CreateOpsItemRequest & WithNotifications(Aws::Vector< OpsItemNotification > &&value)
void SetRelatedOpsItems(Aws::Vector< RelatedOpsItem > &&value)
void SetPriority(int value)
const Aws::Vector< OpsItemNotification > & GetNotifications() const
bool CategoryHasBeenSet() const
CreateOpsItemRequest & WithAccountId(Aws::String &&value)
const Aws::String & GetSeverity() const
const Aws::Vector< RelatedOpsItem > & GetRelatedOpsItems() const
bool OpsItemTypeHasBeenSet() const
void SetCategory(Aws::String &&value)
const Aws::String & GetTitle() const
const Aws::Utils::DateTime & GetPlannedStartTime() const
CreateOpsItemRequest & WithSource(const char *value)
void SetRelatedOpsItems(const Aws::Vector< RelatedOpsItem > &value)
CreateOpsItemRequest & WithOpsItemType(const char *value)
CreateOpsItemRequest & WithTags(const Aws::Vector< Tag > &value)
CreateOpsItemRequest & WithSeverity(const Aws::String &value)
CreateOpsItemRequest & AddOperationalData(const Aws::String &key, const OpsItemDataValue &value)
void SetSeverity(Aws::String &&value)
void SetNotifications(Aws::Vector< OpsItemNotification > &&value)
bool RelatedOpsItemsHasBeenSet() const
CreateOpsItemRequest & WithOperationalData(Aws::Map< Aws::String, OpsItemDataValue > &&value)
CreateOpsItemRequest & WithSource(Aws::String &&value)
void SetNotifications(const Aws::Vector< OpsItemNotification > &value)
void SetSource(Aws::String &&value)
AWS_SSM_API Aws::String SerializePayload() const override
void SetDescription(const Aws::String &value)
void SetPlannedStartTime(Aws::Utils::DateTime &&value)
CreateOpsItemRequest & AddOperationalData(Aws::String &&key, const OpsItemDataValue &value)
const Aws::Utils::DateTime & GetActualStartTime() const
void SetPlannedEndTime(const Aws::Utils::DateTime &value)
void SetTags(const Aws::Vector< Tag > &value)
CreateOpsItemRequest & WithAccountId(const Aws::String &value)
CreateOpsItemRequest & WithActualEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetActualEndTime() const
void SetCategory(const Aws::String &value)
bool ActualEndTimeHasBeenSet() const
CreateOpsItemRequest & WithTitle(const char *value)
bool NotificationsHasBeenSet() const
CreateOpsItemRequest & AddNotifications(const OpsItemNotification &value)
bool ActualStartTimeHasBeenSet() const
const Aws::String & GetCategory() const
void SetPlannedStartTime(const Aws::Utils::DateTime &value)
AWS_SSM_API CreateOpsItemRequest()
bool PlannedEndTimeHasBeenSet() const
CreateOpsItemRequest & WithTitle(Aws::String &&value)
CreateOpsItemRequest & AddRelatedOpsItems(RelatedOpsItem &&value)
void SetOpsItemType(const char *value)
CreateOpsItemRequest & WithOperationalData(const Aws::Map< Aws::String, OpsItemDataValue > &value)
void SetTags(Aws::Vector< Tag > &&value)
const Aws::String & GetOpsItemType() const
void SetTitle(const char *value)
void SetOperationalData(Aws::Map< Aws::String, OpsItemDataValue > &&value)
CreateOpsItemRequest & WithActualEndTime(Aws::Utils::DateTime &&value)
bool AccountIdHasBeenSet() const
CreateOpsItemRequest & WithCategory(Aws::String &&value)
CreateOpsItemRequest & WithPriority(int value)
void SetDescription(const char *value)
CreateOpsItemRequest & AddNotifications(OpsItemNotification &&value)
const Aws::String & GetDescription() const
const Aws::Vector< Tag > & GetTags() const
CreateOpsItemRequest & WithActualStartTime(const Aws::Utils::DateTime &value)
bool TagsHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetActualStartTime(const Aws::Utils::DateTime &value)
void SetOpsItemType(Aws::String &&value)
CreateOpsItemRequest & WithPlannedStartTime(Aws::Utils::DateTime &&value)
bool SourceHasBeenSet() const
void SetPlannedEndTime(Aws::Utils::DateTime &&value)
CreateOpsItemRequest & AddOperationalData(Aws::String &&key, OpsItemDataValue &&value)
bool OperationalDataHasBeenSet() const
void SetActualEndTime(const Aws::Utils::DateTime &value)
void SetOperationalData(const Aws::Map< Aws::String, OpsItemDataValue > &value)
CreateOpsItemRequest & WithCategory(const Aws::String &value)
CreateOpsItemRequest & WithOpsItemType(const Aws::String &value)
CreateOpsItemRequest & WithSource(const Aws::String &value)
CreateOpsItemRequest & WithTitle(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAccountId() const
bool PlannedStartTimeHasBeenSet() const
CreateOpsItemRequest & WithActualStartTime(Aws::Utils::DateTime &&value)
void SetSource(const char *value)
CreateOpsItemRequest & WithPlannedEndTime(const Aws::Utils::DateTime &value)
CreateOpsItemRequest & WithDescription(const Aws::String &value)
CreateOpsItemRequest & WithNotifications(const Aws::Vector< OpsItemNotification > &value)
void SetTitle(Aws::String &&value)
CreateOpsItemRequest & WithOpsItemType(Aws::String &&value)
CreateOpsItemRequest & WithRelatedOpsItems(const Aws::Vector< RelatedOpsItem > &value)
CreateOpsItemRequest & WithRelatedOpsItems(Aws::Vector< RelatedOpsItem > &&value)
CreateOpsItemRequest & WithSeverity(Aws::String &&value)
bool PriorityHasBeenSet() const
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateOpsItemRequest & WithPlannedStartTime(const Aws::Utils::DateTime &value)
void SetAccountId(const char *value)
void SetActualEndTime(Aws::Utils::DateTime &&value)
void SetActualStartTime(Aws::Utils::DateTime &&value)
void SetAccountId(Aws::String &&value)
CreateOpsItemRequest & AddTags(const Tag &value)
CreateOpsItemRequest & AddOperationalData(const char *key, const OpsItemDataValue &value)
const Aws::String & GetSource() const
CreateOpsItemRequest & WithDescription(const char *value)
const Aws::Utils::DateTime & GetPlannedEndTime() const
void SetOpsItemType(const Aws::String &value)
CreateOpsItemRequest & AddOperationalData(const char *key, OpsItemDataValue &&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