AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EmailContent.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_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 IoTEvents
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOTEVENTS_API EmailContent();
35 AWS_IOTEVENTS_API EmailContent(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTEVENTS_API EmailContent& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetSubject() const{ return m_subject; }
45 inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; }
46 inline void SetSubject(const Aws::String& value) { m_subjectHasBeenSet = true; m_subject = value; }
47 inline void SetSubject(Aws::String&& value) { m_subjectHasBeenSet = true; m_subject = std::move(value); }
48 inline void SetSubject(const char* value) { m_subjectHasBeenSet = true; m_subject.assign(value); }
49 inline EmailContent& WithSubject(const Aws::String& value) { SetSubject(value); return *this;}
50 inline EmailContent& WithSubject(Aws::String&& value) { SetSubject(std::move(value)); return *this;}
51 inline EmailContent& WithSubject(const char* value) { SetSubject(value); return *this;}
53
55
59 inline const Aws::String& GetAdditionalMessage() const{ return m_additionalMessage; }
60 inline bool AdditionalMessageHasBeenSet() const { return m_additionalMessageHasBeenSet; }
61 inline void SetAdditionalMessage(const Aws::String& value) { m_additionalMessageHasBeenSet = true; m_additionalMessage = value; }
62 inline void SetAdditionalMessage(Aws::String&& value) { m_additionalMessageHasBeenSet = true; m_additionalMessage = std::move(value); }
63 inline void SetAdditionalMessage(const char* value) { m_additionalMessageHasBeenSet = true; m_additionalMessage.assign(value); }
64 inline EmailContent& WithAdditionalMessage(const Aws::String& value) { SetAdditionalMessage(value); return *this;}
65 inline EmailContent& WithAdditionalMessage(Aws::String&& value) { SetAdditionalMessage(std::move(value)); return *this;}
66 inline EmailContent& WithAdditionalMessage(const char* value) { SetAdditionalMessage(value); return *this;}
68 private:
69
70 Aws::String m_subject;
71 bool m_subjectHasBeenSet = false;
72
73 Aws::String m_additionalMessage;
74 bool m_additionalMessageHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoTEvents
79} // namespace Aws
void SetAdditionalMessage(const char *value)
AWS_IOTEVENTS_API EmailContent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAdditionalMessage(Aws::String &&value)
void SetSubject(const char *value)
void SetSubject(const Aws::String &value)
const Aws::String & GetAdditionalMessage() const
AWS_IOTEVENTS_API EmailContent(Aws::Utils::Json::JsonView jsonValue)
void SetSubject(Aws::String &&value)
const Aws::String & GetSubject() const
EmailContent & WithSubject(const char *value)
EmailContent & WithAdditionalMessage(const Aws::String &value)
EmailContent & WithAdditionalMessage(Aws::String &&value)
EmailContent & WithAdditionalMessage(const char *value)
void SetAdditionalMessage(const Aws::String &value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
EmailContent & WithSubject(const Aws::String &value)
EmailContent & WithSubject(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue