AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EventBridgeDestinationProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appflow/model/ErrorHandlingConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Appflow
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPFLOW_API EventBridgeDestinationProperties() = default;
39 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetObject() const { return m_object; }
47 inline bool ObjectHasBeenSet() const { return m_objectHasBeenSet; }
48 template<typename ObjectT = Aws::String>
49 void SetObject(ObjectT&& value) { m_objectHasBeenSet = true; m_object = std::forward<ObjectT>(value); }
50 template<typename ObjectT = Aws::String>
51 EventBridgeDestinationProperties& WithObject(ObjectT&& value) { SetObject(std::forward<ObjectT>(value)); return *this;}
53
55
56 inline const ErrorHandlingConfig& GetErrorHandlingConfig() const { return m_errorHandlingConfig; }
57 inline bool ErrorHandlingConfigHasBeenSet() const { return m_errorHandlingConfigHasBeenSet; }
58 template<typename ErrorHandlingConfigT = ErrorHandlingConfig>
59 void SetErrorHandlingConfig(ErrorHandlingConfigT&& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = std::forward<ErrorHandlingConfigT>(value); }
60 template<typename ErrorHandlingConfigT = ErrorHandlingConfig>
61 EventBridgeDestinationProperties& WithErrorHandlingConfig(ErrorHandlingConfigT&& value) { SetErrorHandlingConfig(std::forward<ErrorHandlingConfigT>(value)); return *this;}
63 private:
64
65 Aws::String m_object;
66 bool m_objectHasBeenSet = false;
67
68 ErrorHandlingConfig m_errorHandlingConfig;
69 bool m_errorHandlingConfigHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Appflow
74} // namespace Aws
EventBridgeDestinationProperties & WithObject(ObjectT &&value)
AWS_APPFLOW_API EventBridgeDestinationProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
EventBridgeDestinationProperties & WithErrorHandlingConfig(ErrorHandlingConfigT &&value)
AWS_APPFLOW_API EventBridgeDestinationProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API EventBridgeDestinationProperties()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue