AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLambdaFunctionName(const Aws::String& value) { m_lambdaFunctionNameHasBeenSet = true; m_lambdaFunctionName = value; }
50 inline void SetLambdaFunctionName(Aws::String&& value) { m_lambdaFunctionNameHasBeenSet = true; m_lambdaFunctionName = std::move(value); }
51 inline void SetLambdaFunctionName(const char* value) { m_lambdaFunctionNameHasBeenSet = true; m_lambdaFunctionName.assign(value); }
52 inline CampaignHook& WithLambdaFunctionName(const Aws::String& value) { SetLambdaFunctionName(value); return *this;}
53 inline CampaignHook& WithLambdaFunctionName(Aws::String&& value) { SetLambdaFunctionName(std::move(value)); return *this;}
54 inline CampaignHook& WithLambdaFunctionName(const char* value) { SetLambdaFunctionName(value); return *this;}
56
58
67 inline const Mode& GetMode() const{ return m_mode; }
68 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
69 inline void SetMode(const Mode& value) { m_modeHasBeenSet = true; m_mode = value; }
70 inline void SetMode(Mode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
71 inline CampaignHook& WithMode(const Mode& value) { SetMode(value); return *this;}
72 inline CampaignHook& WithMode(Mode&& value) { SetMode(std::move(value)); return *this;}
74
76
80 inline const Aws::String& GetWebUrl() const{ return m_webUrl; }
81 inline bool WebUrlHasBeenSet() const { return m_webUrlHasBeenSet; }
82 inline void SetWebUrl(const Aws::String& value) { m_webUrlHasBeenSet = true; m_webUrl = value; }
83 inline void SetWebUrl(Aws::String&& value) { m_webUrlHasBeenSet = true; m_webUrl = std::move(value); }
84 inline void SetWebUrl(const char* value) { m_webUrlHasBeenSet = true; m_webUrl.assign(value); }
85 inline CampaignHook& WithWebUrl(const Aws::String& value) { SetWebUrl(value); return *this;}
86 inline CampaignHook& WithWebUrl(Aws::String&& value) { SetWebUrl(std::move(value)); return *this;}
87 inline CampaignHook& WithWebUrl(const char* value) { SetWebUrl(value); return *this;}
89 private:
90
91 Aws::String m_lambdaFunctionName;
92 bool m_lambdaFunctionNameHasBeenSet = false;
93
94 Mode m_mode;
95 bool m_modeHasBeenSet = false;
96
97 Aws::String m_webUrl;
98 bool m_webUrlHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Pinpoint
103} // namespace Aws
void SetWebUrl(const char *value)
void SetMode(const Mode &value)
CampaignHook & WithLambdaFunctionName(const char *value)
const Aws::String & GetWebUrl() const
CampaignHook & WithWebUrl(const char *value)
CampaignHook & WithLambdaFunctionName(const Aws::String &value)
CampaignHook & WithWebUrl(Aws::String &&value)
AWS_PINPOINT_API CampaignHook & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWebUrl(Aws::String &&value)
CampaignHook & WithWebUrl(const Aws::String &value)
CampaignHook & WithLambdaFunctionName(Aws::String &&value)
AWS_PINPOINT_API CampaignHook(Aws::Utils::Json::JsonView jsonValue)
void SetLambdaFunctionName(Aws::String &&value)
CampaignHook & WithMode(const Mode &value)
void SetLambdaFunctionName(const Aws::String &value)
void SetWebUrl(const Aws::String &value)
CampaignHook & WithMode(Mode &&value)
const Aws::String & GetLambdaFunctionName() const
void SetLambdaFunctionName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue