7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace OpenSearchService
55 inline void SetCloudWatchLogsLogGroupArn(
const char* value) { m_cloudWatchLogsLogGroupArnHasBeenSet =
true; m_cloudWatchLogsLogGroupArn.assign(value); }
67 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
73 bool m_cloudWatchLogsLogGroupArnHasBeenSet =
false;
76 bool m_enabledHasBeenSet =
false;
AWS_OPENSEARCHSERVICE_API LogPublishingOption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API LogPublishingOption(Aws::Utils::Json::JsonView jsonValue)
LogPublishingOption & WithCloudWatchLogsLogGroupArn(Aws::String &&value)
void SetCloudWatchLogsLogGroupArn(const Aws::String &value)
LogPublishingOption & WithEnabled(bool value)
bool CloudWatchLogsLogGroupArnHasBeenSet() const
const Aws::String & GetCloudWatchLogsLogGroupArn() const
void SetEnabled(bool value)
bool EnabledHasBeenSet() const
LogPublishingOption & WithCloudWatchLogsLogGroupArn(const char *value)
void SetCloudWatchLogsLogGroupArn(const char *value)
AWS_OPENSEARCHSERVICE_API LogPublishingOption()
void SetCloudWatchLogsLogGroupArn(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
LogPublishingOption & WithCloudWatchLogsLogGroupArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue