/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an email address.See Also:
AWS
* API Reference
The email address.
*/ inline const Aws::String& GetEmail() const{ return m_email; } /** *The email address.
*/ inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; } /** *The email address.
*/ inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; } /** *The email address.
*/ inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); } /** *The email address.
*/ inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); } /** *The email address.
*/ inline EmailAddress& WithEmail(const Aws::String& value) { SetEmail(value); return *this;} /** *The email address.
*/ inline EmailAddress& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;} /** *The email address.
*/ inline EmailAddress& WithEmail(const char* value) { SetEmail(value); return *this;} /** *Whether the email address has been verified.
*/ inline bool GetVerified() const{ return m_verified; } /** *Whether the email address has been verified.
*/ inline bool VerifiedHasBeenSet() const { return m_verifiedHasBeenSet; } /** *Whether the email address has been verified.
*/ inline void SetVerified(bool value) { m_verifiedHasBeenSet = true; m_verified = value; } /** *Whether the email address has been verified.
*/ inline EmailAddress& WithVerified(bool value) { SetVerified(value); return *this;} private: Aws::String m_email; bool m_emailHasBeenSet = false; bool m_verified; bool m_verifiedHasBeenSet = false; }; } // namespace Model } // namespace CodeCatalyst } // namespace Aws