/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an update for a destination in Splunk.See Also:
* AWS
* API Reference
The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose sends * your data.
*/ inline const Aws::String& GetHECEndpoint() const{ return m_hECEndpoint; } /** *The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose sends * your data.
*/ inline bool HECEndpointHasBeenSet() const { return m_hECEndpointHasBeenSet; } /** *The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose sends * your data.
*/ inline void SetHECEndpoint(const Aws::String& value) { m_hECEndpointHasBeenSet = true; m_hECEndpoint = value; } /** *The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose sends * your data.
*/ inline void SetHECEndpoint(Aws::String&& value) { m_hECEndpointHasBeenSet = true; m_hECEndpoint = std::move(value); } /** *The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose sends * your data.
*/ inline void SetHECEndpoint(const char* value) { m_hECEndpointHasBeenSet = true; m_hECEndpoint.assign(value); } /** *The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose sends * your data.
*/ inline SplunkDestinationUpdate& WithHECEndpoint(const Aws::String& value) { SetHECEndpoint(value); return *this;} /** *The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose sends * your data.
*/ inline SplunkDestinationUpdate& WithHECEndpoint(Aws::String&& value) { SetHECEndpoint(std::move(value)); return *this;} /** *The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose sends * your data.
*/ inline SplunkDestinationUpdate& WithHECEndpoint(const char* value) { SetHECEndpoint(value); return *this;} /** *This type can be either "Raw" or "Event."
*/ inline const HECEndpointType& GetHECEndpointType() const{ return m_hECEndpointType; } /** *This type can be either "Raw" or "Event."
*/ inline bool HECEndpointTypeHasBeenSet() const { return m_hECEndpointTypeHasBeenSet; } /** *This type can be either "Raw" or "Event."
*/ inline void SetHECEndpointType(const HECEndpointType& value) { m_hECEndpointTypeHasBeenSet = true; m_hECEndpointType = value; } /** *This type can be either "Raw" or "Event."
*/ inline void SetHECEndpointType(HECEndpointType&& value) { m_hECEndpointTypeHasBeenSet = true; m_hECEndpointType = std::move(value); } /** *This type can be either "Raw" or "Event."
*/ inline SplunkDestinationUpdate& WithHECEndpointType(const HECEndpointType& value) { SetHECEndpointType(value); return *this;} /** *This type can be either "Raw" or "Event."
*/ inline SplunkDestinationUpdate& WithHECEndpointType(HECEndpointType&& value) { SetHECEndpointType(std::move(value)); return *this;} /** *A GUID that you obtain from your Splunk cluster when you create a new HEC * endpoint.
*/ inline const Aws::String& GetHECToken() const{ return m_hECToken; } /** *A GUID that you obtain from your Splunk cluster when you create a new HEC * endpoint.
*/ inline bool HECTokenHasBeenSet() const { return m_hECTokenHasBeenSet; } /** *A GUID that you obtain from your Splunk cluster when you create a new HEC * endpoint.
*/ inline void SetHECToken(const Aws::String& value) { m_hECTokenHasBeenSet = true; m_hECToken = value; } /** *A GUID that you obtain from your Splunk cluster when you create a new HEC * endpoint.
*/ inline void SetHECToken(Aws::String&& value) { m_hECTokenHasBeenSet = true; m_hECToken = std::move(value); } /** *A GUID that you obtain from your Splunk cluster when you create a new HEC * endpoint.
*/ inline void SetHECToken(const char* value) { m_hECTokenHasBeenSet = true; m_hECToken.assign(value); } /** *A GUID that you obtain from your Splunk cluster when you create a new HEC * endpoint.
*/ inline SplunkDestinationUpdate& WithHECToken(const Aws::String& value) { SetHECToken(value); return *this;} /** *A GUID that you obtain from your Splunk cluster when you create a new HEC * endpoint.
*/ inline SplunkDestinationUpdate& WithHECToken(Aws::String&& value) { SetHECToken(std::move(value)); return *this;} /** *A GUID that you obtain from your Splunk cluster when you create a new HEC * endpoint.
*/ inline SplunkDestinationUpdate& WithHECToken(const char* value) { SetHECToken(value); return *this;} /** *The amount of time that Kinesis Data Firehose waits to receive an * acknowledgment from Splunk after it sends data. At the end of the timeout * period, Kinesis Data Firehose either tries to send the data again or considers * it an error, based on your retry settings.
*/ inline int GetHECAcknowledgmentTimeoutInSeconds() const{ return m_hECAcknowledgmentTimeoutInSeconds; } /** *The amount of time that Kinesis Data Firehose waits to receive an * acknowledgment from Splunk after it sends data. At the end of the timeout * period, Kinesis Data Firehose either tries to send the data again or considers * it an error, based on your retry settings.
*/ inline bool HECAcknowledgmentTimeoutInSecondsHasBeenSet() const { return m_hECAcknowledgmentTimeoutInSecondsHasBeenSet; } /** *The amount of time that Kinesis Data Firehose waits to receive an * acknowledgment from Splunk after it sends data. At the end of the timeout * period, Kinesis Data Firehose either tries to send the data again or considers * it an error, based on your retry settings.
*/ inline void SetHECAcknowledgmentTimeoutInSeconds(int value) { m_hECAcknowledgmentTimeoutInSecondsHasBeenSet = true; m_hECAcknowledgmentTimeoutInSeconds = value; } /** *The amount of time that Kinesis Data Firehose waits to receive an * acknowledgment from Splunk after it sends data. At the end of the timeout * period, Kinesis Data Firehose either tries to send the data again or considers * it an error, based on your retry settings.
*/ inline SplunkDestinationUpdate& WithHECAcknowledgmentTimeoutInSeconds(int value) { SetHECAcknowledgmentTimeoutInSeconds(value); return *this;} /** *The retry behavior in case Kinesis Data Firehose is unable to deliver data to * Splunk or if it doesn't receive an acknowledgment of receipt from Splunk.
*/ inline const SplunkRetryOptions& GetRetryOptions() const{ return m_retryOptions; } /** *The retry behavior in case Kinesis Data Firehose is unable to deliver data to * Splunk or if it doesn't receive an acknowledgment of receipt from Splunk.
*/ inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; } /** *The retry behavior in case Kinesis Data Firehose is unable to deliver data to * Splunk or if it doesn't receive an acknowledgment of receipt from Splunk.
*/ inline void SetRetryOptions(const SplunkRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; } /** *The retry behavior in case Kinesis Data Firehose is unable to deliver data to * Splunk or if it doesn't receive an acknowledgment of receipt from Splunk.
*/ inline void SetRetryOptions(SplunkRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); } /** *The retry behavior in case Kinesis Data Firehose is unable to deliver data to * Splunk or if it doesn't receive an acknowledgment of receipt from Splunk.
*/ inline SplunkDestinationUpdate& WithRetryOptions(const SplunkRetryOptions& value) { SetRetryOptions(value); return *this;} /** *The retry behavior in case Kinesis Data Firehose is unable to deliver data to * Splunk or if it doesn't receive an acknowledgment of receipt from Splunk.
*/ inline SplunkDestinationUpdate& WithRetryOptions(SplunkRetryOptions&& value) { SetRetryOptions(std::move(value)); return *this;} /** *Specifies how you want Kinesis Data Firehose to back up documents to Amazon
* S3. When set to FailedDocumentsOnly
, Kinesis Data Firehose writes
* any data that could not be indexed to the configured Amazon S3 destination. When
* set to AllEvents
, Kinesis Data Firehose delivers all incoming
* records to Amazon S3, and also writes failed documents to Amazon S3. The default
* value is FailedEventsOnly
.
You can update this backup mode
* from FailedEventsOnly
to AllEvents
. You can't update
* it from AllEvents
to FailedEventsOnly
.
Specifies how you want Kinesis Data Firehose to back up documents to Amazon
* S3. When set to FailedDocumentsOnly
, Kinesis Data Firehose writes
* any data that could not be indexed to the configured Amazon S3 destination. When
* set to AllEvents
, Kinesis Data Firehose delivers all incoming
* records to Amazon S3, and also writes failed documents to Amazon S3. The default
* value is FailedEventsOnly
.
You can update this backup mode
* from FailedEventsOnly
to AllEvents
. You can't update
* it from AllEvents
to FailedEventsOnly
.
Specifies how you want Kinesis Data Firehose to back up documents to Amazon
* S3. When set to FailedDocumentsOnly
, Kinesis Data Firehose writes
* any data that could not be indexed to the configured Amazon S3 destination. When
* set to AllEvents
, Kinesis Data Firehose delivers all incoming
* records to Amazon S3, and also writes failed documents to Amazon S3. The default
* value is FailedEventsOnly
.
You can update this backup mode
* from FailedEventsOnly
to AllEvents
. You can't update
* it from AllEvents
to FailedEventsOnly
.
Specifies how you want Kinesis Data Firehose to back up documents to Amazon
* S3. When set to FailedDocumentsOnly
, Kinesis Data Firehose writes
* any data that could not be indexed to the configured Amazon S3 destination. When
* set to AllEvents
, Kinesis Data Firehose delivers all incoming
* records to Amazon S3, and also writes failed documents to Amazon S3. The default
* value is FailedEventsOnly
.
You can update this backup mode
* from FailedEventsOnly
to AllEvents
. You can't update
* it from AllEvents
to FailedEventsOnly
.
Specifies how you want Kinesis Data Firehose to back up documents to Amazon
* S3. When set to FailedDocumentsOnly
, Kinesis Data Firehose writes
* any data that could not be indexed to the configured Amazon S3 destination. When
* set to AllEvents
, Kinesis Data Firehose delivers all incoming
* records to Amazon S3, and also writes failed documents to Amazon S3. The default
* value is FailedEventsOnly
.
You can update this backup mode
* from FailedEventsOnly
to AllEvents
. You can't update
* it from AllEvents
to FailedEventsOnly
.
Specifies how you want Kinesis Data Firehose to back up documents to Amazon
* S3. When set to FailedDocumentsOnly
, Kinesis Data Firehose writes
* any data that could not be indexed to the configured Amazon S3 destination. When
* set to AllEvents
, Kinesis Data Firehose delivers all incoming
* records to Amazon S3, and also writes failed documents to Amazon S3. The default
* value is FailedEventsOnly
.
You can update this backup mode
* from FailedEventsOnly
to AllEvents
. You can't update
* it from AllEvents
to FailedEventsOnly
.
Your update to the configuration of the backup Amazon S3 location.
*/ inline const S3DestinationUpdate& GetS3Update() const{ return m_s3Update; } /** *Your update to the configuration of the backup Amazon S3 location.
*/ inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; } /** *Your update to the configuration of the backup Amazon S3 location.
*/ inline void SetS3Update(const S3DestinationUpdate& value) { m_s3UpdateHasBeenSet = true; m_s3Update = value; } /** *Your update to the configuration of the backup Amazon S3 location.
*/ inline void SetS3Update(S3DestinationUpdate&& value) { m_s3UpdateHasBeenSet = true; m_s3Update = std::move(value); } /** *Your update to the configuration of the backup Amazon S3 location.
*/ inline SplunkDestinationUpdate& WithS3Update(const S3DestinationUpdate& value) { SetS3Update(value); return *this;} /** *Your update to the configuration of the backup Amazon S3 location.
*/ inline SplunkDestinationUpdate& WithS3Update(S3DestinationUpdate&& value) { SetS3Update(std::move(value)); return *this;} /** *The data processing configuration.
*/ inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; } /** *The data processing configuration.
*/ inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; } /** *The data processing configuration.
*/ inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; } /** *The data processing configuration.
*/ inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); } /** *The data processing configuration.
*/ inline SplunkDestinationUpdate& WithProcessingConfiguration(const ProcessingConfiguration& value) { SetProcessingConfiguration(value); return *this;} /** *The data processing configuration.
*/ inline SplunkDestinationUpdate& WithProcessingConfiguration(ProcessingConfiguration&& value) { SetProcessingConfiguration(std::move(value)); return *this;} /** *The Amazon CloudWatch logging options for your delivery stream.
*/ inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; } /** *The Amazon CloudWatch logging options for your delivery stream.
*/ inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; } /** *The Amazon CloudWatch logging options for your delivery stream.
*/ inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; } /** *The Amazon CloudWatch logging options for your delivery stream.
*/ inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); } /** *The Amazon CloudWatch logging options for your delivery stream.
*/ inline SplunkDestinationUpdate& WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { SetCloudWatchLoggingOptions(value); return *this;} /** *The Amazon CloudWatch logging options for your delivery stream.
*/ inline SplunkDestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;} private: Aws::String m_hECEndpoint; bool m_hECEndpointHasBeenSet; HECEndpointType m_hECEndpointType; bool m_hECEndpointTypeHasBeenSet; Aws::String m_hECToken; bool m_hECTokenHasBeenSet; int m_hECAcknowledgmentTimeoutInSeconds; bool m_hECAcknowledgmentTimeoutInSecondsHasBeenSet; SplunkRetryOptions m_retryOptions; bool m_retryOptionsHasBeenSet; SplunkS3BackupMode m_s3BackupMode; bool m_s3BackupModeHasBeenSet; S3DestinationUpdate m_s3Update; bool m_s3UpdateHasBeenSet; ProcessingConfiguration m_processingConfiguration; bool m_processingConfigurationHasBeenSet; CloudWatchLoggingOptions m_cloudWatchLoggingOptions; bool m_cloudWatchLoggingOptionsHasBeenSet; }; } // namespace Model } // namespace Firehose } // namespace Aws