AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EmailMessageActivity.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/JourneyEmailMessage.h>
9#include <aws/core/utils/memory/stl/AWSString.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 EmailMessageActivity();
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const JourneyEmailMessage& GetMessageConfig() const{ return m_messageConfig; }
48 inline bool MessageConfigHasBeenSet() const { return m_messageConfigHasBeenSet; }
49 inline void SetMessageConfig(const JourneyEmailMessage& value) { m_messageConfigHasBeenSet = true; m_messageConfig = value; }
50 inline void SetMessageConfig(JourneyEmailMessage&& value) { m_messageConfigHasBeenSet = true; m_messageConfig = std::move(value); }
51 inline EmailMessageActivity& WithMessageConfig(const JourneyEmailMessage& value) { SetMessageConfig(value); return *this;}
52 inline EmailMessageActivity& WithMessageConfig(JourneyEmailMessage&& value) { SetMessageConfig(std::move(value)); return *this;}
54
56
60 inline const Aws::String& GetNextActivity() const{ return m_nextActivity; }
61 inline bool NextActivityHasBeenSet() const { return m_nextActivityHasBeenSet; }
62 inline void SetNextActivity(const Aws::String& value) { m_nextActivityHasBeenSet = true; m_nextActivity = value; }
63 inline void SetNextActivity(Aws::String&& value) { m_nextActivityHasBeenSet = true; m_nextActivity = std::move(value); }
64 inline void SetNextActivity(const char* value) { m_nextActivityHasBeenSet = true; m_nextActivity.assign(value); }
65 inline EmailMessageActivity& WithNextActivity(const Aws::String& value) { SetNextActivity(value); return *this;}
66 inline EmailMessageActivity& WithNextActivity(Aws::String&& value) { SetNextActivity(std::move(value)); return *this;}
67 inline EmailMessageActivity& WithNextActivity(const char* value) { SetNextActivity(value); return *this;}
69
71
75 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
76 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
77 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
78 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
79 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
80 inline EmailMessageActivity& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
81 inline EmailMessageActivity& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
82 inline EmailMessageActivity& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
84
86
98 inline const Aws::String& GetTemplateVersion() const{ return m_templateVersion; }
99 inline bool TemplateVersionHasBeenSet() const { return m_templateVersionHasBeenSet; }
100 inline void SetTemplateVersion(const Aws::String& value) { m_templateVersionHasBeenSet = true; m_templateVersion = value; }
101 inline void SetTemplateVersion(Aws::String&& value) { m_templateVersionHasBeenSet = true; m_templateVersion = std::move(value); }
102 inline void SetTemplateVersion(const char* value) { m_templateVersionHasBeenSet = true; m_templateVersion.assign(value); }
103 inline EmailMessageActivity& WithTemplateVersion(const Aws::String& value) { SetTemplateVersion(value); return *this;}
104 inline EmailMessageActivity& WithTemplateVersion(Aws::String&& value) { SetTemplateVersion(std::move(value)); return *this;}
105 inline EmailMessageActivity& WithTemplateVersion(const char* value) { SetTemplateVersion(value); return *this;}
107 private:
108
109 JourneyEmailMessage m_messageConfig;
110 bool m_messageConfigHasBeenSet = false;
111
112 Aws::String m_nextActivity;
113 bool m_nextActivityHasBeenSet = false;
114
115 Aws::String m_templateName;
116 bool m_templateNameHasBeenSet = false;
117
118 Aws::String m_templateVersion;
119 bool m_templateVersionHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace Pinpoint
124} // namespace Aws
void SetTemplateVersion(const Aws::String &value)
EmailMessageActivity & WithTemplateVersion(Aws::String &&value)
const JourneyEmailMessage & GetMessageConfig() const
void SetMessageConfig(JourneyEmailMessage &&value)
EmailMessageActivity & WithTemplateName(const Aws::String &value)
EmailMessageActivity & WithTemplateVersion(const char *value)
EmailMessageActivity & WithNextActivity(const char *value)
EmailMessageActivity & WithMessageConfig(JourneyEmailMessage &&value)
EmailMessageActivity & WithTemplateName(const char *value)
EmailMessageActivity & WithTemplateName(Aws::String &&value)
EmailMessageActivity & WithNextActivity(const Aws::String &value)
void SetMessageConfig(const JourneyEmailMessage &value)
AWS_PINPOINT_API EmailMessageActivity(Aws::Utils::Json::JsonView jsonValue)
EmailMessageActivity & WithTemplateVersion(const Aws::String &value)
EmailMessageActivity & WithMessageConfig(const JourneyEmailMessage &value)
AWS_PINPOINT_API EmailMessageActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
EmailMessageActivity & WithNextActivity(Aws::String &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNextActivity(const Aws::String &value)
void SetTemplateName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue