/** * 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 KinesisAnalytics { namespace Model { /** *

When you start your application, you provide this configuration, which * identifies the input source and the point in the input source at which you want * the application to start processing records.

See Also:

AWS * API Reference

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

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

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

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

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

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

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

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

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

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

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

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

*/ inline InputConfiguration& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

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

*/ inline InputConfiguration& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

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

*/ inline InputConfiguration& WithId(const char* value) { SetId(value); return *this;} /** *

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

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

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

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

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; } /** *

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); } /** *

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

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

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

*/ inline InputConfiguration& WithInputStartingPositionConfiguration(InputStartingPositionConfiguration&& value) { SetInputStartingPositionConfiguration(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; InputStartingPositionConfiguration m_inputStartingPositionConfiguration; bool m_inputStartingPositionConfigurationHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalytics } // namespace Aws