AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SMSMessageActivity.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/JourneySMSMessage.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 SMSMessageActivity();
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const JourneySMSMessage& GetMessageConfig() const{ return m_messageConfig; }
48 inline bool MessageConfigHasBeenSet() const { return m_messageConfigHasBeenSet; }
49 inline void SetMessageConfig(const JourneySMSMessage& value) { m_messageConfigHasBeenSet = true; m_messageConfig = value; }
50 inline void SetMessageConfig(JourneySMSMessage&& value) { m_messageConfigHasBeenSet = true; m_messageConfig = std::move(value); }
51 inline SMSMessageActivity& WithMessageConfig(const JourneySMSMessage& value) { SetMessageConfig(value); return *this;}
52 inline SMSMessageActivity& WithMessageConfig(JourneySMSMessage&& 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 SMSMessageActivity& WithNextActivity(const Aws::String& value) { SetNextActivity(value); return *this;}
66 inline SMSMessageActivity& WithNextActivity(Aws::String&& value) { SetNextActivity(std::move(value)); return *this;}
67 inline SMSMessageActivity& 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 SMSMessageActivity& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
81 inline SMSMessageActivity& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
82 inline SMSMessageActivity& 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 SMSMessageActivity& WithTemplateVersion(const Aws::String& value) { SetTemplateVersion(value); return *this;}
104 inline SMSMessageActivity& WithTemplateVersion(Aws::String&& value) { SetTemplateVersion(std::move(value)); return *this;}
105 inline SMSMessageActivity& WithTemplateVersion(const char* value) { SetTemplateVersion(value); return *this;}
107 private:
108
109 JourneySMSMessage 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
SMSMessageActivity & WithMessageConfig(const JourneySMSMessage &value)
AWS_PINPOINT_API SMSMessageActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
SMSMessageActivity & WithTemplateName(const Aws::String &value)
void SetTemplateVersion(const Aws::String &value)
SMSMessageActivity & WithMessageConfig(JourneySMSMessage &&value)
SMSMessageActivity & WithNextActivity(const Aws::String &value)
void SetMessageConfig(JourneySMSMessage &&value)
const JourneySMSMessage & GetMessageConfig() const
SMSMessageActivity & WithTemplateVersion(const char *value)
SMSMessageActivity & WithNextActivity(Aws::String &&value)
void SetMessageConfig(const JourneySMSMessage &value)
void SetNextActivity(const Aws::String &value)
const Aws::String & GetTemplateName() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetNextActivity() const
SMSMessageActivity & WithTemplateName(const char *value)
void SetTemplateName(const Aws::String &value)
SMSMessageActivity & WithTemplateVersion(const Aws::String &value)
const Aws::String & GetTemplateVersion() const
AWS_PINPOINT_API SMSMessageActivity(Aws::Utils::Json::JsonView jsonValue)
SMSMessageActivity & WithTemplateName(Aws::String &&value)
SMSMessageActivity & WithTemplateVersion(Aws::String &&value)
SMSMessageActivity & WithNextActivity(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue