7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace PinpointEmail
49 template<
typename ToAddressesT = Aws::Vector<Aws::String>>
50 void SetToAddresses(ToAddressesT&& value) { m_toAddressesHasBeenSet =
true; m_toAddresses = std::forward<ToAddressesT>(value); }
51 template<
typename ToAddressesT = Aws::Vector<Aws::String>>
53 template<
typename ToAddressesT = Aws::String>
54 Destination&
AddToAddresses(ToAddressesT&& value) { m_toAddressesHasBeenSet =
true; m_toAddresses.emplace_back(std::forward<ToAddressesT>(value));
return *
this; }
64 template<
typename CcAddressesT = Aws::Vector<Aws::String>>
65 void SetCcAddresses(CcAddressesT&& value) { m_ccAddressesHasBeenSet =
true; m_ccAddresses = std::forward<CcAddressesT>(value); }
66 template<
typename CcAddressesT = Aws::Vector<Aws::String>>
68 template<
typename CcAddressesT = Aws::String>
69 Destination&
AddCcAddresses(CcAddressesT&& value) { m_ccAddressesHasBeenSet =
true; m_ccAddresses.emplace_back(std::forward<CcAddressesT>(value));
return *
this; }
79 template<
typename BccAddressesT = Aws::Vector<Aws::String>>
80 void SetBccAddresses(BccAddressesT&& value) { m_bccAddressesHasBeenSet =
true; m_bccAddresses = std::forward<BccAddressesT>(value); }
81 template<
typename BccAddressesT = Aws::Vector<Aws::String>>
83 template<
typename BccAddressesT = Aws::String>
84 Destination&
AddBccAddresses(BccAddressesT&& value) { m_bccAddressesHasBeenSet =
true; m_bccAddresses.emplace_back(std::forward<BccAddressesT>(value));
return *
this; }
89 bool m_toAddressesHasBeenSet =
false;
92 bool m_ccAddressesHasBeenSet =
false;
95 bool m_bccAddressesHasBeenSet =
false;
void SetToAddresses(ToAddressesT &&value)
bool CcAddressesHasBeenSet() const
void SetBccAddresses(BccAddressesT &&value)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetBccAddresses() const
void SetCcAddresses(CcAddressesT &&value)
bool BccAddressesHasBeenSet() const
Destination & AddBccAddresses(BccAddressesT &&value)
const Aws::Vector< Aws::String > & GetCcAddresses() const
Destination & AddToAddresses(ToAddressesT &&value)
Destination & WithBccAddresses(BccAddressesT &&value)
AWS_PINPOINTEMAIL_API Destination(Aws::Utils::Json::JsonView jsonValue)
bool ToAddressesHasBeenSet() const
Destination & AddCcAddresses(CcAddressesT &&value)
const Aws::Vector< Aws::String > & GetToAddresses() const
Destination & WithToAddresses(ToAddressesT &&value)
Destination & WithCcAddresses(CcAddressesT &&value)
AWS_PINPOINTEMAIL_API Destination()=default
AWS_PINPOINTEMAIL_API Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue