AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EmailAddress.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeCatalyst
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CODECATALYST_API EmailAddress() = default;
35 AWS_CODECATALYST_API EmailAddress(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CODECATALYST_API EmailAddress& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetEmail() const { return m_email; }
45 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
46 template<typename EmailT = Aws::String>
47 void SetEmail(EmailT&& value) { m_emailHasBeenSet = true; m_email = std::forward<EmailT>(value); }
48 template<typename EmailT = Aws::String>
49 EmailAddress& WithEmail(EmailT&& value) { SetEmail(std::forward<EmailT>(value)); return *this;}
51
53
56 inline bool GetVerified() const { return m_verified; }
57 inline bool VerifiedHasBeenSet() const { return m_verifiedHasBeenSet; }
58 inline void SetVerified(bool value) { m_verifiedHasBeenSet = true; m_verified = value; }
59 inline EmailAddress& WithVerified(bool value) { SetVerified(value); return *this;}
61 private:
62
63 Aws::String m_email;
64 bool m_emailHasBeenSet = false;
65
66 bool m_verified{false};
67 bool m_verifiedHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace CodeCatalyst
72} // namespace Aws
EmailAddress & WithVerified(bool value)
const Aws::String & GetEmail() const
AWS_CODECATALYST_API EmailAddress()=default
EmailAddress & WithEmail(EmailT &&value)
AWS_CODECATALYST_API EmailAddress & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECATALYST_API EmailAddress(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue