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

The attributes of a third-party custom source.

See Also:

AWS * API Reference

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

The ARN of the Glue crawler.

*/ inline const Aws::String& GetCrawlerArn() const{ return m_crawlerArn; } /** *

The ARN of the Glue crawler.

*/ inline bool CrawlerArnHasBeenSet() const { return m_crawlerArnHasBeenSet; } /** *

The ARN of the Glue crawler.

*/ inline void SetCrawlerArn(const Aws::String& value) { m_crawlerArnHasBeenSet = true; m_crawlerArn = value; } /** *

The ARN of the Glue crawler.

*/ inline void SetCrawlerArn(Aws::String&& value) { m_crawlerArnHasBeenSet = true; m_crawlerArn = std::move(value); } /** *

The ARN of the Glue crawler.

*/ inline void SetCrawlerArn(const char* value) { m_crawlerArnHasBeenSet = true; m_crawlerArn.assign(value); } /** *

The ARN of the Glue crawler.

*/ inline CustomLogSourceAttributes& WithCrawlerArn(const Aws::String& value) { SetCrawlerArn(value); return *this;} /** *

The ARN of the Glue crawler.

*/ inline CustomLogSourceAttributes& WithCrawlerArn(Aws::String&& value) { SetCrawlerArn(std::move(value)); return *this;} /** *

The ARN of the Glue crawler.

*/ inline CustomLogSourceAttributes& WithCrawlerArn(const char* value) { SetCrawlerArn(value); return *this;} /** *

The ARN of the Glue database where results are written, such as: * arn:aws:daylight:us-east-1::database/sometable/ *.

*/ inline const Aws::String& GetDatabaseArn() const{ return m_databaseArn; } /** *

The ARN of the Glue database where results are written, such as: * arn:aws:daylight:us-east-1::database/sometable/ *.

*/ inline bool DatabaseArnHasBeenSet() const { return m_databaseArnHasBeenSet; } /** *

The ARN of the Glue database where results are written, such as: * arn:aws:daylight:us-east-1::database/sometable/ *.

*/ inline void SetDatabaseArn(const Aws::String& value) { m_databaseArnHasBeenSet = true; m_databaseArn = value; } /** *

The ARN of the Glue database where results are written, such as: * arn:aws:daylight:us-east-1::database/sometable/ *.

*/ inline void SetDatabaseArn(Aws::String&& value) { m_databaseArnHasBeenSet = true; m_databaseArn = std::move(value); } /** *

The ARN of the Glue database where results are written, such as: * arn:aws:daylight:us-east-1::database/sometable/ *.

*/ inline void SetDatabaseArn(const char* value) { m_databaseArnHasBeenSet = true; m_databaseArn.assign(value); } /** *

The ARN of the Glue database where results are written, such as: * arn:aws:daylight:us-east-1::database/sometable/ *.

*/ inline CustomLogSourceAttributes& WithDatabaseArn(const Aws::String& value) { SetDatabaseArn(value); return *this;} /** *

The ARN of the Glue database where results are written, such as: * arn:aws:daylight:us-east-1::database/sometable/ *.

*/ inline CustomLogSourceAttributes& WithDatabaseArn(Aws::String&& value) { SetDatabaseArn(std::move(value)); return *this;} /** *

The ARN of the Glue database where results are written, such as: * arn:aws:daylight:us-east-1::database/sometable/ *.

*/ inline CustomLogSourceAttributes& WithDatabaseArn(const char* value) { SetDatabaseArn(value); return *this;} /** *

The ARN of the Glue table.

*/ inline const Aws::String& GetTableArn() const{ return m_tableArn; } /** *

The ARN of the Glue table.

*/ inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; } /** *

The ARN of the Glue table.

*/ inline void SetTableArn(const Aws::String& value) { m_tableArnHasBeenSet = true; m_tableArn = value; } /** *

The ARN of the Glue table.

*/ inline void SetTableArn(Aws::String&& value) { m_tableArnHasBeenSet = true; m_tableArn = std::move(value); } /** *

The ARN of the Glue table.

*/ inline void SetTableArn(const char* value) { m_tableArnHasBeenSet = true; m_tableArn.assign(value); } /** *

The ARN of the Glue table.

*/ inline CustomLogSourceAttributes& WithTableArn(const Aws::String& value) { SetTableArn(value); return *this;} /** *

The ARN of the Glue table.

*/ inline CustomLogSourceAttributes& WithTableArn(Aws::String&& value) { SetTableArn(std::move(value)); return *this;} /** *

The ARN of the Glue table.

*/ inline CustomLogSourceAttributes& WithTableArn(const char* value) { SetTableArn(value); return *this;} private: Aws::String m_crawlerArn; bool m_crawlerArnHasBeenSet = false; Aws::String m_databaseArn; bool m_databaseArnHasBeenSet = false; Aws::String m_tableArn; bool m_tableArnHasBeenSet = false; }; } // namespace Model } // namespace SecurityLake } // namespace Aws