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>
50 inline void SetResource(
const char* value) { m_resourceHasBeenSet =
true; m_resource.assign(value); }
76 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
99 bool m_resourceHasBeenSet =
false;
102 bool m_createdAtHasBeenSet =
false;
105 bool m_messageHasBeenSet =
false;
108 bool m_eventCategoriesHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreatedAt() const
void SetEventCategories(const Aws::Vector< Aws::String > &value)
RelationalDatabaseEvent & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetResource() const
const Aws::String & GetMessage() const
AWS_LIGHTSAIL_API RelationalDatabaseEvent()
const Aws::Vector< Aws::String > & GetEventCategories() const
bool MessageHasBeenSet() const
RelationalDatabaseEvent & WithMessage(Aws::String &&value)
RelationalDatabaseEvent & WithResource(const char *value)
RelationalDatabaseEvent & AddEventCategories(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
AWS_LIGHTSAIL_API RelationalDatabaseEvent(Aws::Utils::Json::JsonView jsonValue)
bool ResourceHasBeenSet() const
void SetMessage(const char *value)
void SetEventCategories(Aws::Vector< Aws::String > &&value)
void SetResource(Aws::String &&value)
void SetMessage(Aws::String &&value)
RelationalDatabaseEvent & WithResource(Aws::String &&value)
RelationalDatabaseEvent & WithEventCategories(const Aws::Vector< Aws::String > &value)
RelationalDatabaseEvent & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_LIGHTSAIL_API RelationalDatabaseEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResource(const Aws::String &value)
void SetResource(const char *value)
RelationalDatabaseEvent & WithResource(const Aws::String &value)
RelationalDatabaseEvent & WithMessage(const Aws::String &value)
bool CreatedAtHasBeenSet() const
RelationalDatabaseEvent & AddEventCategories(const char *value)
bool EventCategoriesHasBeenSet() const
RelationalDatabaseEvent & AddEventCategories(Aws::String &&value)
RelationalDatabaseEvent & WithMessage(const char *value)
void SetMessage(const Aws::String &value)
RelationalDatabaseEvent & WithEventCategories(Aws::Vector< Aws::String > &&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