AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EmailConfiguration.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents/model/EmailContent.h>
10#include <aws/iotevents/model/EmailRecipients.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTEvents
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTEVENTS_API EmailConfiguration();
38 AWS_IOTEVENTS_API EmailConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const Aws::String& GetFrom() const{ return m_from; }
51 inline bool FromHasBeenSet() const { return m_fromHasBeenSet; }
52 inline void SetFrom(const Aws::String& value) { m_fromHasBeenSet = true; m_from = value; }
53 inline void SetFrom(Aws::String&& value) { m_fromHasBeenSet = true; m_from = std::move(value); }
54 inline void SetFrom(const char* value) { m_fromHasBeenSet = true; m_from.assign(value); }
55 inline EmailConfiguration& WithFrom(const Aws::String& value) { SetFrom(value); return *this;}
56 inline EmailConfiguration& WithFrom(Aws::String&& value) { SetFrom(std::move(value)); return *this;}
57 inline EmailConfiguration& WithFrom(const char* value) { SetFrom(value); return *this;}
59
61
64 inline const EmailContent& GetContent() const{ return m_content; }
65 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
66 inline void SetContent(const EmailContent& value) { m_contentHasBeenSet = true; m_content = value; }
67 inline void SetContent(EmailContent&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
68 inline EmailConfiguration& WithContent(const EmailContent& value) { SetContent(value); return *this;}
69 inline EmailConfiguration& WithContent(EmailContent&& value) { SetContent(std::move(value)); return *this;}
71
73
79 inline const EmailRecipients& GetRecipients() const{ return m_recipients; }
80 inline bool RecipientsHasBeenSet() const { return m_recipientsHasBeenSet; }
81 inline void SetRecipients(const EmailRecipients& value) { m_recipientsHasBeenSet = true; m_recipients = value; }
82 inline void SetRecipients(EmailRecipients&& value) { m_recipientsHasBeenSet = true; m_recipients = std::move(value); }
83 inline EmailConfiguration& WithRecipients(const EmailRecipients& value) { SetRecipients(value); return *this;}
84 inline EmailConfiguration& WithRecipients(EmailRecipients&& value) { SetRecipients(std::move(value)); return *this;}
86 private:
87
88 Aws::String m_from;
89 bool m_fromHasBeenSet = false;
90
91 EmailContent m_content;
92 bool m_contentHasBeenSet = false;
93
94 EmailRecipients m_recipients;
95 bool m_recipientsHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace IoTEvents
100} // namespace Aws
EmailConfiguration & WithFrom(const Aws::String &value)
void SetRecipients(EmailRecipients &&value)
AWS_IOTEVENTS_API EmailConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API EmailConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFrom(const Aws::String &value)
const EmailRecipients & GetRecipients() const
EmailConfiguration & WithRecipients(EmailRecipients &&value)
EmailConfiguration & WithContent(EmailContent &&value)
void SetRecipients(const EmailRecipients &value)
EmailConfiguration & WithContent(const EmailContent &value)
EmailConfiguration & WithFrom(Aws::String &&value)
EmailConfiguration & WithRecipients(const EmailRecipients &value)
EmailConfiguration & WithFrom(const char *value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContent(const EmailContent &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue