7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/NotificationResource.h>
10#include <aws/datazone/model/NotificationRole.h>
31 AWS_DATAZONE_API
Topic() =
default;
42 template <
typename SubjectT = Aws::String>
44 m_subjectHasBeenSet =
true;
45 m_subject = std::forward<SubjectT>(value);
47 template <
typename SubjectT = Aws::String>
58 template <
typename ResourceT = NotificationResource>
60 m_resourceHasBeenSet =
true;
61 m_resource = std::forward<ResourceT>(value);
63 template <
typename ResourceT = NotificationResource>
77 m_roleHasBeenSet =
true;
91 bool m_subjectHasBeenSet =
false;
92 bool m_resourceHasBeenSet =
false;
93 bool m_roleHasBeenSet =
false;
AWS_DATAZONE_API Topic()=default
AWS_DATAZONE_API Topic(Aws::Utils::Json::JsonView jsonValue)
const NotificationResource & GetResource() const
void SetSubject(SubjectT &&value)
Topic & WithSubject(SubjectT &&value)
void SetResource(ResourceT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
Topic & WithResource(ResourceT &&value)
AWS_DATAZONE_API Topic & operator=(Aws::Utils::Json::JsonView jsonValue)
Topic & WithRole(NotificationRole value)
NotificationRole GetRole() const
void SetRole(NotificationRole value)
bool RoleHasBeenSet() const
bool SubjectHasBeenSet() const
bool ResourceHasBeenSet() const
const Aws::String & GetSubject() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue