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

See Also:

AWS * API Reference

*/ class AddApplicationInputRequest : public KinesisAnalyticsRequest { public: AWS_KINESISANALYTICS_API AddApplicationInputRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "AddApplicationInput"; } AWS_KINESISANALYTICS_API Aws::String SerializePayload() const override; AWS_KINESISANALYTICS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Name of your existing Amazon Kinesis Analytics application to which you want * to add the streaming source.

*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *

Name of your existing Amazon Kinesis Analytics application to which you want * to add the streaming source.

*/ inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *

Name of your existing Amazon Kinesis Analytics application to which you want * to add the streaming source.

*/ inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; } /** *

Name of your existing Amazon Kinesis Analytics application to which you want * to add the streaming source.

*/ inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); } /** *

Name of your existing Amazon Kinesis Analytics application to which you want * to add the streaming source.

*/ inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); } /** *

Name of your existing Amazon Kinesis Analytics application to which you want * to add the streaming source.

*/ inline AddApplicationInputRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *

Name of your existing Amazon Kinesis Analytics application to which you want * to add the streaming source.

*/ inline AddApplicationInputRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *

Name of your existing Amazon Kinesis Analytics application to which you want * to add the streaming source.

*/ inline AddApplicationInputRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *

Current version of your Amazon Kinesis Analytics application. You can use the * DescribeApplication * operation to find the current application version.

*/ inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; } /** *

Current version of your Amazon Kinesis Analytics application. You can use the * DescribeApplication * operation to find the current application version.

*/ inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; } /** *

Current version of your Amazon Kinesis Analytics application. You can use the * DescribeApplication * operation to find the current application version.

*/ inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; } /** *

Current version of your Amazon Kinesis Analytics application. You can use the * DescribeApplication * operation to find the current application version.

*/ inline AddApplicationInputRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;} /** *

The Input * to add.

*/ inline const Input& GetInput() const{ return m_input; } /** *

The Input * to add.

*/ inline bool InputHasBeenSet() const { return m_inputHasBeenSet; } /** *

The Input * to add.

*/ inline void SetInput(const Input& value) { m_inputHasBeenSet = true; m_input = value; } /** *

The Input * to add.

*/ inline void SetInput(Input&& value) { m_inputHasBeenSet = true; m_input = std::move(value); } /** *

The Input * to add.

*/ inline AddApplicationInputRequest& WithInput(const Input& value) { SetInput(value); return *this;} /** *

The Input * to add.

*/ inline AddApplicationInputRequest& WithInput(Input&& value) { SetInput(std::move(value)); return *this;} private: Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; long long m_currentApplicationVersionId; bool m_currentApplicationVersionIdHasBeenSet = false; Input m_input; bool m_inputHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalytics } // namespace Aws