7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace OpenSearchService
53 template<
typename CloudWatchLogsLogGroupArnT = Aws::String>
54 void SetCloudWatchLogsLogGroupArn(CloudWatchLogsLogGroupArnT&& value) { m_cloudWatchLogsLogGroupArnHasBeenSet =
true; m_cloudWatchLogsLogGroupArn = std::forward<CloudWatchLogsLogGroupArnT>(value); }
55 template<
typename CloudWatchLogsLogGroupArnT = Aws::String>
65 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
71 bool m_cloudWatchLogsLogGroupArnHasBeenSet =
false;
73 bool m_enabled{
false};
74 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(CloudWatchLogsLogGroupArnT &&value)
LogPublishingOption & WithEnabled(bool value)
bool CloudWatchLogsLogGroupArnHasBeenSet() const
const Aws::String & GetCloudWatchLogsLogGroupArn() const
void SetEnabled(bool value)
bool EnabledHasBeenSet() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API LogPublishingOption()=default
void SetCloudWatchLogsLogGroupArn(CloudWatchLogsLogGroupArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue