7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/es/ElasticsearchService_EXPORTS.h>
19namespace ElasticsearchService {
41 template <
typename CloudWatchLogsLogGroupArnT = Aws::String>
43 m_cloudWatchLogsLogGroupArnHasBeenSet =
true;
44 m_cloudWatchLogsLogGroupArn = std::forward<CloudWatchLogsLogGroupArnT>(value);
46 template <
typename CloudWatchLogsLogGroupArnT = Aws::String>
60 m_enabledHasBeenSet =
true;
71 bool m_enabled{
false};
72 bool m_cloudWatchLogsLogGroupArnHasBeenSet =
false;
73 bool m_enabledHasBeenSet =
false;
void SetCloudWatchLogsLogGroupArn(CloudWatchLogsLogGroupArnT &&value)
AWS_ELASTICSEARCHSERVICE_API LogPublishingOption()=default
bool EnabledHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API LogPublishingOption & operator=(Aws::Utils::Json::JsonView jsonValue)
LogPublishingOption & WithCloudWatchLogsLogGroupArn(CloudWatchLogsLogGroupArnT &&value)
AWS_ELASTICSEARCHSERVICE_API LogPublishingOption(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
LogPublishingOption & WithEnabled(bool value)
bool CloudWatchLogsLogGroupArnHasBeenSet() const
const Aws::String & GetCloudWatchLogsLogGroupArn() const
void SetEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue