/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Honeycode { namespace Model { /** *

An object that contains the options relating to the destination of the import * request.

See Also:

AWS * API Reference

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

A map of the column id to the import properties for each column.

*/ inline const Aws::Map& GetColumnMap() const{ return m_columnMap; } /** *

A map of the column id to the import properties for each column.

*/ inline bool ColumnMapHasBeenSet() const { return m_columnMapHasBeenSet; } /** *

A map of the column id to the import properties for each column.

*/ inline void SetColumnMap(const Aws::Map& value) { m_columnMapHasBeenSet = true; m_columnMap = value; } /** *

A map of the column id to the import properties for each column.

*/ inline void SetColumnMap(Aws::Map&& value) { m_columnMapHasBeenSet = true; m_columnMap = std::move(value); } /** *

A map of the column id to the import properties for each column.

*/ inline DestinationOptions& WithColumnMap(const Aws::Map& value) { SetColumnMap(value); return *this;} /** *

A map of the column id to the import properties for each column.

*/ inline DestinationOptions& WithColumnMap(Aws::Map&& value) { SetColumnMap(std::move(value)); return *this;} /** *

A map of the column id to the import properties for each column.

*/ inline DestinationOptions& AddColumnMap(const Aws::String& key, const SourceDataColumnProperties& value) { m_columnMapHasBeenSet = true; m_columnMap.emplace(key, value); return *this; } /** *

A map of the column id to the import properties for each column.

*/ inline DestinationOptions& AddColumnMap(Aws::String&& key, const SourceDataColumnProperties& value) { m_columnMapHasBeenSet = true; m_columnMap.emplace(std::move(key), value); return *this; } /** *

A map of the column id to the import properties for each column.

*/ inline DestinationOptions& AddColumnMap(const Aws::String& key, SourceDataColumnProperties&& value) { m_columnMapHasBeenSet = true; m_columnMap.emplace(key, std::move(value)); return *this; } /** *

A map of the column id to the import properties for each column.

*/ inline DestinationOptions& AddColumnMap(Aws::String&& key, SourceDataColumnProperties&& value) { m_columnMapHasBeenSet = true; m_columnMap.emplace(std::move(key), std::move(value)); return *this; } /** *

A map of the column id to the import properties for each column.

*/ inline DestinationOptions& AddColumnMap(const char* key, SourceDataColumnProperties&& value) { m_columnMapHasBeenSet = true; m_columnMap.emplace(key, std::move(value)); return *this; } /** *

A map of the column id to the import properties for each column.

*/ inline DestinationOptions& AddColumnMap(const char* key, const SourceDataColumnProperties& value) { m_columnMapHasBeenSet = true; m_columnMap.emplace(key, value); return *this; } private: Aws::Map m_columnMap; bool m_columnMapHasBeenSet = false; }; } // namespace Model } // namespace Honeycode } // namespace Aws