7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ElasticsearchService
49 inline void SetCloudWatchLogsLogGroupArn(
const char* value) { m_cloudWatchLogsLogGroupArnHasBeenSet =
true; m_cloudWatchLogsLogGroupArn.assign(value); }
61 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
67 bool m_cloudWatchLogsLogGroupArnHasBeenSet =
false;
70 bool m_enabledHasBeenSet =
false;
LogPublishingOption & WithCloudWatchLogsLogGroupArn(Aws::String &&value)
bool EnabledHasBeenSet() const
LogPublishingOption & WithCloudWatchLogsLogGroupArn(const char *value)
AWS_ELASTICSEARCHSERVICE_API LogPublishingOption & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCloudWatchLogsLogGroupArn(Aws::String &&value)
AWS_ELASTICSEARCHSERVICE_API LogPublishingOption(Aws::Utils::Json::JsonView jsonValue)
void SetCloudWatchLogsLogGroupArn(const char *value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
LogPublishingOption & WithEnabled(bool value)
AWS_ELASTICSEARCHSERVICE_API LogPublishingOption()
bool CloudWatchLogsLogGroupArnHasBeenSet() const
void SetCloudWatchLogsLogGroupArn(const Aws::String &value)
LogPublishingOption & WithCloudWatchLogsLogGroupArn(const Aws::String &value)
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