/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The summary information for the data catalog, which includes its name and
* type.See Also:
AWS
* API Reference
The name of the data catalog. The catalog name is unique for the Amazon Web * Services account and can use a maximum of 127 alphanumeric, underscore, at sign, * or hyphen characters. The remainder of the length constraint of 256 is reserved * for use by Athena.
*/ inline const Aws::String& GetCatalogName() const{ return m_catalogName; } /** *The name of the data catalog. The catalog name is unique for the Amazon Web * Services account and can use a maximum of 127 alphanumeric, underscore, at sign, * or hyphen characters. The remainder of the length constraint of 256 is reserved * for use by Athena.
*/ inline bool CatalogNameHasBeenSet() const { return m_catalogNameHasBeenSet; } /** *The name of the data catalog. The catalog name is unique for the Amazon Web * Services account and can use a maximum of 127 alphanumeric, underscore, at sign, * or hyphen characters. The remainder of the length constraint of 256 is reserved * for use by Athena.
*/ inline void SetCatalogName(const Aws::String& value) { m_catalogNameHasBeenSet = true; m_catalogName = value; } /** *The name of the data catalog. The catalog name is unique for the Amazon Web * Services account and can use a maximum of 127 alphanumeric, underscore, at sign, * or hyphen characters. The remainder of the length constraint of 256 is reserved * for use by Athena.
*/ inline void SetCatalogName(Aws::String&& value) { m_catalogNameHasBeenSet = true; m_catalogName = std::move(value); } /** *The name of the data catalog. The catalog name is unique for the Amazon Web * Services account and can use a maximum of 127 alphanumeric, underscore, at sign, * or hyphen characters. The remainder of the length constraint of 256 is reserved * for use by Athena.
*/ inline void SetCatalogName(const char* value) { m_catalogNameHasBeenSet = true; m_catalogName.assign(value); } /** *The name of the data catalog. The catalog name is unique for the Amazon Web * Services account and can use a maximum of 127 alphanumeric, underscore, at sign, * or hyphen characters. The remainder of the length constraint of 256 is reserved * for use by Athena.
*/ inline DataCatalogSummary& WithCatalogName(const Aws::String& value) { SetCatalogName(value); return *this;} /** *The name of the data catalog. The catalog name is unique for the Amazon Web * Services account and can use a maximum of 127 alphanumeric, underscore, at sign, * or hyphen characters. The remainder of the length constraint of 256 is reserved * for use by Athena.
*/ inline DataCatalogSummary& WithCatalogName(Aws::String&& value) { SetCatalogName(std::move(value)); return *this;} /** *The name of the data catalog. The catalog name is unique for the Amazon Web * Services account and can use a maximum of 127 alphanumeric, underscore, at sign, * or hyphen characters. The remainder of the length constraint of 256 is reserved * for use by Athena.
*/ inline DataCatalogSummary& WithCatalogName(const char* value) { SetCatalogName(value); return *this;} /** *The data catalog type.
*/ inline const DataCatalogType& GetType() const{ return m_type; } /** *The data catalog type.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The data catalog type.
*/ inline void SetType(const DataCatalogType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The data catalog type.
*/ inline void SetType(DataCatalogType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The data catalog type.
*/ inline DataCatalogSummary& WithType(const DataCatalogType& value) { SetType(value); return *this;} /** *The data catalog type.
*/ inline DataCatalogSummary& WithType(DataCatalogType&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_catalogName; bool m_catalogNameHasBeenSet = false; DataCatalogType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace Athena } // namespace Aws