AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EmailSettings.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 AmplifyBackend
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_AMPLIFYBACKEND_API EmailSettings();
36 AWS_AMPLIFYBACKEND_API EmailSettings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AMPLIFYBACKEND_API EmailSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEmailMessage() const{ return m_emailMessage; }
46 inline bool EmailMessageHasBeenSet() const { return m_emailMessageHasBeenSet; }
47 inline void SetEmailMessage(const Aws::String& value) { m_emailMessageHasBeenSet = true; m_emailMessage = value; }
48 inline void SetEmailMessage(Aws::String&& value) { m_emailMessageHasBeenSet = true; m_emailMessage = std::move(value); }
49 inline void SetEmailMessage(const char* value) { m_emailMessageHasBeenSet = true; m_emailMessage.assign(value); }
50 inline EmailSettings& WithEmailMessage(const Aws::String& value) { SetEmailMessage(value); return *this;}
51 inline EmailSettings& WithEmailMessage(Aws::String&& value) { SetEmailMessage(std::move(value)); return *this;}
52 inline EmailSettings& WithEmailMessage(const char* value) { SetEmailMessage(value); return *this;}
54
56
59 inline const Aws::String& GetEmailSubject() const{ return m_emailSubject; }
60 inline bool EmailSubjectHasBeenSet() const { return m_emailSubjectHasBeenSet; }
61 inline void SetEmailSubject(const Aws::String& value) { m_emailSubjectHasBeenSet = true; m_emailSubject = value; }
62 inline void SetEmailSubject(Aws::String&& value) { m_emailSubjectHasBeenSet = true; m_emailSubject = std::move(value); }
63 inline void SetEmailSubject(const char* value) { m_emailSubjectHasBeenSet = true; m_emailSubject.assign(value); }
64 inline EmailSettings& WithEmailSubject(const Aws::String& value) { SetEmailSubject(value); return *this;}
65 inline EmailSettings& WithEmailSubject(Aws::String&& value) { SetEmailSubject(std::move(value)); return *this;}
66 inline EmailSettings& WithEmailSubject(const char* value) { SetEmailSubject(value); return *this;}
68 private:
69
70 Aws::String m_emailMessage;
71 bool m_emailMessageHasBeenSet = false;
72
73 Aws::String m_emailSubject;
74 bool m_emailSubjectHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace AmplifyBackend
79} // namespace Aws
EmailSettings & WithEmailSubject(Aws::String &&value)
EmailSettings & WithEmailSubject(const char *value)
void SetEmailSubject(const Aws::String &value)
void SetEmailMessage(const Aws::String &value)
AWS_AMPLIFYBACKEND_API EmailSettings()
void SetEmailMessage(Aws::String &&value)
EmailSettings & WithEmailSubject(const Aws::String &value)
const Aws::String & GetEmailSubject() const
AWS_AMPLIFYBACKEND_API EmailSettings(Aws::Utils::Json::JsonView jsonValue)
EmailSettings & WithEmailMessage(const Aws::String &value)
void SetEmailSubject(Aws::String &&value)
EmailSettings & WithEmailMessage(const char *value)
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEmailMessage() const
EmailSettings & WithEmailMessage(Aws::String &&value)
AWS_AMPLIFYBACKEND_API EmailSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue