AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
JourneyEmailMessage.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Pinpoint {
20namespace Model {
21
29 public:
30 AWS_PINPOINT_API JourneyEmailMessage() = default;
33 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetFromAddress() const { return m_fromAddress; }
42 inline bool FromAddressHasBeenSet() const { return m_fromAddressHasBeenSet; }
43 template <typename FromAddressT = Aws::String>
44 void SetFromAddress(FromAddressT&& value) {
45 m_fromAddressHasBeenSet = true;
46 m_fromAddress = std::forward<FromAddressT>(value);
47 }
48 template <typename FromAddressT = Aws::String>
49 JourneyEmailMessage& WithFromAddress(FromAddressT&& value) {
50 SetFromAddress(std::forward<FromAddressT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_fromAddress;
56 bool m_fromAddressHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace Pinpoint
61} // namespace Aws
JourneyEmailMessage & WithFromAddress(FromAddressT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API JourneyEmailMessage(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API JourneyEmailMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API JourneyEmailMessage()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue