7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename AddressT = Aws::String>
48 void SetAddress(AddressT&& value) { m_addressHasBeenSet =
true; m_address = std::forward<AddressT>(value); }
49 template<
typename AddressT = Aws::String>
60 template<
typename DisplayNameT = Aws::String>
61 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
62 template<
typename DisplayNameT = Aws::String>
68 bool m_addressHasBeenSet =
false;
71 bool m_displayNameHasBeenSet =
false;
AWS_CONNECT_API EmailRecipient & operator=(Aws::Utils::Json::JsonView jsonValue)
EmailRecipient & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetAddress() const
void SetAddress(AddressT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API EmailRecipient(Aws::Utils::Json::JsonView jsonValue)
bool DisplayNameHasBeenSet() const
EmailRecipient & WithAddress(AddressT &&value)
bool AddressHasBeenSet() const
void SetDisplayName(DisplayNameT &&value)
AWS_CONNECT_API EmailRecipient()=default
const Aws::String & GetDisplayName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue