/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace KinesisAnalytics { namespace Model { /** *

See Also:

AWS * API Reference

*/ class StartApplicationRequest : public KinesisAnalyticsRequest { public: AWS_KINESISANALYTICS_API StartApplicationRequest(); // 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 "StartApplication"; } AWS_KINESISANALYTICS_API Aws::String SerializePayload() const override; AWS_KINESISANALYTICS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Name of the application.

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

Name of the application.

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

Name of the application.

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

Name of the application.

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

Name of the application.

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

Name of the application.

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

Name of the application.

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

Name of the application.

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

Identifies the specific input, by ID, that the application starts consuming. * Amazon Kinesis Analytics starts reading the streaming source associated with the * input. You can also specify where in the streaming source you want Amazon * Kinesis Analytics to start reading.

*/ inline const Aws::Vector& GetInputConfigurations() const{ return m_inputConfigurations; } /** *

Identifies the specific input, by ID, that the application starts consuming. * Amazon Kinesis Analytics starts reading the streaming source associated with the * input. You can also specify where in the streaming source you want Amazon * Kinesis Analytics to start reading.

*/ inline bool InputConfigurationsHasBeenSet() const { return m_inputConfigurationsHasBeenSet; } /** *

Identifies the specific input, by ID, that the application starts consuming. * Amazon Kinesis Analytics starts reading the streaming source associated with the * input. You can also specify where in the streaming source you want Amazon * Kinesis Analytics to start reading.

*/ inline void SetInputConfigurations(const Aws::Vector& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations = value; } /** *

Identifies the specific input, by ID, that the application starts consuming. * Amazon Kinesis Analytics starts reading the streaming source associated with the * input. You can also specify where in the streaming source you want Amazon * Kinesis Analytics to start reading.

*/ inline void SetInputConfigurations(Aws::Vector&& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations = std::move(value); } /** *

Identifies the specific input, by ID, that the application starts consuming. * Amazon Kinesis Analytics starts reading the streaming source associated with the * input. You can also specify where in the streaming source you want Amazon * Kinesis Analytics to start reading.

*/ inline StartApplicationRequest& WithInputConfigurations(const Aws::Vector& value) { SetInputConfigurations(value); return *this;} /** *

Identifies the specific input, by ID, that the application starts consuming. * Amazon Kinesis Analytics starts reading the streaming source associated with the * input. You can also specify where in the streaming source you want Amazon * Kinesis Analytics to start reading.

*/ inline StartApplicationRequest& WithInputConfigurations(Aws::Vector&& value) { SetInputConfigurations(std::move(value)); return *this;} /** *

Identifies the specific input, by ID, that the application starts consuming. * Amazon Kinesis Analytics starts reading the streaming source associated with the * input. You can also specify where in the streaming source you want Amazon * Kinesis Analytics to start reading.

*/ inline StartApplicationRequest& AddInputConfigurations(const InputConfiguration& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations.push_back(value); return *this; } /** *

Identifies the specific input, by ID, that the application starts consuming. * Amazon Kinesis Analytics starts reading the streaming source associated with the * input. You can also specify where in the streaming source you want Amazon * Kinesis Analytics to start reading.

*/ inline StartApplicationRequest& AddInputConfigurations(InputConfiguration&& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations.push_back(std::move(value)); return *this; } private: Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; Aws::Vector m_inputConfigurations; bool m_inputConfigurationsHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalytics } // namespace Aws