AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetObject(const Aws::String& value) { m_objectHasBeenSet = true; m_object = value; }
49 inline void SetObject(Aws::String&& value) { m_objectHasBeenSet = true; m_object = std::move(value); }
50 inline void SetObject(const char* value) { m_objectHasBeenSet = true; m_object.assign(value); }
51 inline EventBridgeDestinationProperties& WithObject(const Aws::String& value) { SetObject(value); return *this;}
52 inline EventBridgeDestinationProperties& WithObject(Aws::String&& value) { SetObject(std::move(value)); return *this;}
53 inline EventBridgeDestinationProperties& WithObject(const char* value) { SetObject(value); return *this;}
55
57
58 inline const ErrorHandlingConfig& GetErrorHandlingConfig() const{ return m_errorHandlingConfig; }
59 inline bool ErrorHandlingConfigHasBeenSet() const { return m_errorHandlingConfigHasBeenSet; }
60 inline void SetErrorHandlingConfig(const ErrorHandlingConfig& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = value; }
61 inline void SetErrorHandlingConfig(ErrorHandlingConfig&& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = std::move(value); }
65 private:
66
67 Aws::String m_object;
68 bool m_objectHasBeenSet = false;
69
70 ErrorHandlingConfig m_errorHandlingConfig;
71 bool m_errorHandlingConfigHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Appflow
76} // namespace Aws
AWS_APPFLOW_API EventBridgeDestinationProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
EventBridgeDestinationProperties & WithObject(const char *value)
EventBridgeDestinationProperties & WithObject(Aws::String &&value)
AWS_APPFLOW_API EventBridgeDestinationProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
EventBridgeDestinationProperties & WithErrorHandlingConfig(const ErrorHandlingConfig &value)
EventBridgeDestinationProperties & WithObject(const Aws::String &value)
EventBridgeDestinationProperties & WithErrorHandlingConfig(ErrorHandlingConfig &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue