420 lines
18 KiB
C++
420 lines
18 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/firehose/Firehose_EXPORTS.h>
|
|
#include <aws/firehose/model/HttpEndpointConfiguration.h>
|
|
#include <aws/firehose/model/HttpEndpointBufferingHints.h>
|
|
#include <aws/firehose/model/CloudWatchLoggingOptions.h>
|
|
#include <aws/firehose/model/HttpEndpointRequestConfiguration.h>
|
|
#include <aws/firehose/model/ProcessingConfiguration.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/firehose/model/HttpEndpointRetryOptions.h>
|
|
#include <aws/firehose/model/HttpEndpointS3BackupMode.h>
|
|
#include <aws/firehose/model/S3DestinationUpdate.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace Firehose
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Updates the specified HTTP endpoint destination.</p><p><h3>See Also:</h3>
|
|
* <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/HttpEndpointDestinationUpdate">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_FIREHOSE_API HttpEndpointDestinationUpdate
|
|
{
|
|
public:
|
|
HttpEndpointDestinationUpdate();
|
|
HttpEndpointDestinationUpdate(Aws::Utils::Json::JsonView jsonValue);
|
|
HttpEndpointDestinationUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>Describes the configuration of the HTTP endpoint destination.</p>
|
|
*/
|
|
inline const HttpEndpointConfiguration& GetEndpointConfiguration() const{ return m_endpointConfiguration; }
|
|
|
|
/**
|
|
* <p>Describes the configuration of the HTTP endpoint destination.</p>
|
|
*/
|
|
inline bool EndpointConfigurationHasBeenSet() const { return m_endpointConfigurationHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Describes the configuration of the HTTP endpoint destination.</p>
|
|
*/
|
|
inline void SetEndpointConfiguration(const HttpEndpointConfiguration& value) { m_endpointConfigurationHasBeenSet = true; m_endpointConfiguration = value; }
|
|
|
|
/**
|
|
* <p>Describes the configuration of the HTTP endpoint destination.</p>
|
|
*/
|
|
inline void SetEndpointConfiguration(HttpEndpointConfiguration&& value) { m_endpointConfigurationHasBeenSet = true; m_endpointConfiguration = std::move(value); }
|
|
|
|
/**
|
|
* <p>Describes the configuration of the HTTP endpoint destination.</p>
|
|
*/
|
|
inline HttpEndpointDestinationUpdate& WithEndpointConfiguration(const HttpEndpointConfiguration& value) { SetEndpointConfiguration(value); return *this;}
|
|
|
|
/**
|
|
* <p>Describes the configuration of the HTTP endpoint destination.</p>
|
|
*/
|
|
inline HttpEndpointDestinationUpdate& WithEndpointConfiguration(HttpEndpointConfiguration&& value) { SetEndpointConfiguration(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>Describes buffering options that can be applied to the data before it is
|
|
* delivered to the HTTPS endpoint destination. Kinesis Data Firehose teats these
|
|
* options as hints, and it might choose to use more optimal values. The
|
|
* <code>SizeInMBs</code> and <code>IntervalInSeconds</code> parameters are
|
|
* optional. However, if specify a value for one of them, you must also provide a
|
|
* value for the other. </p>
|
|
*/
|
|
inline const HttpEndpointBufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
|
|
|
|
/**
|
|
* <p>Describes buffering options that can be applied to the data before it is
|
|
* delivered to the HTTPS endpoint destination. Kinesis Data Firehose teats these
|
|
* options as hints, and it might choose to use more optimal values. The
|
|
* <code>SizeInMBs</code> and <code>IntervalInSeconds</code> parameters are
|
|
* optional. However, if specify a value for one of them, you must also provide a
|
|
* value for the other. </p>
|
|
*/
|
|
inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Describes buffering options that can be applied to the data before it is
|
|
* delivered to the HTTPS endpoint destination. Kinesis Data Firehose teats these
|
|
* options as hints, and it might choose to use more optimal values. The
|
|
* <code>SizeInMBs</code> and <code>IntervalInSeconds</code> parameters are
|
|
* optional. However, if specify a value for one of them, you must also provide a
|
|
* value for the other. </p>
|
|
*/
|
|
inline void SetBufferingHints(const HttpEndpointBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
|
|
|
|
/**
|
|
* <p>Describes buffering options that can be applied to the data before it is
|
|
* delivered to the HTTPS endpoint destination. Kinesis Data Firehose teats these
|
|
* options as hints, and it might choose to use more optimal values. The
|
|
* <code>SizeInMBs</code> and <code>IntervalInSeconds</code> parameters are
|
|
* optional. However, if specify a value for one of them, you must also provide a
|
|
* value for the other. </p>
|
|
*/
|
|
inline void SetBufferingHints(HttpEndpointBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); }
|
|
|
|
/**
|
|
* <p>Describes buffering options that can be applied to the data before it is
|
|
* delivered to the HTTPS endpoint destination. Kinesis Data Firehose teats these
|
|
* options as hints, and it might choose to use more optimal values. The
|
|
* <code>SizeInMBs</code> and <code>IntervalInSeconds</code> parameters are
|
|
* optional. However, if specify a value for one of them, you must also provide a
|
|
* value for the other. </p>
|
|
*/
|
|
inline HttpEndpointDestinationUpdate& WithBufferingHints(const HttpEndpointBufferingHints& value) { SetBufferingHints(value); return *this;}
|
|
|
|
/**
|
|
* <p>Describes buffering options that can be applied to the data before it is
|
|
* delivered to the HTTPS endpoint destination. Kinesis Data Firehose teats these
|
|
* options as hints, and it might choose to use more optimal values. The
|
|
* <code>SizeInMBs</code> and <code>IntervalInSeconds</code> parameters are
|
|
* optional. However, if specify a value for one of them, you must also provide a
|
|
* value for the other. </p>
|
|
*/
|
|
inline HttpEndpointDestinationUpdate& WithBufferingHints(HttpEndpointBufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;}
|
|
|
|
|
|
|
|
inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
|
|
|
|
|
|
inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
|
|
|
|
|
|
inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
|
|
|
|
|
|
inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
|
|
|
|
|
|
inline HttpEndpointDestinationUpdate& WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { SetCloudWatchLoggingOptions(value); return *this;}
|
|
|
|
|
|
inline HttpEndpointDestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The configuration of the request sent to the HTTP endpoint specified as the
|
|
* destination.</p>
|
|
*/
|
|
inline const HttpEndpointRequestConfiguration& GetRequestConfiguration() const{ return m_requestConfiguration; }
|
|
|
|
/**
|
|
* <p>The configuration of the request sent to the HTTP endpoint specified as the
|
|
* destination.</p>
|
|
*/
|
|
inline bool RequestConfigurationHasBeenSet() const { return m_requestConfigurationHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The configuration of the request sent to the HTTP endpoint specified as the
|
|
* destination.</p>
|
|
*/
|
|
inline void SetRequestConfiguration(const HttpEndpointRequestConfiguration& value) { m_requestConfigurationHasBeenSet = true; m_requestConfiguration = value; }
|
|
|
|
/**
|
|
* <p>The configuration of the request sent to the HTTP endpoint specified as the
|
|
* destination.</p>
|
|
*/
|
|
inline void SetRequestConfiguration(HttpEndpointRequestConfiguration&& value) { m_requestConfigurationHasBeenSet = true; m_requestConfiguration = std::move(value); }
|
|
|
|
/**
|
|
* <p>The configuration of the request sent to the HTTP endpoint specified as the
|
|
* destination.</p>
|
|
*/
|
|
inline HttpEndpointDestinationUpdate& WithRequestConfiguration(const HttpEndpointRequestConfiguration& value) { SetRequestConfiguration(value); return *this;}
|
|
|
|
/**
|
|
* <p>The configuration of the request sent to the HTTP endpoint specified as the
|
|
* destination.</p>
|
|
*/
|
|
inline HttpEndpointDestinationUpdate& WithRequestConfiguration(HttpEndpointRequestConfiguration&& value) { SetRequestConfiguration(std::move(value)); return *this;}
|
|
|
|
|
|
|
|
inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
|
|
|
|
|
|
inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
|
|
|
|
|
|
inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
|
|
|
|
|
|
inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
|
|
|
|
|
|
inline HttpEndpointDestinationUpdate& WithProcessingConfiguration(const ProcessingConfiguration& value) { SetProcessingConfiguration(value); return *this;}
|
|
|
|
|
|
inline HttpEndpointDestinationUpdate& WithProcessingConfiguration(ProcessingConfiguration&& value) { SetProcessingConfiguration(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>Kinesis Data Firehose uses this IAM role for all the permissions that the
|
|
* delivery stream needs.</p>
|
|
*/
|
|
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
|
|
|
|
/**
|
|
* <p>Kinesis Data Firehose uses this IAM role for all the permissions that the
|
|
* delivery stream needs.</p>
|
|
*/
|
|
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Kinesis Data Firehose uses this IAM role for all the permissions that the
|
|
* delivery stream needs.</p>
|
|
*/
|
|
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
|
|
|
|
/**
|
|
* <p>Kinesis Data Firehose uses this IAM role for all the permissions that the
|
|
* delivery stream needs.</p>
|
|
*/
|
|
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
|
|
|
|
/**
|
|
* <p>Kinesis Data Firehose uses this IAM role for all the permissions that the
|
|
* delivery stream needs.</p>
|
|
*/
|
|
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
|
|
|
|
/**
|
|
* <p>Kinesis Data Firehose uses this IAM role for all the permissions that the
|
|
* delivery stream needs.</p>
|
|
*/
|
|
inline HttpEndpointDestinationUpdate& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
|
|
|
|
/**
|
|
* <p>Kinesis Data Firehose uses this IAM role for all the permissions that the
|
|
* delivery stream needs.</p>
|
|
*/
|
|
inline HttpEndpointDestinationUpdate& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Kinesis Data Firehose uses this IAM role for all the permissions that the
|
|
* delivery stream needs.</p>
|
|
*/
|
|
inline HttpEndpointDestinationUpdate& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>Describes the retry behavior in case Kinesis Data Firehose is unable to
|
|
* deliver data to the specified HTTP endpoint destination, or if it doesn't
|
|
* receive a valid acknowledgment of receipt from the specified HTTP endpoint
|
|
* destination.</p>
|
|
*/
|
|
inline const HttpEndpointRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
|
|
|
|
/**
|
|
* <p>Describes the retry behavior in case Kinesis Data Firehose is unable to
|
|
* deliver data to the specified HTTP endpoint destination, or if it doesn't
|
|
* receive a valid acknowledgment of receipt from the specified HTTP endpoint
|
|
* destination.</p>
|
|
*/
|
|
inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Describes the retry behavior in case Kinesis Data Firehose is unable to
|
|
* deliver data to the specified HTTP endpoint destination, or if it doesn't
|
|
* receive a valid acknowledgment of receipt from the specified HTTP endpoint
|
|
* destination.</p>
|
|
*/
|
|
inline void SetRetryOptions(const HttpEndpointRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
|
|
|
|
/**
|
|
* <p>Describes the retry behavior in case Kinesis Data Firehose is unable to
|
|
* deliver data to the specified HTTP endpoint destination, or if it doesn't
|
|
* receive a valid acknowledgment of receipt from the specified HTTP endpoint
|
|
* destination.</p>
|
|
*/
|
|
inline void SetRetryOptions(HttpEndpointRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
|
|
|
|
/**
|
|
* <p>Describes the retry behavior in case Kinesis Data Firehose is unable to
|
|
* deliver data to the specified HTTP endpoint destination, or if it doesn't
|
|
* receive a valid acknowledgment of receipt from the specified HTTP endpoint
|
|
* destination.</p>
|
|
*/
|
|
inline HttpEndpointDestinationUpdate& WithRetryOptions(const HttpEndpointRetryOptions& value) { SetRetryOptions(value); return *this;}
|
|
|
|
/**
|
|
* <p>Describes the retry behavior in case Kinesis Data Firehose is unable to
|
|
* deliver data to the specified HTTP endpoint destination, or if it doesn't
|
|
* receive a valid acknowledgment of receipt from the specified HTTP endpoint
|
|
* destination.</p>
|
|
*/
|
|
inline HttpEndpointDestinationUpdate& WithRetryOptions(HttpEndpointRetryOptions&& value) { SetRetryOptions(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>Describes the S3 bucket backup options for the data that Kinesis Firehose
|
|
* delivers to the HTTP endpoint destination. You can back up all documents
|
|
* (<code>AllData</code>) or only the documents that Kinesis Data Firehose could
|
|
* not deliver to the specified HTTP endpoint destination
|
|
* (<code>FailedDataOnly</code>).</p>
|
|
*/
|
|
inline const HttpEndpointS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; }
|
|
|
|
/**
|
|
* <p>Describes the S3 bucket backup options for the data that Kinesis Firehose
|
|
* delivers to the HTTP endpoint destination. You can back up all documents
|
|
* (<code>AllData</code>) or only the documents that Kinesis Data Firehose could
|
|
* not deliver to the specified HTTP endpoint destination
|
|
* (<code>FailedDataOnly</code>).</p>
|
|
*/
|
|
inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Describes the S3 bucket backup options for the data that Kinesis Firehose
|
|
* delivers to the HTTP endpoint destination. You can back up all documents
|
|
* (<code>AllData</code>) or only the documents that Kinesis Data Firehose could
|
|
* not deliver to the specified HTTP endpoint destination
|
|
* (<code>FailedDataOnly</code>).</p>
|
|
*/
|
|
inline void SetS3BackupMode(const HttpEndpointS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; }
|
|
|
|
/**
|
|
* <p>Describes the S3 bucket backup options for the data that Kinesis Firehose
|
|
* delivers to the HTTP endpoint destination. You can back up all documents
|
|
* (<code>AllData</code>) or only the documents that Kinesis Data Firehose could
|
|
* not deliver to the specified HTTP endpoint destination
|
|
* (<code>FailedDataOnly</code>).</p>
|
|
*/
|
|
inline void SetS3BackupMode(HttpEndpointS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); }
|
|
|
|
/**
|
|
* <p>Describes the S3 bucket backup options for the data that Kinesis Firehose
|
|
* delivers to the HTTP endpoint destination. You can back up all documents
|
|
* (<code>AllData</code>) or only the documents that Kinesis Data Firehose could
|
|
* not deliver to the specified HTTP endpoint destination
|
|
* (<code>FailedDataOnly</code>).</p>
|
|
*/
|
|
inline HttpEndpointDestinationUpdate& WithS3BackupMode(const HttpEndpointS3BackupMode& value) { SetS3BackupMode(value); return *this;}
|
|
|
|
/**
|
|
* <p>Describes the S3 bucket backup options for the data that Kinesis Firehose
|
|
* delivers to the HTTP endpoint destination. You can back up all documents
|
|
* (<code>AllData</code>) or only the documents that Kinesis Data Firehose could
|
|
* not deliver to the specified HTTP endpoint destination
|
|
* (<code>FailedDataOnly</code>).</p>
|
|
*/
|
|
inline HttpEndpointDestinationUpdate& WithS3BackupMode(HttpEndpointS3BackupMode&& value) { SetS3BackupMode(std::move(value)); return *this;}
|
|
|
|
|
|
|
|
inline const S3DestinationUpdate& GetS3Update() const{ return m_s3Update; }
|
|
|
|
|
|
inline bool S3UpdateHasBeenSet() const { return m_s3UpdateHasBeenSet; }
|
|
|
|
|
|
inline void SetS3Update(const S3DestinationUpdate& value) { m_s3UpdateHasBeenSet = true; m_s3Update = value; }
|
|
|
|
|
|
inline void SetS3Update(S3DestinationUpdate&& value) { m_s3UpdateHasBeenSet = true; m_s3Update = std::move(value); }
|
|
|
|
|
|
inline HttpEndpointDestinationUpdate& WithS3Update(const S3DestinationUpdate& value) { SetS3Update(value); return *this;}
|
|
|
|
|
|
inline HttpEndpointDestinationUpdate& WithS3Update(S3DestinationUpdate&& value) { SetS3Update(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
HttpEndpointConfiguration m_endpointConfiguration;
|
|
bool m_endpointConfigurationHasBeenSet;
|
|
|
|
HttpEndpointBufferingHints m_bufferingHints;
|
|
bool m_bufferingHintsHasBeenSet;
|
|
|
|
CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
|
|
bool m_cloudWatchLoggingOptionsHasBeenSet;
|
|
|
|
HttpEndpointRequestConfiguration m_requestConfiguration;
|
|
bool m_requestConfigurationHasBeenSet;
|
|
|
|
ProcessingConfiguration m_processingConfiguration;
|
|
bool m_processingConfigurationHasBeenSet;
|
|
|
|
Aws::String m_roleARN;
|
|
bool m_roleARNHasBeenSet;
|
|
|
|
HttpEndpointRetryOptions m_retryOptions;
|
|
bool m_retryOptionsHasBeenSet;
|
|
|
|
HttpEndpointS3BackupMode m_s3BackupMode;
|
|
bool m_s3BackupModeHasBeenSet;
|
|
|
|
S3DestinationUpdate m_s3Update;
|
|
bool m_s3UpdateHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Firehose
|
|
} // namespace Aws
|