7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ds/DirectoryService_EXPORTS.h>
10#include <aws/ds/model/TopicStatus.h>
21namespace DirectoryService {
44 template <
typename DirectoryIdT = Aws::String>
46 m_directoryIdHasBeenSet =
true;
47 m_directoryId = std::forward<DirectoryIdT>(value);
49 template <
typename DirectoryIdT = Aws::String>
63 template <
typename TopicNameT = Aws::String>
65 m_topicNameHasBeenSet =
true;
66 m_topicName = std::forward<TopicNameT>(value);
68 template <
typename TopicNameT = Aws::String>
81 template <
typename TopicArnT = Aws::String>
83 m_topicArnHasBeenSet =
true;
84 m_topicArn = std::forward<TopicArnT>(value);
86 template <
typename TopicArnT = Aws::String>
100 template <
typename CreatedDateTimeT = Aws::Utils::DateTime>
102 m_createdDateTimeHasBeenSet =
true;
103 m_createdDateTime = std::forward<CreatedDateTimeT>(value);
105 template <
typename CreatedDateTimeT = Aws::Utils::DateTime>
119 m_statusHasBeenSet =
true;
137 bool m_directoryIdHasBeenSet =
false;
138 bool m_topicNameHasBeenSet =
false;
139 bool m_topicArnHasBeenSet =
false;
140 bool m_createdDateTimeHasBeenSet =
false;
141 bool m_statusHasBeenSet =
false;
TopicStatus GetStatus() const
EventTopic & WithDirectoryId(DirectoryIdT &&value)
const Aws::Utils::DateTime & GetCreatedDateTime() const
bool TopicArnHasBeenSet() const
bool StatusHasBeenSet() const
void SetTopicArn(TopicArnT &&value)
bool CreatedDateTimeHasBeenSet() const
EventTopic & WithTopicName(TopicNameT &&value)
AWS_DIRECTORYSERVICE_API EventTopic()=default
void SetCreatedDateTime(CreatedDateTimeT &&value)
const Aws::String & GetDirectoryId() const
const Aws::String & GetTopicName() const
AWS_DIRECTORYSERVICE_API EventTopic(Aws::Utils::Json::JsonView jsonValue)
EventTopic & WithCreatedDateTime(CreatedDateTimeT &&value)
EventTopic & WithStatus(TopicStatus value)
void SetDirectoryId(DirectoryIdT &&value)
bool TopicNameHasBeenSet() const
bool DirectoryIdHasBeenSet() const
void SetTopicName(TopicNameT &&value)
EventTopic & WithTopicArn(TopicArnT &&value)
const Aws::String & GetTopicArn() const
AWS_DIRECTORYSERVICE_API EventTopic & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(TopicStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue