AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventSource.h
1
6#pragma once
7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/dlm/model/EventSourceValues.h>
9#include <aws/dlm/model/EventParameters.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DLM
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DLM_API EventSource();
40
41
43
47 inline const EventSourceValues& GetType() const{ return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(const EventSourceValues& value) { m_typeHasBeenSet = true; m_type = value; }
50 inline void SetType(EventSourceValues&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
51 inline EventSource& WithType(const EventSourceValues& value) { SetType(value); return *this;}
52 inline EventSource& WithType(EventSourceValues&& value) { SetType(std::move(value)); return *this;}
54
56
59 inline const EventParameters& GetParameters() const{ return m_parameters; }
60 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
61 inline void SetParameters(const EventParameters& value) { m_parametersHasBeenSet = true; m_parameters = value; }
62 inline void SetParameters(EventParameters&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
63 inline EventSource& WithParameters(const EventParameters& value) { SetParameters(value); return *this;}
64 inline EventSource& WithParameters(EventParameters&& value) { SetParameters(std::move(value)); return *this;}
66 private:
67
68 EventSourceValues m_type;
69 bool m_typeHasBeenSet = false;
70
71 EventParameters m_parameters;
72 bool m_parametersHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace DLM
77} // namespace Aws
const EventParameters & GetParameters() const
Definition EventSource.h:59
const EventSourceValues & GetType() const
Definition EventSource.h:47
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetParameters(const EventParameters &value)
Definition EventSource.h:61
bool ParametersHasBeenSet() const
Definition EventSource.h:60
AWS_DLM_API EventSource(Aws::Utils::Json::JsonView jsonValue)
void SetType(EventSourceValues &&value)
Definition EventSource.h:50
EventSource & WithParameters(const EventParameters &value)
Definition EventSource.h:63
EventSource & WithType(EventSourceValues &&value)
Definition EventSource.h:52
AWS_DLM_API EventSource & operator=(Aws::Utils::Json::JsonView jsonValue)
EventSource & WithParameters(EventParameters &&value)
Definition EventSource.h:64
void SetType(const EventSourceValues &value)
Definition EventSource.h:49
void SetParameters(EventParameters &&value)
Definition EventSource.h:62
EventSource & WithType(const EventSourceValues &value)
Definition EventSource.h:51
Aws::Utils::Json::JsonValue JsonValue