7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/SourceType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
24namespace DatabaseMigrationService
40 AWS_DATABASEMIGRATIONSERVICE_API
Event();
54 inline void SetSourceIdentifier(
const char* value) { m_sourceIdentifierHasBeenSet =
true; m_sourceIdentifier.assign(value); }
81 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
99 inline Event&
AddEventCategories(
const char* value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories.push_back(value);
return *
this; }
116 bool m_sourceIdentifierHasBeenSet =
false;
119 bool m_sourceTypeHasBeenSet =
false;
122 bool m_messageHasBeenSet =
false;
125 bool m_eventCategoriesHasBeenSet =
false;
128 bool m_dateHasBeenSet =
false;
bool MessageHasBeenSet() const
Event & WithSourceType(SourceType &&value)
Event & AddEventCategories(const Aws::String &value)
const Aws::Utils::DateTime & GetDate() const
bool SourceTypeHasBeenSet() const
const Aws::String & GetMessage() const
void SetMessage(const Aws::String &value)
const Aws::String & GetSourceIdentifier() const
void SetMessage(const char *value)
void SetSourceType(SourceType &&value)
Event & WithDate(const Aws::Utils::DateTime &value)
AWS_DATABASEMIGRATIONSERVICE_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEventCategories(const Aws::Vector< Aws::String > &value)
Event & WithSourceType(const SourceType &value)
AWS_DATABASEMIGRATIONSERVICE_API Event(Aws::Utils::Json::JsonView jsonValue)
void SetDate(const Aws::Utils::DateTime &value)
Event & AddEventCategories(const char *value)
void SetSourceIdentifier(const char *value)
Event & WithEventCategories(const Aws::Vector< Aws::String > &value)
Event & WithDate(Aws::Utils::DateTime &&value)
Event & WithSourceIdentifier(Aws::String &&value)
bool EventCategoriesHasBeenSet() const
bool SourceIdentifierHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API Event()
bool DateHasBeenSet() const
void SetDate(Aws::Utils::DateTime &&value)
Event & WithSourceIdentifier(const Aws::String &value)
Event & WithMessage(const Aws::String &value)
Event & WithMessage(const char *value)
void SetSourceType(const SourceType &value)
void SetSourceIdentifier(Aws::String &&value)
void SetEventCategories(Aws::Vector< Aws::String > &&value)
void SetMessage(Aws::String &&value)
const SourceType & GetSourceType() const
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetEventCategories() const
Event & WithEventCategories(Aws::Vector< Aws::String > &&value)
void SetSourceIdentifier(const Aws::String &value)
Event & WithMessage(Aws::String &&value)
Event & AddEventCategories(Aws::String &&value)
Event & WithSourceIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue