AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventBridgeParameters.h
1
6#pragma once
7#include <aws/scheduler/Scheduler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 Scheduler
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SCHEDULER_API EventBridgeParameters();
39 AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetDetailType() const{ return m_detailType; }
48 inline bool DetailTypeHasBeenSet() const { return m_detailTypeHasBeenSet; }
49 inline void SetDetailType(const Aws::String& value) { m_detailTypeHasBeenSet = true; m_detailType = value; }
50 inline void SetDetailType(Aws::String&& value) { m_detailTypeHasBeenSet = true; m_detailType = std::move(value); }
51 inline void SetDetailType(const char* value) { m_detailTypeHasBeenSet = true; m_detailType.assign(value); }
52 inline EventBridgeParameters& WithDetailType(const Aws::String& value) { SetDetailType(value); return *this;}
53 inline EventBridgeParameters& WithDetailType(Aws::String&& value) { SetDetailType(std::move(value)); return *this;}
54 inline EventBridgeParameters& WithDetailType(const char* value) { SetDetailType(value); return *this;}
56
58
61 inline const Aws::String& GetSource() const{ return m_source; }
62 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
63 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
64 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
65 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
66 inline EventBridgeParameters& WithSource(const Aws::String& value) { SetSource(value); return *this;}
67 inline EventBridgeParameters& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
68 inline EventBridgeParameters& WithSource(const char* value) { SetSource(value); return *this;}
70 private:
71
72 Aws::String m_detailType;
73 bool m_detailTypeHasBeenSet = false;
74
75 Aws::String m_source;
76 bool m_sourceHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Scheduler
81} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue