AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CampaignHook.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/Mode.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 Pinpoint
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PINPOINT_API CampaignHook() = default;
37 AWS_PINPOINT_API CampaignHook(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetLambdaFunctionName() const { return m_lambdaFunctionName; }
48 inline bool LambdaFunctionNameHasBeenSet() const { return m_lambdaFunctionNameHasBeenSet; }
49 template<typename LambdaFunctionNameT = Aws::String>
50 void SetLambdaFunctionName(LambdaFunctionNameT&& value) { m_lambdaFunctionNameHasBeenSet = true; m_lambdaFunctionName = std::forward<LambdaFunctionNameT>(value); }
51 template<typename LambdaFunctionNameT = Aws::String>
52 CampaignHook& WithLambdaFunctionName(LambdaFunctionNameT&& value) { SetLambdaFunctionName(std::forward<LambdaFunctionNameT>(value)); return *this;}
54
56
65 inline Mode GetMode() const { return m_mode; }
66 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
67 inline void SetMode(Mode value) { m_modeHasBeenSet = true; m_mode = value; }
68 inline CampaignHook& WithMode(Mode value) { SetMode(value); return *this;}
70
72
76 inline const Aws::String& GetWebUrl() const { return m_webUrl; }
77 inline bool WebUrlHasBeenSet() const { return m_webUrlHasBeenSet; }
78 template<typename WebUrlT = Aws::String>
79 void SetWebUrl(WebUrlT&& value) { m_webUrlHasBeenSet = true; m_webUrl = std::forward<WebUrlT>(value); }
80 template<typename WebUrlT = Aws::String>
81 CampaignHook& WithWebUrl(WebUrlT&& value) { SetWebUrl(std::forward<WebUrlT>(value)); return *this;}
83 private:
84
85 Aws::String m_lambdaFunctionName;
86 bool m_lambdaFunctionNameHasBeenSet = false;
87
88 Mode m_mode{Mode::NOT_SET};
89 bool m_modeHasBeenSet = false;
90
91 Aws::String m_webUrl;
92 bool m_webUrlHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Pinpoint
97} // namespace Aws
AWS_PINPOINT_API CampaignHook()=default
CampaignHook & WithMode(Mode value)
const Aws::String & GetWebUrl() const
void SetWebUrl(WebUrlT &&value)
CampaignHook & WithWebUrl(WebUrlT &&value)
AWS_PINPOINT_API CampaignHook & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
CampaignHook & WithLambdaFunctionName(LambdaFunctionNameT &&value)
void SetLambdaFunctionName(LambdaFunctionNameT &&value)
AWS_PINPOINT_API CampaignHook(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLambdaFunctionName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue