/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines a mapping.See Also:
AWS
* API Reference
The name of the source table.
*/ inline const Aws::String& GetSourceTable() const{ return m_sourceTable; } /** *The name of the source table.
*/ inline bool SourceTableHasBeenSet() const { return m_sourceTableHasBeenSet; } /** *The name of the source table.
*/ inline void SetSourceTable(const Aws::String& value) { m_sourceTableHasBeenSet = true; m_sourceTable = value; } /** *The name of the source table.
*/ inline void SetSourceTable(Aws::String&& value) { m_sourceTableHasBeenSet = true; m_sourceTable = std::move(value); } /** *The name of the source table.
*/ inline void SetSourceTable(const char* value) { m_sourceTableHasBeenSet = true; m_sourceTable.assign(value); } /** *The name of the source table.
*/ inline MappingEntry& WithSourceTable(const Aws::String& value) { SetSourceTable(value); return *this;} /** *The name of the source table.
*/ inline MappingEntry& WithSourceTable(Aws::String&& value) { SetSourceTable(std::move(value)); return *this;} /** *The name of the source table.
*/ inline MappingEntry& WithSourceTable(const char* value) { SetSourceTable(value); return *this;} /** *The source path.
*/ inline const Aws::String& GetSourcePath() const{ return m_sourcePath; } /** *The source path.
*/ inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; } /** *The source path.
*/ inline void SetSourcePath(const Aws::String& value) { m_sourcePathHasBeenSet = true; m_sourcePath = value; } /** *The source path.
*/ inline void SetSourcePath(Aws::String&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::move(value); } /** *The source path.
*/ inline void SetSourcePath(const char* value) { m_sourcePathHasBeenSet = true; m_sourcePath.assign(value); } /** *The source path.
*/ inline MappingEntry& WithSourcePath(const Aws::String& value) { SetSourcePath(value); return *this;} /** *The source path.
*/ inline MappingEntry& WithSourcePath(Aws::String&& value) { SetSourcePath(std::move(value)); return *this;} /** *The source path.
*/ inline MappingEntry& WithSourcePath(const char* value) { SetSourcePath(value); return *this;} /** *The source type.
*/ inline const Aws::String& GetSourceType() const{ return m_sourceType; } /** *The source type.
*/ inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; } /** *The source type.
*/ inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; } /** *The source type.
*/ inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); } /** *The source type.
*/ inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); } /** *The source type.
*/ inline MappingEntry& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;} /** *The source type.
*/ inline MappingEntry& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;} /** *The source type.
*/ inline MappingEntry& WithSourceType(const char* value) { SetSourceType(value); return *this;} /** *The target table.
*/ inline const Aws::String& GetTargetTable() const{ return m_targetTable; } /** *The target table.
*/ inline bool TargetTableHasBeenSet() const { return m_targetTableHasBeenSet; } /** *The target table.
*/ inline void SetTargetTable(const Aws::String& value) { m_targetTableHasBeenSet = true; m_targetTable = value; } /** *The target table.
*/ inline void SetTargetTable(Aws::String&& value) { m_targetTableHasBeenSet = true; m_targetTable = std::move(value); } /** *The target table.
*/ inline void SetTargetTable(const char* value) { m_targetTableHasBeenSet = true; m_targetTable.assign(value); } /** *The target table.
*/ inline MappingEntry& WithTargetTable(const Aws::String& value) { SetTargetTable(value); return *this;} /** *The target table.
*/ inline MappingEntry& WithTargetTable(Aws::String&& value) { SetTargetTable(std::move(value)); return *this;} /** *The target table.
*/ inline MappingEntry& WithTargetTable(const char* value) { SetTargetTable(value); return *this;} /** *The target path.
*/ inline const Aws::String& GetTargetPath() const{ return m_targetPath; } /** *The target path.
*/ inline bool TargetPathHasBeenSet() const { return m_targetPathHasBeenSet; } /** *The target path.
*/ inline void SetTargetPath(const Aws::String& value) { m_targetPathHasBeenSet = true; m_targetPath = value; } /** *The target path.
*/ inline void SetTargetPath(Aws::String&& value) { m_targetPathHasBeenSet = true; m_targetPath = std::move(value); } /** *The target path.
*/ inline void SetTargetPath(const char* value) { m_targetPathHasBeenSet = true; m_targetPath.assign(value); } /** *The target path.
*/ inline MappingEntry& WithTargetPath(const Aws::String& value) { SetTargetPath(value); return *this;} /** *The target path.
*/ inline MappingEntry& WithTargetPath(Aws::String&& value) { SetTargetPath(std::move(value)); return *this;} /** *The target path.
*/ inline MappingEntry& WithTargetPath(const char* value) { SetTargetPath(value); return *this;} /** *The target type.
*/ inline const Aws::String& GetTargetType() const{ return m_targetType; } /** *The target type.
*/ inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; } /** *The target type.
*/ inline void SetTargetType(const Aws::String& value) { m_targetTypeHasBeenSet = true; m_targetType = value; } /** *The target type.
*/ inline void SetTargetType(Aws::String&& value) { m_targetTypeHasBeenSet = true; m_targetType = std::move(value); } /** *The target type.
*/ inline void SetTargetType(const char* value) { m_targetTypeHasBeenSet = true; m_targetType.assign(value); } /** *The target type.
*/ inline MappingEntry& WithTargetType(const Aws::String& value) { SetTargetType(value); return *this;} /** *The target type.
*/ inline MappingEntry& WithTargetType(Aws::String&& value) { SetTargetType(std::move(value)); return *this;} /** *The target type.
*/ inline MappingEntry& WithTargetType(const char* value) { SetTargetType(value); return *this;} private: Aws::String m_sourceTable; bool m_sourceTableHasBeenSet = false; Aws::String m_sourcePath; bool m_sourcePathHasBeenSet = false; Aws::String m_sourceType; bool m_sourceTypeHasBeenSet = false; Aws::String m_targetTable; bool m_targetTableHasBeenSet = false; Aws::String m_targetPath; bool m_targetPathHasBeenSet = false; Aws::String m_targetType; bool m_targetTypeHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws