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() =
default;
52 template<
typename SourceIdentifierT = Aws::String>
53 void SetSourceIdentifier(SourceIdentifierT&& value) { m_sourceIdentifierHasBeenSet =
true; m_sourceIdentifier = std::forward<SourceIdentifierT>(value); }
54 template<
typename SourceIdentifierT = Aws::String>
75 template<
typename MessageT = Aws::String>
76 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
77 template<
typename MessageT = Aws::String>
87 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
88 void SetEventCategories(EventCategoriesT&& value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories = std::forward<EventCategoriesT>(value); }
89 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
91 template<
typename EventCategoriesT = Aws::String>
92 Event&
AddEventCategories(EventCategoriesT&& value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories.emplace_back(std::forward<EventCategoriesT>(value));
return *
this; }
101 template<
typename DateT = Aws::Utils::DateTime>
102 void SetDate(DateT&& value) { m_dateHasBeenSet =
true; m_date = std::forward<DateT>(value); }
103 template<
typename DateT = Aws::Utils::DateTime>
109 bool m_sourceIdentifierHasBeenSet =
false;
112 bool m_sourceTypeHasBeenSet =
false;
115 bool m_messageHasBeenSet =
false;
118 bool m_eventCategoriesHasBeenSet =
false;
121 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