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

Destination details to write data for a target data source. Current supported * data source is Timestream.

See Also:

AWS * API Reference

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

Query result destination details for Timestream data source.

*/ inline const TimestreamDestination& GetTimestreamDestination() const{ return m_timestreamDestination; } /** *

Query result destination details for Timestream data source.

*/ inline bool TimestreamDestinationHasBeenSet() const { return m_timestreamDestinationHasBeenSet; } /** *

Query result destination details for Timestream data source.

*/ inline void SetTimestreamDestination(const TimestreamDestination& value) { m_timestreamDestinationHasBeenSet = true; m_timestreamDestination = value; } /** *

Query result destination details for Timestream data source.

*/ inline void SetTimestreamDestination(TimestreamDestination&& value) { m_timestreamDestinationHasBeenSet = true; m_timestreamDestination = std::move(value); } /** *

Query result destination details for Timestream data source.

*/ inline TargetDestination& WithTimestreamDestination(const TimestreamDestination& value) { SetTimestreamDestination(value); return *this;} /** *

Query result destination details for Timestream data source.

*/ inline TargetDestination& WithTimestreamDestination(TimestreamDestination&& value) { SetTimestreamDestination(std::move(value)); return *this;} private: TimestreamDestination m_timestreamDestination; bool m_timestreamDestinationHasBeenSet = false; }; } // namespace Model } // namespace TimestreamQuery } // namespace Aws