7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ds/model/TopicStatus.h>
23namespace DirectoryService
50 template<
typename DirectoryIdT = Aws::String>
51 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet =
true; m_directoryId = std::forward<DirectoryIdT>(value); }
52 template<
typename DirectoryIdT = Aws::String>
63 template<
typename TopicNameT = Aws::String>
64 void SetTopicName(TopicNameT&& value) { m_topicNameHasBeenSet =
true; m_topicName = std::forward<TopicNameT>(value); }
65 template<
typename TopicNameT = Aws::String>
75 template<
typename TopicArnT = Aws::String>
76 void SetTopicArn(TopicArnT&& value) { m_topicArnHasBeenSet =
true; m_topicArn = std::forward<TopicArnT>(value); }
77 template<
typename TopicArnT = Aws::String>
88 template<
typename CreatedDateTimeT = Aws::Utils::DateTime>
89 void SetCreatedDateTime(CreatedDateTimeT&& value) { m_createdDateTimeHasBeenSet =
true; m_createdDateTime = std::forward<CreatedDateTimeT>(value); }
90 template<
typename CreatedDateTimeT = Aws::Utils::DateTime>
106 bool m_directoryIdHasBeenSet =
false;
109 bool m_topicNameHasBeenSet =
false;
112 bool m_topicArnHasBeenSet =
false;
115 bool m_createdDateTimeHasBeenSet =
false;
118 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