/** * 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 Appflow { namespace Model { /** *

The properties that are applied when Amazon EventBridge is being used as a * destination.

See Also:

AWS * API Reference

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

The object specified in the Amazon EventBridge flow destination.

*/ inline const Aws::String& GetObject() const{ return m_object; } /** *

The object specified in the Amazon EventBridge flow destination.

*/ inline bool ObjectHasBeenSet() const { return m_objectHasBeenSet; } /** *

The object specified in the Amazon EventBridge flow destination.

*/ inline void SetObject(const Aws::String& value) { m_objectHasBeenSet = true; m_object = value; } /** *

The object specified in the Amazon EventBridge flow destination.

*/ inline void SetObject(Aws::String&& value) { m_objectHasBeenSet = true; m_object = std::move(value); } /** *

The object specified in the Amazon EventBridge flow destination.

*/ inline void SetObject(const char* value) { m_objectHasBeenSet = true; m_object.assign(value); } /** *

The object specified in the Amazon EventBridge flow destination.

*/ inline EventBridgeDestinationProperties& WithObject(const Aws::String& value) { SetObject(value); return *this;} /** *

The object specified in the Amazon EventBridge flow destination.

*/ inline EventBridgeDestinationProperties& WithObject(Aws::String&& value) { SetObject(std::move(value)); return *this;} /** *

The object specified in the Amazon EventBridge flow destination.

*/ inline EventBridgeDestinationProperties& WithObject(const char* value) { SetObject(value); return *this;} inline const ErrorHandlingConfig& GetErrorHandlingConfig() const{ return m_errorHandlingConfig; } inline bool ErrorHandlingConfigHasBeenSet() const { return m_errorHandlingConfigHasBeenSet; } inline void SetErrorHandlingConfig(const ErrorHandlingConfig& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = value; } inline void SetErrorHandlingConfig(ErrorHandlingConfig&& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = std::move(value); } inline EventBridgeDestinationProperties& WithErrorHandlingConfig(const ErrorHandlingConfig& value) { SetErrorHandlingConfig(value); return *this;} inline EventBridgeDestinationProperties& WithErrorHandlingConfig(ErrorHandlingConfig&& value) { SetErrorHandlingConfig(std::move(value)); return *this;} private: Aws::String m_object; bool m_objectHasBeenSet = false; ErrorHandlingConfig m_errorHandlingConfig; bool m_errorHandlingConfigHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws