/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Firehose { namespace Model { /** *

Describes the processor parameter.

See Also:

AWS * API Reference

*/ class ProcessorParameter { public: AWS_FIREHOSE_API ProcessorParameter(); AWS_FIREHOSE_API ProcessorParameter(Aws::Utils::Json::JsonView jsonValue); AWS_FIREHOSE_API ProcessorParameter& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the parameter. Currently the following default values are * supported: 3 for NumberOfRetries and 60 for the * BufferIntervalInSeconds. The BufferSizeInMBs ranges * between 0.2 MB and up to 3MB. The default buffering hint is 1MB for all * destinations, except Splunk. For Splunk, the default buffering hint is 256 KB. *

*/ inline const ProcessorParameterName& GetParameterName() const{ return m_parameterName; } /** *

The name of the parameter. Currently the following default values are * supported: 3 for NumberOfRetries and 60 for the * BufferIntervalInSeconds. The BufferSizeInMBs ranges * between 0.2 MB and up to 3MB. The default buffering hint is 1MB for all * destinations, except Splunk. For Splunk, the default buffering hint is 256 KB. *

*/ inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; } /** *

The name of the parameter. Currently the following default values are * supported: 3 for NumberOfRetries and 60 for the * BufferIntervalInSeconds. The BufferSizeInMBs ranges * between 0.2 MB and up to 3MB. The default buffering hint is 1MB for all * destinations, except Splunk. For Splunk, the default buffering hint is 256 KB. *

*/ inline void SetParameterName(const ProcessorParameterName& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; } /** *

The name of the parameter. Currently the following default values are * supported: 3 for NumberOfRetries and 60 for the * BufferIntervalInSeconds. The BufferSizeInMBs ranges * between 0.2 MB and up to 3MB. The default buffering hint is 1MB for all * destinations, except Splunk. For Splunk, the default buffering hint is 256 KB. *

*/ inline void SetParameterName(ProcessorParameterName&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::move(value); } /** *

The name of the parameter. Currently the following default values are * supported: 3 for NumberOfRetries and 60 for the * BufferIntervalInSeconds. The BufferSizeInMBs ranges * between 0.2 MB and up to 3MB. The default buffering hint is 1MB for all * destinations, except Splunk. For Splunk, the default buffering hint is 256 KB. *

*/ inline ProcessorParameter& WithParameterName(const ProcessorParameterName& value) { SetParameterName(value); return *this;} /** *

The name of the parameter. Currently the following default values are * supported: 3 for NumberOfRetries and 60 for the * BufferIntervalInSeconds. The BufferSizeInMBs ranges * between 0.2 MB and up to 3MB. The default buffering hint is 1MB for all * destinations, except Splunk. For Splunk, the default buffering hint is 256 KB. *

*/ inline ProcessorParameter& WithParameterName(ProcessorParameterName&& value) { SetParameterName(std::move(value)); return *this;} /** *

The parameter value.

*/ inline const Aws::String& GetParameterValue() const{ return m_parameterValue; } /** *

The parameter value.

*/ inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; } /** *

The parameter value.

*/ inline void SetParameterValue(const Aws::String& value) { m_parameterValueHasBeenSet = true; m_parameterValue = value; } /** *

The parameter value.

*/ inline void SetParameterValue(Aws::String&& value) { m_parameterValueHasBeenSet = true; m_parameterValue = std::move(value); } /** *

The parameter value.

*/ inline void SetParameterValue(const char* value) { m_parameterValueHasBeenSet = true; m_parameterValue.assign(value); } /** *

The parameter value.

*/ inline ProcessorParameter& WithParameterValue(const Aws::String& value) { SetParameterValue(value); return *this;} /** *

The parameter value.

*/ inline ProcessorParameter& WithParameterValue(Aws::String&& value) { SetParameterValue(std::move(value)); return *this;} /** *

The parameter value.

*/ inline ProcessorParameter& WithParameterValue(const char* value) { SetParameterValue(value); return *this;} private: ProcessorParameterName m_parameterName; bool m_parameterNameHasBeenSet = false; Aws::String m_parameterValue; bool m_parameterValueHasBeenSet = false; }; } // namespace Model } // namespace Firehose } // namespace Aws