7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
49 inline void SetFrom(
const char* value) { m_fromHasBeenSet =
true; m_from.assign(value); }
63 inline void SetHelo(
const char* value) { m_heloHasBeenSet =
true; m_helo.assign(value); }
81 inline Envelope&
AddTo(
const char* value) { m_toHasBeenSet =
true; m_to.push_back(value);
return *
this; }
86 bool m_fromHasBeenSet =
false;
89 bool m_heloHasBeenSet =
false;
92 bool m_toHasBeenSet =
false;
const Aws::String & GetHelo() const
const Aws::Vector< Aws::String > & GetTo() const
Envelope & WithHelo(const char *value)
AWS_MAILMANAGER_API Envelope(Aws::Utils::Json::JsonView jsonValue)
void SetHelo(const char *value)
void SetFrom(const Aws::String &value)
void SetFrom(Aws::String &&value)
void SetFrom(const char *value)
Envelope & WithTo(const Aws::Vector< Aws::String > &value)
Envelope & WithHelo(const Aws::String &value)
Envelope & WithFrom(const Aws::String &value)
void SetHelo(const Aws::String &value)
Envelope & AddTo(const Aws::String &value)
bool FromHasBeenSet() const
Envelope & AddTo(const char *value)
Envelope & AddTo(Aws::String &&value)
Envelope & WithFrom(const char *value)
bool ToHasBeenSet() const
void SetTo(const Aws::Vector< Aws::String > &value)
AWS_MAILMANAGER_API Envelope()
Envelope & WithHelo(Aws::String &&value)
void SetHelo(Aws::String &&value)
const Aws::String & GetFrom() const
Envelope & WithTo(Aws::Vector< Aws::String > &&value)
void SetTo(Aws::Vector< Aws::String > &&value)
AWS_MAILMANAGER_API Envelope & operator=(Aws::Utils::Json::JsonView jsonValue)
Envelope & WithFrom(Aws::String &&value)
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