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

Name of the Amazon Kinesis Analytics application to update.

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

Name of the Amazon Kinesis Analytics application to update.

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

Name of the Amazon Kinesis Analytics application to update.

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

Name of the Amazon Kinesis Analytics application to update.

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

Name of the Amazon Kinesis Analytics application to update.

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

Name of the Amazon Kinesis Analytics application to update.

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

Name of the Amazon Kinesis Analytics application to update.

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

Name of the Amazon Kinesis Analytics application to update.

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

The current application version ID. You can use the DescribeApplication * operation to get this value.

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

The current application version ID. You can use the DescribeApplication * operation to get this value.

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

The current application version ID. You can use the DescribeApplication * operation to get this value.

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

The current application version ID. You can use the DescribeApplication * operation to get this value.

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

Describes application updates.

*/ inline const ApplicationUpdate& GetApplicationUpdate() const{ return m_applicationUpdate; } /** *

Describes application updates.

*/ inline bool ApplicationUpdateHasBeenSet() const { return m_applicationUpdateHasBeenSet; } /** *

Describes application updates.

*/ inline void SetApplicationUpdate(const ApplicationUpdate& value) { m_applicationUpdateHasBeenSet = true; m_applicationUpdate = value; } /** *

Describes application updates.

*/ inline void SetApplicationUpdate(ApplicationUpdate&& value) { m_applicationUpdateHasBeenSet = true; m_applicationUpdate = std::move(value); } /** *

Describes application updates.

*/ inline UpdateApplicationRequest& WithApplicationUpdate(const ApplicationUpdate& value) { SetApplicationUpdate(value); return *this;} /** *

Describes application updates.

*/ inline UpdateApplicationRequest& WithApplicationUpdate(ApplicationUpdate&& value) { SetApplicationUpdate(std::move(value)); return *this;} private: Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; long long m_currentApplicationVersionId; bool m_currentApplicationVersionIdHasBeenSet = false; ApplicationUpdate m_applicationUpdate; bool m_applicationUpdateHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalytics } // namespace Aws