/** * 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 { /** *

Configuration used for writing the output of a query.

See * Also:

AWS * API Reference

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

Configuration needed to write data into the Timestream database and * table.

*/ inline const TimestreamConfiguration& GetTimestreamConfiguration() const{ return m_timestreamConfiguration; } /** *

Configuration needed to write data into the Timestream database and * table.

*/ inline bool TimestreamConfigurationHasBeenSet() const { return m_timestreamConfigurationHasBeenSet; } /** *

Configuration needed to write data into the Timestream database and * table.

*/ inline void SetTimestreamConfiguration(const TimestreamConfiguration& value) { m_timestreamConfigurationHasBeenSet = true; m_timestreamConfiguration = value; } /** *

Configuration needed to write data into the Timestream database and * table.

*/ inline void SetTimestreamConfiguration(TimestreamConfiguration&& value) { m_timestreamConfigurationHasBeenSet = true; m_timestreamConfiguration = std::move(value); } /** *

Configuration needed to write data into the Timestream database and * table.

*/ inline TargetConfiguration& WithTimestreamConfiguration(const TimestreamConfiguration& value) { SetTimestreamConfiguration(value); return *this;} /** *

Configuration needed to write data into the Timestream database and * table.

*/ inline TargetConfiguration& WithTimestreamConfiguration(TimestreamConfiguration&& value) { SetTimestreamConfiguration(std::move(value)); return *this;} private: TimestreamConfiguration m_timestreamConfiguration; bool m_timestreamConfigurationHasBeenSet = false; }; } // namespace Model } // namespace TimestreamQuery } // namespace Aws