7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
22namespace DirectoryService
49 template<
typename DirectoryIdT = Aws::String>
50 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet =
true; m_directoryId = std::forward<DirectoryIdT>(value); }
51 template<
typename DirectoryIdT = Aws::String>
61 template<
typename LogGroupNameT = Aws::String>
62 void SetLogGroupName(LogGroupNameT&& value) { m_logGroupNameHasBeenSet =
true; m_logGroupName = std::forward<LogGroupNameT>(value); }
63 template<
typename LogGroupNameT = Aws::String>
73 template<
typename SubscriptionCreatedDateTimeT = Aws::Utils::DateTime>
74 void SetSubscriptionCreatedDateTime(SubscriptionCreatedDateTimeT&& value) { m_subscriptionCreatedDateTimeHasBeenSet =
true; m_subscriptionCreatedDateTime = std::forward<SubscriptionCreatedDateTimeT>(value); }
75 template<
typename SubscriptionCreatedDateTimeT = Aws::Utils::DateTime>
81 bool m_directoryIdHasBeenSet =
false;
84 bool m_logGroupNameHasBeenSet =
false;
87 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