7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/NotificationResource.h>
9#include <aws/datazone/model/NotificationRole.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
72 inline void SetSubject(
const char* value) { m_subjectHasBeenSet =
true; m_subject.assign(value); }
80 bool m_resourceHasBeenSet =
false;
83 bool m_roleHasBeenSet =
false;
86 bool m_subjectHasBeenSet =
false;
Topic & WithResource(NotificationResource &&value)
AWS_DATAZONE_API Topic(Aws::Utils::Json::JsonView jsonValue)
Topic & WithRole(const NotificationRole &value)
const NotificationResource & GetResource() const
const NotificationRole & GetRole() const
void SetResource(NotificationResource &&value)
void SetSubject(Aws::String &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSubject(const Aws::String &value)
void SetSubject(const char *value)
AWS_DATAZONE_API Topic & operator=(Aws::Utils::Json::JsonView jsonValue)
Topic & WithSubject(const Aws::String &value)
void SetResource(const NotificationResource &value)
Topic & WithSubject(const char *value)
void SetRole(NotificationRole &&value)
Topic & WithSubject(Aws::String &&value)
bool RoleHasBeenSet() const
void SetRole(const NotificationRole &value)
bool SubjectHasBeenSet() const
bool ResourceHasBeenSet() const
const Aws::String & GetSubject() const
Topic & WithRole(NotificationRole &&value)
Topic & WithResource(const NotificationResource &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue