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/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/model/TriggerType.h>
9#include <aws/customer-profiles/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 CustomerProfiles
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CUSTOMERPROFILES_API TriggerConfig();
37 AWS_CUSTOMERPROFILES_API TriggerConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CUSTOMERPROFILES_API TriggerConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CUSTOMERPROFILES_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
60 inline const TriggerProperties& GetTriggerProperties() const{ return m_triggerProperties; }
61 inline bool TriggerPropertiesHasBeenSet() const { return m_triggerPropertiesHasBeenSet; }
62 inline void SetTriggerProperties(const TriggerProperties& value) { m_triggerPropertiesHasBeenSet = true; m_triggerProperties = value; }
63 inline void SetTriggerProperties(TriggerProperties&& value) { m_triggerPropertiesHasBeenSet = true; m_triggerProperties = std::move(value); }
64 inline TriggerConfig& WithTriggerProperties(const TriggerProperties& value) { SetTriggerProperties(value); return *this;}
65 inline TriggerConfig& WithTriggerProperties(TriggerProperties&& value) { SetTriggerProperties(std::move(value)); return *this;}
67 private:
68
69 TriggerType m_triggerType;
70 bool m_triggerTypeHasBeenSet = false;
71
72 TriggerProperties m_triggerProperties;
73 bool m_triggerPropertiesHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace CustomerProfiles
78} // namespace Aws
TriggerConfig & WithTriggerType(TriggerType &&value)
TriggerConfig & WithTriggerProperties(TriggerProperties &&value)
const TriggerProperties & GetTriggerProperties() const
TriggerConfig & WithTriggerType(const TriggerType &value)
AWS_CUSTOMERPROFILES_API TriggerConfig()
AWS_CUSTOMERPROFILES_API TriggerConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTriggerProperties(TriggerProperties &&value)
void SetTriggerType(const TriggerType &value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
const TriggerType & GetTriggerType() const
TriggerConfig & WithTriggerProperties(const TriggerProperties &value)
void SetTriggerProperties(const TriggerProperties &value)
AWS_CUSTOMERPROFILES_API TriggerConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue