AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TemplateConfiguration.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/Template.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Pinpoint
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PINPOINT_API TemplateConfiguration();
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Template& GetEmailTemplate() const{ return m_emailTemplate; }
46 inline bool EmailTemplateHasBeenSet() const { return m_emailTemplateHasBeenSet; }
47 inline void SetEmailTemplate(const Template& value) { m_emailTemplateHasBeenSet = true; m_emailTemplate = value; }
48 inline void SetEmailTemplate(Template&& value) { m_emailTemplateHasBeenSet = true; m_emailTemplate = std::move(value); }
49 inline TemplateConfiguration& WithEmailTemplate(const Template& value) { SetEmailTemplate(value); return *this;}
50 inline TemplateConfiguration& WithEmailTemplate(Template&& value) { SetEmailTemplate(std::move(value)); return *this;}
52
54
57 inline const Template& GetPushTemplate() const{ return m_pushTemplate; }
58 inline bool PushTemplateHasBeenSet() const { return m_pushTemplateHasBeenSet; }
59 inline void SetPushTemplate(const Template& value) { m_pushTemplateHasBeenSet = true; m_pushTemplate = value; }
60 inline void SetPushTemplate(Template&& value) { m_pushTemplateHasBeenSet = true; m_pushTemplate = std::move(value); }
61 inline TemplateConfiguration& WithPushTemplate(const Template& value) { SetPushTemplate(value); return *this;}
62 inline TemplateConfiguration& WithPushTemplate(Template&& value) { SetPushTemplate(std::move(value)); return *this;}
64
66
69 inline const Template& GetSMSTemplate() const{ return m_sMSTemplate; }
70 inline bool SMSTemplateHasBeenSet() const { return m_sMSTemplateHasBeenSet; }
71 inline void SetSMSTemplate(const Template& value) { m_sMSTemplateHasBeenSet = true; m_sMSTemplate = value; }
72 inline void SetSMSTemplate(Template&& value) { m_sMSTemplateHasBeenSet = true; m_sMSTemplate = std::move(value); }
73 inline TemplateConfiguration& WithSMSTemplate(const Template& value) { SetSMSTemplate(value); return *this;}
74 inline TemplateConfiguration& WithSMSTemplate(Template&& value) { SetSMSTemplate(std::move(value)); return *this;}
76
78
82 inline const Template& GetVoiceTemplate() const{ return m_voiceTemplate; }
83 inline bool VoiceTemplateHasBeenSet() const { return m_voiceTemplateHasBeenSet; }
84 inline void SetVoiceTemplate(const Template& value) { m_voiceTemplateHasBeenSet = true; m_voiceTemplate = value; }
85 inline void SetVoiceTemplate(Template&& value) { m_voiceTemplateHasBeenSet = true; m_voiceTemplate = std::move(value); }
86 inline TemplateConfiguration& WithVoiceTemplate(const Template& value) { SetVoiceTemplate(value); return *this;}
87 inline TemplateConfiguration& WithVoiceTemplate(Template&& value) { SetVoiceTemplate(std::move(value)); return *this;}
89
91
95 inline const Template& GetInAppTemplate() const{ return m_inAppTemplate; }
96 inline bool InAppTemplateHasBeenSet() const { return m_inAppTemplateHasBeenSet; }
97 inline void SetInAppTemplate(const Template& value) { m_inAppTemplateHasBeenSet = true; m_inAppTemplate = value; }
98 inline void SetInAppTemplate(Template&& value) { m_inAppTemplateHasBeenSet = true; m_inAppTemplate = std::move(value); }
99 inline TemplateConfiguration& WithInAppTemplate(const Template& value) { SetInAppTemplate(value); return *this;}
100 inline TemplateConfiguration& WithInAppTemplate(Template&& value) { SetInAppTemplate(std::move(value)); return *this;}
102 private:
103
104 Template m_emailTemplate;
105 bool m_emailTemplateHasBeenSet = false;
106
107 Template m_pushTemplate;
108 bool m_pushTemplateHasBeenSet = false;
109
110 Template m_sMSTemplate;
111 bool m_sMSTemplateHasBeenSet = false;
112
113 Template m_voiceTemplate;
114 bool m_voiceTemplateHasBeenSet = false;
115
116 Template m_inAppTemplate;
117 bool m_inAppTemplateHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace Pinpoint
122} // namespace Aws
TemplateConfiguration & WithVoiceTemplate(Template &&value)
TemplateConfiguration & WithInAppTemplate(const Template &value)
TemplateConfiguration & WithPushTemplate(const Template &value)
TemplateConfiguration & WithEmailTemplate(const Template &value)
TemplateConfiguration & WithInAppTemplate(Template &&value)
AWS_PINPOINT_API TemplateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API TemplateConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
TemplateConfiguration & WithVoiceTemplate(const Template &value)
TemplateConfiguration & WithSMSTemplate(Template &&value)
TemplateConfiguration & WithPushTemplate(Template &&value)
TemplateConfiguration & WithEmailTemplate(Template &&value)
TemplateConfiguration & WithSMSTemplate(const Template &value)
Aws::Utils::Json::JsonValue JsonValue