AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConnectCases
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CONNECTCASES_API EventBridgeConfiguration() = default;
38 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline bool GetEnabled() const { return m_enabled; }
46 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
47 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
48 inline EventBridgeConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;}
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) { m_includedDataHasBeenSet = true; m_includedData = std::forward<IncludedDataT>(value); }
60 template<typename IncludedDataT = EventIncludedData>
61 EventBridgeConfiguration& WithIncludedData(IncludedDataT&& value) { SetIncludedData(std::forward<IncludedDataT>(value)); return *this;}
63 private:
64
65 bool m_enabled{false};
66 bool m_enabledHasBeenSet = false;
67
68 EventIncludedData m_includedData;
69 bool m_includedDataHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace ConnectCases
74} // 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