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>
36 AWS_DATAZONE_API
Topic() =
default;
46 template<
typename ResourceT = NotificationResource>
47 void SetResource(ResourceT&& value) { m_resourceHasBeenSet =
true; m_resource = std::forward<ResourceT>(value); }
48 template<
typename ResourceT = NotificationResource>
68 template<
typename SubjectT = Aws::String>
69 void SetSubject(SubjectT&& value) { m_subjectHasBeenSet =
true; m_subject = std::forward<SubjectT>(value); }
70 template<
typename SubjectT = Aws::String>
76 bool m_resourceHasBeenSet =
false;
79 bool m_roleHasBeenSet =
false;
82 bool m_subjectHasBeenSet =
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