/** * 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 configuration for the Glue Crawler for the third-party custom * source.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) * role to be used by the Glue crawler. The recommended IAM policies are:

    *
  • The managed policy AWSGlueServiceRole

  • A * custom policy granting access to your Amazon S3 Data Lake

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) * role to be used by the Glue crawler. The recommended IAM policies are:

    *
  • The managed policy AWSGlueServiceRole

  • A * custom policy granting access to your Amazon S3 Data Lake

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) * role to be used by the Glue crawler. The recommended IAM policies are:

    *
  • The managed policy AWSGlueServiceRole

  • A * custom policy granting access to your Amazon S3 Data Lake

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) * role to be used by the Glue crawler. The recommended IAM policies are:

    *
  • The managed policy AWSGlueServiceRole

  • A * custom policy granting access to your Amazon S3 Data Lake

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) * role to be used by the Glue crawler. The recommended IAM policies are:

    *
  • The managed policy AWSGlueServiceRole

  • A * custom policy granting access to your Amazon S3 Data Lake

*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) * role to be used by the Glue crawler. The recommended IAM policies are:

    *
  • The managed policy AWSGlueServiceRole

  • A * custom policy granting access to your Amazon S3 Data Lake

*/ inline CustomLogSourceCrawlerConfiguration& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) * role to be used by the Glue crawler. The recommended IAM policies are:

    *
  • The managed policy AWSGlueServiceRole

  • A * custom policy granting access to your Amazon S3 Data Lake

*/ inline CustomLogSourceCrawlerConfiguration& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) * role to be used by the Glue crawler. The recommended IAM policies are:

    *
  • The managed policy AWSGlueServiceRole

  • A * custom policy granting access to your Amazon S3 Data Lake

*/ inline CustomLogSourceCrawlerConfiguration& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; }; } // namespace Model } // namespace SecurityLake } // namespace Aws