AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
EventBridgeParameters.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/scheduler/Scheduler_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Scheduler {
20namespace Model {
21
30 public:
31 AWS_SCHEDULER_API EventBridgeParameters() = default;
34 AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetDetailType() const { return m_detailType; }
42 inline bool DetailTypeHasBeenSet() const { return m_detailTypeHasBeenSet; }
43 template <typename DetailTypeT = Aws::String>
44 void SetDetailType(DetailTypeT&& value) {
45 m_detailTypeHasBeenSet = true;
46 m_detailType = std::forward<DetailTypeT>(value);
47 }
48 template <typename DetailTypeT = Aws::String>
49 EventBridgeParameters& WithDetailType(DetailTypeT&& value) {
50 SetDetailType(std::forward<DetailTypeT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetSource() const { return m_source; }
60 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
61 template <typename SourceT = Aws::String>
62 void SetSource(SourceT&& value) {
63 m_sourceHasBeenSet = true;
64 m_source = std::forward<SourceT>(value);
65 }
66 template <typename SourceT = Aws::String>
68 SetSource(std::forward<SourceT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_detailType;
74
75 Aws::String m_source;
76 bool m_detailTypeHasBeenSet = false;
77 bool m_sourceHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Scheduler
82} // namespace Aws
AWS_SCHEDULER_API EventBridgeParameters()=default
EventBridgeParameters & WithDetailType(DetailTypeT &&value)
AWS_SCHEDULER_API EventBridgeParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SCHEDULER_API EventBridgeParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
EventBridgeParameters & WithSource(SourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue