7#include <aws/lightsail/Lightsail_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>
48 template<
typename ResourceT = Aws::String>
49 void SetResource(ResourceT&& value) { m_resourceHasBeenSet =
true; m_resource = std::forward<ResourceT>(value); }
50 template<
typename ResourceT = Aws::String>
60 template<
typename CreatedAtT = Aws::Utils::DateTime>
61 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
62 template<
typename CreatedAtT = Aws::Utils::DateTime>
72 template<
typename MessageT = Aws::String>
73 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
74 template<
typename MessageT = Aws::String>
84 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
85 void SetEventCategories(EventCategoriesT&& value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories = std::forward<EventCategoriesT>(value); }
86 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
88 template<
typename EventCategoriesT = Aws::String>
94 bool m_resourceHasBeenSet =
false;
97 bool m_createdAtHasBeenSet =
false;
100 bool m_messageHasBeenSet =
false;
103 bool m_eventCategoriesHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetResource() const
void SetMessage(MessageT &&value)
const Aws::String & GetMessage() const
const Aws::Vector< Aws::String > & GetEventCategories() const
RelationalDatabaseEvent & WithEventCategories(EventCategoriesT &&value)
bool MessageHasBeenSet() const
RelationalDatabaseEvent & WithCreatedAt(CreatedAtT &&value)
AWS_LIGHTSAIL_API RelationalDatabaseEvent()=default
RelationalDatabaseEvent & WithResource(ResourceT &&value)
AWS_LIGHTSAIL_API RelationalDatabaseEvent(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(CreatedAtT &&value)
void SetResource(ResourceT &&value)
bool ResourceHasBeenSet() const
RelationalDatabaseEvent & WithMessage(MessageT &&value)
AWS_LIGHTSAIL_API RelationalDatabaseEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
RelationalDatabaseEvent & AddEventCategories(EventCategoriesT &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreatedAtHasBeenSet() const
bool EventCategoriesHasBeenSet() const
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