AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
EventBridgeParameters.h
Go to the documentation of this file.
1
6#pragma once
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 Scheduler
22{
23namespace Model
24{
25
34 {
35 public:
40
41
46 inline const Aws::String& GetDetailType() const{ return m_detailType; }
47
52 inline bool DetailTypeHasBeenSet() const { return m_detailTypeHasBeenSet; }
53
58 inline void SetDetailType(const Aws::String& value) { m_detailTypeHasBeenSet = true; m_detailType = value; }
59
64 inline void SetDetailType(Aws::String&& value) { m_detailTypeHasBeenSet = true; m_detailType = std::move(value); }
65
70 inline void SetDetailType(const char* value) { m_detailTypeHasBeenSet = true; m_detailType.assign(value); }
71
76 inline EventBridgeParameters& WithDetailType(const Aws::String& value) { SetDetailType(value); return *this;}
77
82 inline EventBridgeParameters& WithDetailType(Aws::String&& value) { SetDetailType(std::move(value)); return *this;}
83
88 inline EventBridgeParameters& WithDetailType(const char* value) { SetDetailType(value); return *this;}
89
90
94 inline const Aws::String& GetSource() const{ return m_source; }
95
99 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
100
104 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
105
109 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
110
114 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
115
119 inline EventBridgeParameters& WithSource(const Aws::String& value) { SetSource(value); return *this;}
120
124 inline EventBridgeParameters& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
125
129 inline EventBridgeParameters& WithSource(const char* value) { SetSource(value); return *this;}
130
131 private:
132
133 Aws::String m_detailType;
134 bool m_detailTypeHasBeenSet = false;
135
136 Aws::String m_source;
137 bool m_sourceHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace Scheduler
142} // namespace Aws
#define AWS_SCHEDULER_API
EventBridgeParameters & WithDetailType(const char *value)
EventBridgeParameters & WithDetailType(const Aws::String &value)
AWS_SCHEDULER_API EventBridgeParameters(Aws::Utils::Json::JsonView jsonValue)
EventBridgeParameters & WithSource(Aws::String &&value)
EventBridgeParameters & WithSource(const char *value)
AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SCHEDULER_API EventBridgeParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
EventBridgeParameters & WithDetailType(Aws::String &&value)
EventBridgeParameters & WithSource(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String