/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityLake { namespace Model { /** *

The configuration for the third-party custom source.

See Also:

* AWS * API Reference

*/ class CustomLogSourceConfiguration { public: AWS_SECURITYLAKE_API CustomLogSourceConfiguration(); AWS_SECURITYLAKE_API CustomLogSourceConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYLAKE_API CustomLogSourceConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The configuration for the Glue Crawler for the third-party custom source.

*/ inline const CustomLogSourceCrawlerConfiguration& GetCrawlerConfiguration() const{ return m_crawlerConfiguration; } /** *

The configuration for the Glue Crawler for the third-party custom source.

*/ inline bool CrawlerConfigurationHasBeenSet() const { return m_crawlerConfigurationHasBeenSet; } /** *

The configuration for the Glue Crawler for the third-party custom source.

*/ inline void SetCrawlerConfiguration(const CustomLogSourceCrawlerConfiguration& value) { m_crawlerConfigurationHasBeenSet = true; m_crawlerConfiguration = value; } /** *

The configuration for the Glue Crawler for the third-party custom source.

*/ inline void SetCrawlerConfiguration(CustomLogSourceCrawlerConfiguration&& value) { m_crawlerConfigurationHasBeenSet = true; m_crawlerConfiguration = std::move(value); } /** *

The configuration for the Glue Crawler for the third-party custom source.

*/ inline CustomLogSourceConfiguration& WithCrawlerConfiguration(const CustomLogSourceCrawlerConfiguration& value) { SetCrawlerConfiguration(value); return *this;} /** *

The configuration for the Glue Crawler for the third-party custom source.

*/ inline CustomLogSourceConfiguration& WithCrawlerConfiguration(CustomLogSourceCrawlerConfiguration&& value) { SetCrawlerConfiguration(std::move(value)); return *this;} /** *

The identity of the log provider for the third-party custom source.

*/ inline const AwsIdentity& GetProviderIdentity() const{ return m_providerIdentity; } /** *

The identity of the log provider for the third-party custom source.

*/ inline bool ProviderIdentityHasBeenSet() const { return m_providerIdentityHasBeenSet; } /** *

The identity of the log provider for the third-party custom source.

*/ inline void SetProviderIdentity(const AwsIdentity& value) { m_providerIdentityHasBeenSet = true; m_providerIdentity = value; } /** *

The identity of the log provider for the third-party custom source.

*/ inline void SetProviderIdentity(AwsIdentity&& value) { m_providerIdentityHasBeenSet = true; m_providerIdentity = std::move(value); } /** *

The identity of the log provider for the third-party custom source.

*/ inline CustomLogSourceConfiguration& WithProviderIdentity(const AwsIdentity& value) { SetProviderIdentity(value); return *this;} /** *

The identity of the log provider for the third-party custom source.

*/ inline CustomLogSourceConfiguration& WithProviderIdentity(AwsIdentity&& value) { SetProviderIdentity(std::move(value)); return *this;} private: CustomLogSourceCrawlerConfiguration m_crawlerConfiguration; bool m_crawlerConfigurationHasBeenSet = false; AwsIdentity m_providerIdentity; bool m_providerIdentityHasBeenSet = false; }; } // namespace Model } // namespace SecurityLake } // namespace Aws