/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/InputLambdaProcessorUpdate.h>

#include <utility>

namespace Aws {
namespace Utils {
namespace Json {
class JsonValue;
class JsonView;
}  // namespace Json
}  // namespace Utils
namespace KinesisAnalyticsV2 {
namespace Model {

/**
 * <p>For a SQL-based Kinesis Data Analytics application, describes updates to an
 * <a>InputProcessingConfiguration</a>.</p><p><h3>See Also:</h3>   <a
 * href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/InputProcessingConfigurationUpdate">AWS
 * API Reference</a></p>
 */
class InputProcessingConfigurationUpdate {
 public:
  AWS_KINESISANALYTICSV2_API InputProcessingConfigurationUpdate() = default;
  AWS_KINESISANALYTICSV2_API InputProcessingConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue);
  AWS_KINESISANALYTICSV2_API InputProcessingConfigurationUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
  AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;

  ///@{
  /**
   * <p>Provides update information for an <a>InputLambdaProcessor</a>.</p>
   */
  inline const InputLambdaProcessorUpdate& GetInputLambdaProcessorUpdate() const { return m_inputLambdaProcessorUpdate; }
  inline bool InputLambdaProcessorUpdateHasBeenSet() const { return m_inputLambdaProcessorUpdateHasBeenSet; }
  template <typename InputLambdaProcessorUpdateT = InputLambdaProcessorUpdate>
  void SetInputLambdaProcessorUpdate(InputLambdaProcessorUpdateT&& value) {
    m_inputLambdaProcessorUpdateHasBeenSet = true;
    m_inputLambdaProcessorUpdate = std::forward<InputLambdaProcessorUpdateT>(value);
  }
  template <typename InputLambdaProcessorUpdateT = InputLambdaProcessorUpdate>
  InputProcessingConfigurationUpdate& WithInputLambdaProcessorUpdate(InputLambdaProcessorUpdateT&& value) {
    SetInputLambdaProcessorUpdate(std::forward<InputLambdaProcessorUpdateT>(value));
    return *this;
  }
  ///@}
 private:
  InputLambdaProcessorUpdate m_inputLambdaProcessorUpdate;
  bool m_inputLambdaProcessorUpdateHasBeenSet = false;
};

}  // namespace Model
}  // namespace KinesisAnalyticsV2
}  // namespace Aws
