7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ElasticsearchService
47 template<
typename CloudWatchLogsLogGroupArnT = Aws::String>
48 void SetCloudWatchLogsLogGroupArn(CloudWatchLogsLogGroupArnT&& value) { m_cloudWatchLogsLogGroupArnHasBeenSet =
true; m_cloudWatchLogsLogGroupArn = std::forward<CloudWatchLogsLogGroupArnT>(value); }
49 template<
typename CloudWatchLogsLogGroupArnT = Aws::String>
59 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
65 bool m_cloudWatchLogsLogGroupArnHasBeenSet =
false;
67 bool m_enabled{
false};
68 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