7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mailmanager/MailManager_EXPORTS.h>
20namespace MailManager {
41 template <
typename HeloT = Aws::String>
43 m_heloHasBeenSet =
true;
44 m_helo = std::forward<HeloT>(value);
46 template <
typename HeloT = Aws::String>
48 SetHelo(std::forward<HeloT>(value));
59 template <
typename FromT = Aws::String>
61 m_fromHasBeenSet =
true;
62 m_from = std::forward<FromT>(value);
64 template <
typename FromT = Aws::String>
66 SetFrom(std::forward<FromT>(value));
77 template <
typename ToT = Aws::Vector<Aws::String>>
79 m_toHasBeenSet =
true;
80 m_to = std::forward<ToT>(value);
82 template <
typename ToT = Aws::Vector<Aws::String>>
84 SetTo(std::forward<ToT>(value));
87 template <
typename ToT = Aws::String>
89 m_toHasBeenSet =
true;
90 m_to.emplace_back(std::forward<ToT>(value));
100 bool m_heloHasBeenSet =
false;
101 bool m_fromHasBeenSet =
false;
102 bool m_toHasBeenSet =
false;
const Aws::String & GetHelo() const
const Aws::Vector< Aws::String > & GetTo() const
AWS_MAILMANAGER_API Envelope()=default
AWS_MAILMANAGER_API Envelope(Aws::Utils::Json::JsonView jsonValue)
Envelope & WithHelo(HeloT &&value)
bool FromHasBeenSet() const
void SetHelo(HeloT &&value)
bool ToHasBeenSet() const
const Aws::String & GetFrom() const
Envelope & AddTo(ToT &&value)
Envelope & WithTo(ToT &&value)
void SetFrom(FromT &&value)
Envelope & WithFrom(FromT &&value)
AWS_MAILMANAGER_API Envelope & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool HeloHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue