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

#pragma once
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.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, when updating an output
 * configuration using the <a>UpdateApplication</a> operation, provides information
 * about a Kinesis Data Firehose delivery stream that is configured as the
 * destination.</p><p><h3>See Also:</h3>   <a
 * href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/KinesisFirehoseOutputUpdate">AWS
 * API Reference</a></p>
 */
class KinesisFirehoseOutputUpdate {
 public:
  AWS_KINESISANALYTICSV2_API KinesisFirehoseOutputUpdate() = default;
  AWS_KINESISANALYTICSV2_API KinesisFirehoseOutputUpdate(Aws::Utils::Json::JsonView jsonValue);
  AWS_KINESISANALYTICSV2_API KinesisFirehoseOutputUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
  AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;

  ///@{
  /**
   * <p>The Amazon Resource Name (ARN) of the delivery stream to write to. </p>
   */
  inline const Aws::String& GetResourceARNUpdate() const { return m_resourceARNUpdate; }
  inline bool ResourceARNUpdateHasBeenSet() const { return m_resourceARNUpdateHasBeenSet; }
  template <typename ResourceARNUpdateT = Aws::String>
  void SetResourceARNUpdate(ResourceARNUpdateT&& value) {
    m_resourceARNUpdateHasBeenSet = true;
    m_resourceARNUpdate = std::forward<ResourceARNUpdateT>(value);
  }
  template <typename ResourceARNUpdateT = Aws::String>
  KinesisFirehoseOutputUpdate& WithResourceARNUpdate(ResourceARNUpdateT&& value) {
    SetResourceARNUpdate(std::forward<ResourceARNUpdateT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_resourceARNUpdate;
  bool m_resourceARNUpdateHasBeenSet = false;
};

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