AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TriggerConfig.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/TriggerType.h>
9#include <aws/appflow/model/TriggerProperties.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 Appflow
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPFLOW_API TriggerConfig();
37 AWS_APPFLOW_API TriggerConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const TriggerType& GetTriggerType() const{ return m_triggerType; }
48 inline bool TriggerTypeHasBeenSet() const { return m_triggerTypeHasBeenSet; }
49 inline void SetTriggerType(const TriggerType& value) { m_triggerTypeHasBeenSet = true; m_triggerType = value; }
50 inline void SetTriggerType(TriggerType&& value) { m_triggerTypeHasBeenSet = true; m_triggerType = std::move(value); }
51 inline TriggerConfig& WithTriggerType(const TriggerType& value) { SetTriggerType(value); return *this;}
52 inline TriggerConfig& WithTriggerType(TriggerType&& value) { SetTriggerType(std::move(value)); return *this;}
54
56
61 inline const TriggerProperties& GetTriggerProperties() const{ return m_triggerProperties; }
62 inline bool TriggerPropertiesHasBeenSet() const { return m_triggerPropertiesHasBeenSet; }
63 inline void SetTriggerProperties(const TriggerProperties& value) { m_triggerPropertiesHasBeenSet = true; m_triggerProperties = value; }
64 inline void SetTriggerProperties(TriggerProperties&& value) { m_triggerPropertiesHasBeenSet = true; m_triggerProperties = std::move(value); }
65 inline TriggerConfig& WithTriggerProperties(const TriggerProperties& value) { SetTriggerProperties(value); return *this;}
66 inline TriggerConfig& WithTriggerProperties(TriggerProperties&& value) { SetTriggerProperties(std::move(value)); return *this;}
68 private:
69
70 TriggerType m_triggerType;
71 bool m_triggerTypeHasBeenSet = false;
72
73 TriggerProperties m_triggerProperties;
74 bool m_triggerPropertiesHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Appflow
79} // namespace Aws
const TriggerProperties & GetTriggerProperties() const
AWS_APPFLOW_API TriggerConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API TriggerConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTriggerProperties(TriggerProperties &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
TriggerConfig & WithTriggerProperties(const TriggerProperties &value)
const TriggerType & GetTriggerType() const
void SetTriggerProperties(const TriggerProperties &value)
TriggerConfig & WithTriggerType(TriggerType &&value)
TriggerConfig & WithTriggerType(const TriggerType &value)
void SetTriggerType(TriggerType &&value)
void SetTriggerType(const TriggerType &value)
TriggerConfig & WithTriggerProperties(TriggerProperties &&value)
Aws::Utils::Json::JsonValue JsonValue