/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an action that writes data to an Amazon Kinesis Firehose
* stream.See Also:
AWS
* API Reference
The IAM role that grants access to the Amazon Kinesis Firehose stream.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The IAM role that grants access to the Amazon Kinesis Firehose stream.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The IAM role that grants access to the Amazon Kinesis Firehose stream.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The IAM role that grants access to the Amazon Kinesis Firehose stream.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The IAM role that grants access to the Amazon Kinesis Firehose stream.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The IAM role that grants access to the Amazon Kinesis Firehose stream.
*/ inline FirehoseAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The IAM role that grants access to the Amazon Kinesis Firehose stream.
*/ inline FirehoseAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The IAM role that grants access to the Amazon Kinesis Firehose stream.
*/ inline FirehoseAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The delivery stream name.
*/ inline const Aws::String& GetDeliveryStreamName() const{ return m_deliveryStreamName; } /** *The delivery stream name.
*/ inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; } /** *The delivery stream name.
*/ inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; } /** *The delivery stream name.
*/ inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::move(value); } /** *The delivery stream name.
*/ inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); } /** *The delivery stream name.
*/ inline FirehoseAction& WithDeliveryStreamName(const Aws::String& value) { SetDeliveryStreamName(value); return *this;} /** *The delivery stream name.
*/ inline FirehoseAction& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(std::move(value)); return *this;} /** *The delivery stream name.
*/ inline FirehoseAction& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(value); return *this;} /** *A character separator that will be used to separate records written to the * Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows * newline), ',' (comma).
*/ inline const Aws::String& GetSeparator() const{ return m_separator; } /** *A character separator that will be used to separate records written to the * Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows * newline), ',' (comma).
*/ inline bool SeparatorHasBeenSet() const { return m_separatorHasBeenSet; } /** *A character separator that will be used to separate records written to the * Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows * newline), ',' (comma).
*/ inline void SetSeparator(const Aws::String& value) { m_separatorHasBeenSet = true; m_separator = value; } /** *A character separator that will be used to separate records written to the * Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows * newline), ',' (comma).
*/ inline void SetSeparator(Aws::String&& value) { m_separatorHasBeenSet = true; m_separator = std::move(value); } /** *A character separator that will be used to separate records written to the * Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows * newline), ',' (comma).
*/ inline void SetSeparator(const char* value) { m_separatorHasBeenSet = true; m_separator.assign(value); } /** *A character separator that will be used to separate records written to the * Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows * newline), ',' (comma).
*/ inline FirehoseAction& WithSeparator(const Aws::String& value) { SetSeparator(value); return *this;} /** *A character separator that will be used to separate records written to the * Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows * newline), ',' (comma).
*/ inline FirehoseAction& WithSeparator(Aws::String&& value) { SetSeparator(std::move(value)); return *this;} /** *A character separator that will be used to separate records written to the * Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows * newline), ',' (comma).
*/ inline FirehoseAction& WithSeparator(const char* value) { SetSeparator(value); return *this;} /** *Whether to deliver the Kinesis Data Firehose stream as a batch by using
* PutRecordBatch
. The default value is false
.
When batchMode
is true
and the rule's SQL statement
* evaluates to an Array, each Array element forms one record in the
* PutRecordBatch
request. The resulting array can't have more
* than 500 records.
Whether to deliver the Kinesis Data Firehose stream as a batch by using
* PutRecordBatch
. The default value is false
.
When batchMode
is true
and the rule's SQL statement
* evaluates to an Array, each Array element forms one record in the
* PutRecordBatch
request. The resulting array can't have more
* than 500 records.
Whether to deliver the Kinesis Data Firehose stream as a batch by using
* PutRecordBatch
. The default value is false
.
When batchMode
is true
and the rule's SQL statement
* evaluates to an Array, each Array element forms one record in the
* PutRecordBatch
request. The resulting array can't have more
* than 500 records.
Whether to deliver the Kinesis Data Firehose stream as a batch by using
* PutRecordBatch
. The default value is false
.
When batchMode
is true
and the rule's SQL statement
* evaluates to an Array, each Array element forms one record in the
* PutRecordBatch
request. The resulting array can't have more
* than 500 records.