/** * 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 KinesisAnalyticsV2 { namespace Model { /** */ class AddApplicationInputRequest : public KinesisAnalyticsV2Request { public: AWS_KINESISANALYTICSV2_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_KINESISANALYTICSV2_API Aws::String SerializePayload() const override; AWS_KINESISANALYTICSV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of your existing application to which you want to add the streaming * source.

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

The name of your existing application to which you want to add the streaming * source.

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

The name of your existing application to which you want to add the streaming * source.

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

The name of your existing application to which you want to add the streaming * source.

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

The name of your existing application to which you want to add the streaming * source.

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

The name of your existing application to which you want to add the streaming * source.

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

The name of your existing application to which you want to add the streaming * source.

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

The name of your existing application to which you want to add the streaming * source.

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

The current version of your application. You must provide the * ApplicationVersionID or the ConditionalToken.You can * use the DescribeApplication operation to find the current application * version.

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

The current version of your application. You must provide the * ApplicationVersionID or the ConditionalToken.You can * use the DescribeApplication operation to find the current application * version.

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

The current version of your application. You must provide the * ApplicationVersionID or the ConditionalToken.You can * use the DescribeApplication operation to find the current application * version.

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

The current version of your application. You must provide the * ApplicationVersionID or the ConditionalToken.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 KinesisAnalyticsV2 } // namespace Aws