7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
11#include <aws/dms/model/SourceType.h>
22namespace DatabaseMigrationService {
35 AWS_DATABASEMIGRATIONSERVICE_API
Event() =
default;
46 template <
typename SourceIdentifierT = Aws::String>
48 m_sourceIdentifierHasBeenSet =
true;
49 m_sourceIdentifier = std::forward<SourceIdentifierT>(value);
51 template <
typename SourceIdentifierT = Aws::String>
66 m_sourceTypeHasBeenSet =
true;
81 template <
typename MessageT = Aws::String>
83 m_messageHasBeenSet =
true;
84 m_message = std::forward<MessageT>(value);
86 template <
typename MessageT = Aws::String>
99 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
101 m_eventCategoriesHasBeenSet =
true;
102 m_eventCategories = std::forward<EventCategoriesT>(value);
104 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
109 template <
typename EventCategoriesT = Aws::String>
111 m_eventCategoriesHasBeenSet =
true;
112 m_eventCategories.emplace_back(std::forward<EventCategoriesT>(value));
123 template <
typename DateT = Aws::Utils::DateTime>
125 m_dateHasBeenSet =
true;
126 m_date = std::forward<DateT>(value);
128 template <
typename DateT = Aws::Utils::DateTime>
130 SetDate(std::forward<DateT>(value));
144 bool m_sourceIdentifierHasBeenSet =
false;
145 bool m_sourceTypeHasBeenSet =
false;
146 bool m_messageHasBeenSet =
false;
147 bool m_eventCategoriesHasBeenSet =
false;
148 bool m_dateHasBeenSet =
false;
Event & WithMessage(MessageT &&value)
bool MessageHasBeenSet() const
const Aws::Utils::DateTime & GetDate() const
bool SourceTypeHasBeenSet() const
const Aws::String & GetMessage() const
const Aws::String & GetSourceIdentifier() const
Event & WithDate(DateT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Event()=default
void SetSourceType(SourceType value)
void SetDate(DateT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API Event(Aws::Utils::Json::JsonView jsonValue)
Event & WithSourceType(SourceType value)
Event & WithSourceIdentifier(SourceIdentifierT &&value)
SourceType GetSourceType() const
Event & AddEventCategories(EventCategoriesT &&value)
void SetSourceIdentifier(SourceIdentifierT &&value)
bool EventCategoriesHasBeenSet() const
bool SourceIdentifierHasBeenSet() const
bool DateHasBeenSet() const
void SetMessage(MessageT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetEventCategories() const
Event & WithEventCategories(EventCategoriesT &&value)
void SetEventCategories(EventCategoriesT &&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