AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
EventBridgeDestination.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sesv2/SESV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SESV2 {
20namespace Model {
21
30 public:
31 AWS_SESV2_API EventBridgeDestination() = default;
34 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
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>
49 EventBridgeDestination& WithEventBusArn(EventBusArnT&& value) {
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 SESV2
61} // namespace Aws
EventBridgeDestination & WithEventBusArn(EventBusArnT &&value)
AWS_SESV2_API EventBridgeDestination(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SESV2_API EventBridgeDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API EventBridgeDestination()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue