/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies Lake Formation configuration settings for the
* crawler.See Also:
AWS
* API Reference
Specifies whether to use Lake Formation credentials for the crawler instead * of the IAM role credentials.
*/ inline bool GetUseLakeFormationCredentials() const{ return m_useLakeFormationCredentials; } /** *Specifies whether to use Lake Formation credentials for the crawler instead * of the IAM role credentials.
*/ inline bool UseLakeFormationCredentialsHasBeenSet() const { return m_useLakeFormationCredentialsHasBeenSet; } /** *Specifies whether to use Lake Formation credentials for the crawler instead * of the IAM role credentials.
*/ inline void SetUseLakeFormationCredentials(bool value) { m_useLakeFormationCredentialsHasBeenSet = true; m_useLakeFormationCredentials = value; } /** *Specifies whether to use Lake Formation credentials for the crawler instead * of the IAM role credentials.
*/ inline LakeFormationConfiguration& WithUseLakeFormationCredentials(bool value) { SetUseLakeFormationCredentials(value); return *this;} /** *Required for cross account crawls. For same account crawls as the target * data, this can be left as null.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *Required for cross account crawls. For same account crawls as the target * data, this can be left as null.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *Required for cross account crawls. For same account crawls as the target * data, this can be left as null.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *Required for cross account crawls. For same account crawls as the target * data, this can be left as null.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *Required for cross account crawls. For same account crawls as the target * data, this can be left as null.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *Required for cross account crawls. For same account crawls as the target * data, this can be left as null.
*/ inline LakeFormationConfiguration& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *Required for cross account crawls. For same account crawls as the target * data, this can be left as null.
*/ inline LakeFormationConfiguration& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *Required for cross account crawls. For same account crawls as the target * data, this can be left as null.
*/ inline LakeFormationConfiguration& WithAccountId(const char* value) { SetAccountId(value); return *this;} private: bool m_useLakeFormationCredentials; bool m_useLakeFormationCredentialsHasBeenSet = false; Aws::String m_accountId; bool m_accountIdHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws