/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>

#include <utility>

namespace Aws {
namespace Utils {
namespace Json {
class JsonValue;
class JsonView;
}  // namespace Json
}  // namespace Utils
namespace KinesisAnalyticsV2 {
namespace Model {

/**
 * <p>The configuration of the Glue Data Catalog that you use for Apache Flink SQL
 * queries and table API transforms that you write in an application.</p><p><h3>See
 * Also:</h3>   <a
 * href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/GlueDataCatalogConfiguration">AWS
 * API Reference</a></p>
 */
class GlueDataCatalogConfiguration {
 public:
  AWS_KINESISANALYTICSV2_API GlueDataCatalogConfiguration() = default;
  AWS_KINESISANALYTICSV2_API GlueDataCatalogConfiguration(Aws::Utils::Json::JsonView jsonValue);
  AWS_KINESISANALYTICSV2_API GlueDataCatalogConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
  AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;

  ///@{
  /**
   * <p>The Amazon Resource Name (ARN) of the database.</p>
   */
  inline const Aws::String& GetDatabaseARN() const { return m_databaseARN; }
  inline bool DatabaseARNHasBeenSet() const { return m_databaseARNHasBeenSet; }
  template <typename DatabaseARNT = Aws::String>
  void SetDatabaseARN(DatabaseARNT&& value) {
    m_databaseARNHasBeenSet = true;
    m_databaseARN = std::forward<DatabaseARNT>(value);
  }
  template <typename DatabaseARNT = Aws::String>
  GlueDataCatalogConfiguration& WithDatabaseARN(DatabaseARNT&& value) {
    SetDatabaseARN(std::forward<DatabaseARNT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_databaseARN;
  bool m_databaseARNHasBeenSet = false;
};

}  // namespace Model
}  // namespace KinesisAnalyticsV2
}  // namespace Aws
