7#include <aws/identitystore/IdentityStore_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace IdentityStore
34 AWS_IDENTITYSTORE_API
Email() =
default;
46 template<
typename ValueT = Aws::String>
47 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
48 template<
typename ValueT = Aws::String>
58 template<
typename TypeT = Aws::String>
59 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
60 template<
typename TypeT = Aws::String>
71 inline void SetPrimary(
bool value) { m_primaryHasBeenSet =
true; m_primary = value; }
77 bool m_valueHasBeenSet =
false;
80 bool m_typeHasBeenSet =
false;
82 bool m_primary{
false};
83 bool m_primaryHasBeenSet =
false;
bool TypeHasBeenSet() const
const Aws::String & GetValue() const
AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const
Email & WithType(TypeT &&value)
void SetType(TypeT &&value)
void SetValue(ValueT &&value)
Email & WithPrimary(bool value)
bool PrimaryHasBeenSet() const
Email & WithValue(ValueT &&value)
AWS_IDENTITYSTORE_API Email()=default
bool ValueHasBeenSet() const
const Aws::String & GetType() const
AWS_IDENTITYSTORE_API Email(Aws::Utils::Json::JsonView jsonValue)
void SetPrimary(bool value)
AWS_IDENTITYSTORE_API Email & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue