AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
EventBridgeConfiguration.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/model/EventIncludedData.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ConnectCases {
20namespace Model {
21
29 public:
30 AWS_CONNECTCASES_API EventBridgeConfiguration() = default;
33 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline bool GetEnabled() const { return m_enabled; }
40 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
41 inline void SetEnabled(bool value) {
42 m_enabledHasBeenSet = true;
43 m_enabled = value;
44 }
46 SetEnabled(value);
47 return *this;
48 }
50
52
56 inline const EventIncludedData& GetIncludedData() const { return m_includedData; }
57 inline bool IncludedDataHasBeenSet() const { return m_includedDataHasBeenSet; }
58 template <typename IncludedDataT = EventIncludedData>
59 void SetIncludedData(IncludedDataT&& value) {
60 m_includedDataHasBeenSet = true;
61 m_includedData = std::forward<IncludedDataT>(value);
62 }
63 template <typename IncludedDataT = EventIncludedData>
65 SetIncludedData(std::forward<IncludedDataT>(value));
66 return *this;
67 }
69 private:
70 bool m_enabled{false};
71
72 EventIncludedData m_includedData;
73 bool m_enabledHasBeenSet = false;
74 bool m_includedDataHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace ConnectCases
79} // namespace Aws
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
EventBridgeConfiguration & WithIncludedData(IncludedDataT &&value)
AWS_CONNECTCASES_API EventBridgeConfiguration()=default
AWS_CONNECTCASES_API EventBridgeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCASES_API EventBridgeConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue