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/lightsail/Lightsail_EXPORTS.h>
42 template <
typename ResourceT = Aws::String>
44 m_resourceHasBeenSet =
true;
45 m_resource = std::forward<ResourceT>(value);
47 template <
typename ResourceT = Aws::String>
60 template <
typename CreatedAtT = Aws::Utils::DateTime>
62 m_createdAtHasBeenSet =
true;
63 m_createdAt = std::forward<CreatedAtT>(value);
65 template <
typename CreatedAtT = Aws::Utils::DateTime>
78 template <
typename MessageT = Aws::String>
80 m_messageHasBeenSet =
true;
81 m_message = std::forward<MessageT>(value);
83 template <
typename MessageT = Aws::String>
96 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
98 m_eventCategoriesHasBeenSet =
true;
99 m_eventCategories = std::forward<EventCategoriesT>(value);
101 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
106 template <
typename EventCategoriesT = Aws::String>
108 m_eventCategoriesHasBeenSet =
true;
109 m_eventCategories.emplace_back(std::forward<EventCategoriesT>(value));
121 bool m_resourceHasBeenSet =
false;
122 bool m_createdAtHasBeenSet =
false;
123 bool m_messageHasBeenSet =
false;
124 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