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

Describes the starting parameters for a SQL-based Kinesis Data Analytics * application.

See Also:

AWS * API Reference

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

The input source ID. You can get this ID by calling the * DescribeApplication operation.

*/ inline const Aws::String& GetInputId() const{ return m_inputId; } /** *

The input source ID. You can get this ID by calling the * DescribeApplication operation.

*/ inline bool InputIdHasBeenSet() const { return m_inputIdHasBeenSet; } /** *

The input source ID. You can get this ID by calling the * DescribeApplication operation.

*/ inline void SetInputId(const Aws::String& value) { m_inputIdHasBeenSet = true; m_inputId = value; } /** *

The input source ID. You can get this ID by calling the * DescribeApplication operation.

*/ inline void SetInputId(Aws::String&& value) { m_inputIdHasBeenSet = true; m_inputId = std::move(value); } /** *

The input source ID. You can get this ID by calling the * DescribeApplication operation.

*/ inline void SetInputId(const char* value) { m_inputIdHasBeenSet = true; m_inputId.assign(value); } /** *

The input source ID. You can get this ID by calling the * DescribeApplication operation.

*/ inline SqlRunConfiguration& WithInputId(const Aws::String& value) { SetInputId(value); return *this;} /** *

The input source ID. You can get this ID by calling the * DescribeApplication operation.

*/ inline SqlRunConfiguration& WithInputId(Aws::String&& value) { SetInputId(std::move(value)); return *this;} /** *

The input source ID. You can get this ID by calling the * DescribeApplication operation.

*/ inline SqlRunConfiguration& WithInputId(const char* value) { SetInputId(value); return *this;} /** *

The point at which you want the application to start processing records from * the streaming source.

*/ inline const InputStartingPositionConfiguration& GetInputStartingPositionConfiguration() const{ return m_inputStartingPositionConfiguration; } /** *

The point at which you want the application to start processing records from * the streaming source.

*/ inline bool InputStartingPositionConfigurationHasBeenSet() const { return m_inputStartingPositionConfigurationHasBeenSet; } /** *

The point at which you want the application to start processing records from * the streaming source.

*/ inline void SetInputStartingPositionConfiguration(const InputStartingPositionConfiguration& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = value; } /** *

The point at which you want the application to start processing records from * the streaming source.

*/ inline void SetInputStartingPositionConfiguration(InputStartingPositionConfiguration&& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = std::move(value); } /** *

The point at which you want the application to start processing records from * the streaming source.

*/ inline SqlRunConfiguration& WithInputStartingPositionConfiguration(const InputStartingPositionConfiguration& value) { SetInputStartingPositionConfiguration(value); return *this;} /** *

The point at which you want the application to start processing records from * the streaming source.

*/ inline SqlRunConfiguration& WithInputStartingPositionConfiguration(InputStartingPositionConfiguration&& value) { SetInputStartingPositionConfiguration(std::move(value)); return *this;} private: Aws::String m_inputId; bool m_inputIdHasBeenSet = false; InputStartingPositionConfiguration m_inputStartingPositionConfiguration; bool m_inputStartingPositionConfigurationHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws