7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iotevents/model/RecipientDetail.h>
51 template<
typename ToT = Aws::Vector<RecipientDetail>>
52 void SetTo(ToT&& value) { m_toHasBeenSet =
true; m_to = std::forward<ToT>(value); }
53 template<
typename ToT = Aws::Vector<RecipientDetail>>
55 template<
typename ToT = RecipientDetail>
56 EmailRecipients&
AddTo(ToT&& value) { m_toHasBeenSet =
true; m_to.emplace_back(std::forward<ToT>(value));
return *
this; }
61 bool m_toHasBeenSet =
false;
EmailRecipients & AddTo(ToT &&value)
AWS_IOTEVENTS_API EmailRecipients(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API EmailRecipients()=default
const Aws::Vector< RecipientDetail > & GetTo() const
AWS_IOTEVENTS_API EmailRecipients & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
EmailRecipients & WithTo(ToT &&value)
bool ToHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue