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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/model/OpsItemStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/ssm/model/OpsItemNotification.h>
14#include <aws/ssm/model/RelatedOpsItem.h>
15#include <aws/ssm/model/OpsItemDataValue.h>
73 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
93 inline void SetOpsItemType(
const char* value) { m_opsItemTypeHasBeenSet =
true; m_opsItemType.assign(value); }
119 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
133 inline void SetLastModifiedBy(
const char* value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy.assign(value); }
174 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
217 inline void SetOpsItemId(
const char* value) { m_opsItemIdHasBeenSet =
true; m_opsItemId.assign(value); }
232 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
247 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
262 inline void SetSource(
const char* value) { m_sourceHasBeenSet =
true; m_source.assign(value); }
315 inline void SetCategory(
const char* value) { m_categoryHasBeenSet =
true; m_category.assign(value); }
329 inline void SetSeverity(
const char* value) { m_severityHasBeenSet =
true; m_severity.assign(value); }
397 inline void SetOpsItemArn(
const char* value) { m_opsItemArnHasBeenSet =
true; m_opsItemArn.assign(value); }
405 bool m_createdByHasBeenSet =
false;
408 bool m_opsItemTypeHasBeenSet =
false;
411 bool m_createdTimeHasBeenSet =
false;
414 bool m_descriptionHasBeenSet =
false;
417 bool m_lastModifiedByHasBeenSet =
false;
420 bool m_lastModifiedTimeHasBeenSet =
false;
423 bool m_notificationsHasBeenSet =
false;
426 bool m_priorityHasBeenSet =
false;
429 bool m_relatedOpsItemsHasBeenSet =
false;
432 bool m_statusHasBeenSet =
false;
435 bool m_opsItemIdHasBeenSet =
false;
438 bool m_versionHasBeenSet =
false;
441 bool m_titleHasBeenSet =
false;
444 bool m_sourceHasBeenSet =
false;
447 bool m_operationalDataHasBeenSet =
false;
450 bool m_categoryHasBeenSet =
false;
453 bool m_severityHasBeenSet =
false;
456 bool m_actualStartTimeHasBeenSet =
false;
459 bool m_actualEndTimeHasBeenSet =
false;
462 bool m_plannedStartTimeHasBeenSet =
false;
465 bool m_plannedEndTimeHasBeenSet =
false;
468 bool m_opsItemArnHasBeenSet =
false;
OpsItem & WithSeverity(const Aws::String &value)
void SetOperationalData(const Aws::Map< Aws::String, OpsItemDataValue > &value)
bool SeverityHasBeenSet() const
OpsItem & WithOpsItemId(Aws::String &&value)
const OpsItemStatus & GetStatus() const
OpsItem & WithLastModifiedBy(Aws::String &&value)
void SetDescription(const char *value)
const Aws::String & GetOpsItemId() const
OpsItem & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
OpsItem & WithCategory(Aws::String &&value)
void SetOpsItemId(const Aws::String &value)
void SetPlannedStartTime(const Aws::Utils::DateTime &value)
void SetActualStartTime(const Aws::Utils::DateTime &value)
AWS_SSM_API OpsItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedBy(const char *value)
bool OpsItemTypeHasBeenSet() const
OpsItem & WithOpsItemType(const char *value)
void SetSeverity(Aws::String &&value)
bool SourceHasBeenSet() const
void SetLastModifiedBy(Aws::String &&value)
void SetTitle(const char *value)
const Aws::Vector< OpsItemNotification > & GetNotifications() const
OpsItem & WithOpsItemType(Aws::String &&value)
void SetRelatedOpsItems(Aws::Vector< RelatedOpsItem > &&value)
void SetSeverity(const Aws::String &value)
void SetCreatedBy(const char *value)
OpsItem & WithPriority(int value)
OpsItem & WithOpsItemId(const Aws::String &value)
void SetNotifications(const Aws::Vector< OpsItemNotification > &value)
OpsItem & AddOperationalData(const char *key, OpsItemDataValue &&value)
OpsItem & AddOperationalData(const char *key, const OpsItemDataValue &value)
OpsItem & WithRelatedOpsItems(Aws::Vector< RelatedOpsItem > &&value)
OpsItem & WithOpsItemArn(Aws::String &&value)
void SetOpsItemId(const char *value)
bool LastModifiedTimeHasBeenSet() const
OpsItem & WithVersion(const char *value)
void SetOpsItemArn(const char *value)
void SetTitle(Aws::String &&value)
void SetSource(const char *value)
OpsItem & AddOperationalData(const Aws::String &key, OpsItemDataValue &&value)
void SetStatus(OpsItemStatus &&value)
void SetNotifications(Aws::Vector< OpsItemNotification > &&value)
OpsItem & WithLastModifiedTime(const Aws::Utils::DateTime &value)
OpsItem & WithStatus(OpsItemStatus &&value)
void SetOpsItemType(Aws::String &&value)
const Aws::String & GetDescription() const
OpsItem & AddOperationalData(const Aws::String &key, const OpsItemDataValue &value)
OpsItem & WithPlannedEndTime(Aws::Utils::DateTime &&value)
void SetTitle(const Aws::String &value)
bool NotificationsHasBeenSet() const
const Aws::String & GetCategory() const
OpsItem & WithDescription(Aws::String &&value)
OpsItem & WithRelatedOpsItems(const Aws::Vector< RelatedOpsItem > &value)
void SetActualEndTime(Aws::Utils::DateTime &&value)
OpsItem & AddRelatedOpsItems(const RelatedOpsItem &value)
OpsItem & WithPlannedStartTime(Aws::Utils::DateTime &&value)
OpsItem & WithTitle(Aws::String &&value)
void SetOpsItemArn(Aws::String &&value)
OpsItem & WithTitle(const Aws::String &value)
const Aws::String & GetTitle() const
OpsItem & WithCategory(const Aws::String &value)
void SetDescription(Aws::String &&value)
bool CreatedTimeHasBeenSet() const
void SetCategory(const char *value)
bool ActualEndTimeHasBeenSet() const
const Aws::String & GetOpsItemArn() const
void SetOpsItemType(const Aws::String &value)
void SetSource(Aws::String &&value)
OpsItem & WithNotifications(Aws::Vector< OpsItemNotification > &&value)
OpsItem & WithStatus(const OpsItemStatus &value)
bool VersionHasBeenSet() const
bool TitleHasBeenSet() const
OpsItem & WithCreatedBy(const Aws::String &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
OpsItem & WithSource(Aws::String &&value)
bool DescriptionHasBeenSet() const
void SetOpsItemArn(const Aws::String &value)
OpsItem & WithDescription(const char *value)
OpsItem & AddRelatedOpsItems(RelatedOpsItem &&value)
OpsItem & WithVersion(Aws::String &&value)
OpsItem & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetActualStartTime(Aws::Utils::DateTime &&value)
void SetOperationalData(Aws::Map< Aws::String, OpsItemDataValue > &&value)
void SetVersion(Aws::String &&value)
void SetLastModifiedBy(const Aws::String &value)
bool StatusHasBeenSet() const
const Aws::Utils::DateTime & GetActualStartTime() const
void SetOpsItemType(const char *value)
OpsItem & WithLastModifiedBy(const char *value)
bool OperationalDataHasBeenSet() const
const Aws::Utils::DateTime & GetPlannedStartTime() const
void SetCategory(const Aws::String &value)
void SetVersion(const Aws::String &value)
void SetSeverity(const char *value)
OpsItem & WithPlannedStartTime(const Aws::Utils::DateTime &value)
void SetPriority(int value)
OpsItem & WithTitle(const char *value)
void SetCategory(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
const Aws::String & GetCreatedBy() const
OpsItem & WithOpsItemId(const char *value)
OpsItem & WithSource(const Aws::String &value)
OpsItem & WithSeverity(Aws::String &&value)
const Aws::Map< Aws::String, OpsItemDataValue > & GetOperationalData() const
OpsItem & WithActualStartTime(const Aws::Utils::DateTime &value)
bool CategoryHasBeenSet() const
const Aws::Utils::DateTime & GetPlannedEndTime() const
void SetPlannedStartTime(Aws::Utils::DateTime &&value)
OpsItem & WithDescription(const Aws::String &value)
bool RelatedOpsItemsHasBeenSet() const
OpsItem & WithSeverity(const char *value)
void SetPlannedEndTime(const Aws::Utils::DateTime &value)
OpsItem & WithSource(const char *value)
OpsItem & WithCreatedBy(Aws::String &&value)
bool OpsItemArnHasBeenSet() const
const Aws::String & GetSource() const
void SetRelatedOpsItems(const Aws::Vector< RelatedOpsItem > &value)
const Aws::Vector< RelatedOpsItem > & GetRelatedOpsItems() const
const Aws::String & GetLastModifiedBy() const
OpsItem & WithOperationalData(const Aws::Map< Aws::String, OpsItemDataValue > &value)
OpsItem & WithOpsItemType(const Aws::String &value)
bool PriorityHasBeenSet() const
const Aws::String & GetOpsItemType() const
OpsItem & WithOpsItemArn(const char *value)
bool LastModifiedByHasBeenSet() const
OpsItem & AddOperationalData(Aws::String &&key, OpsItemDataValue &&value)
bool PlannedEndTimeHasBeenSet() const
OpsItem & AddNotifications(OpsItemNotification &&value)
OpsItem & WithNotifications(const Aws::Vector< OpsItemNotification > &value)
OpsItem & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetStatus(const OpsItemStatus &value)
bool OpsItemIdHasBeenSet() const
bool PlannedStartTimeHasBeenSet() const
const Aws::String & GetSeverity() const
void SetOpsItemId(Aws::String &&value)
void SetCreatedBy(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
OpsItem & WithLastModifiedBy(const Aws::String &value)
void SetDescription(const Aws::String &value)
OpsItem & WithOperationalData(Aws::Map< Aws::String, OpsItemDataValue > &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
bool CreatedByHasBeenSet() const
OpsItem & WithActualStartTime(Aws::Utils::DateTime &&value)
void SetCreatedBy(Aws::String &&value)
bool ActualStartTimeHasBeenSet() const
OpsItem & WithPlannedEndTime(const Aws::Utils::DateTime &value)
OpsItem & WithCreatedBy(const char *value)
OpsItem & AddNotifications(const OpsItemNotification &value)
void SetSource(const Aws::String &value)
OpsItem & AddOperationalData(Aws::String &&key, const OpsItemDataValue &value)
const Aws::Utils::DateTime & GetActualEndTime() const
OpsItem & WithActualEndTime(Aws::Utils::DateTime &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetActualEndTime(const Aws::Utils::DateTime &value)
OpsItem & WithVersion(const Aws::String &value)
OpsItem & WithActualEndTime(const Aws::Utils::DateTime &value)
void SetVersion(const char *value)
const Aws::String & GetVersion() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SSM_API OpsItem(Aws::Utils::Json::JsonView jsonValue)
OpsItem & WithOpsItemArn(const Aws::String &value)
OpsItem & WithCategory(const char *value)
void SetPlannedEndTime(Aws::Utils::DateTime &&value)
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
Aws::Utils::Json::JsonValue JsonValue