7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ds/DirectoryService_EXPORTS.h>
20namespace DirectoryService {
43 template <
typename DirectoryIdT = Aws::String>
45 m_directoryIdHasBeenSet =
true;
46 m_directoryId = std::forward<DirectoryIdT>(value);
48 template <
typename DirectoryIdT = Aws::String>
61 template <
typename LogGroupNameT = Aws::String>
63 m_logGroupNameHasBeenSet =
true;
64 m_logGroupName = std::forward<LogGroupNameT>(value);
66 template <
typename LogGroupNameT = Aws::String>
79 template <
typename SubscriptionCreatedDateTimeT = Aws::Utils::DateTime>
81 m_subscriptionCreatedDateTimeHasBeenSet =
true;
82 m_subscriptionCreatedDateTime = std::forward<SubscriptionCreatedDateTimeT>(value);
84 template <
typename SubscriptionCreatedDateTimeT = Aws::Utils::DateTime>
96 bool m_directoryIdHasBeenSet =
false;
97 bool m_logGroupNameHasBeenSet =
false;
98 bool m_subscriptionCreatedDateTimeHasBeenSet =
false;
const Aws::String & GetDirectoryId() const
void SetSubscriptionCreatedDateTime(SubscriptionCreatedDateTimeT &&value)
LogSubscription & WithLogGroupName(LogGroupNameT &&value)
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLogGroupName(LogGroupNameT &&value)
AWS_DIRECTORYSERVICE_API LogSubscription & operator=(Aws::Utils::Json::JsonView jsonValue)
LogSubscription & WithDirectoryId(DirectoryIdT &&value)
AWS_DIRECTORYSERVICE_API LogSubscription(Aws::Utils::Json::JsonView jsonValue)
bool DirectoryIdHasBeenSet() const
bool SubscriptionCreatedDateTimeHasBeenSet() const
bool LogGroupNameHasBeenSet() const
const Aws::Utils::DateTime & GetSubscriptionCreatedDateTime() const
AWS_DIRECTORYSERVICE_API LogSubscription()=default
const Aws::String & GetLogGroupName() const
LogSubscription & WithSubscriptionCreatedDateTime(SubscriptionCreatedDateTimeT &&value)
void SetDirectoryId(DirectoryIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue