AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
EventBridgeDataSourceConfig.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppSync {
20namespace Model {
21
29 public:
30 AWS_APPSYNC_API EventBridgeDataSourceConfig() = default;
33 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetEventBusArn() const { return m_eventBusArn; }
42 inline bool EventBusArnHasBeenSet() const { return m_eventBusArnHasBeenSet; }
43 template <typename EventBusArnT = Aws::String>
44 void SetEventBusArn(EventBusArnT&& value) {
45 m_eventBusArnHasBeenSet = true;
46 m_eventBusArn = std::forward<EventBusArnT>(value);
47 }
48 template <typename EventBusArnT = Aws::String>
50 SetEventBusArn(std::forward<EventBusArnT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_eventBusArn;
56 bool m_eventBusArnHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace AppSync
61} // namespace Aws
AWS_APPSYNC_API EventBridgeDataSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API EventBridgeDataSourceConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPSYNC_API EventBridgeDataSourceConfig()=default
EventBridgeDataSourceConfig & WithEventBusArn(EventBusArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue