AWS SDK for C++

AWS SDK for C++ Version 1.11.695

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodeCatalyst {
20namespace Model {
21
28 public:
29 AWS_CODECATALYST_API EmailAddress() = default;
30 AWS_CODECATALYST_API EmailAddress(Aws::Utils::Json::JsonView jsonValue);
31 AWS_CODECATALYST_API EmailAddress& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetEmail() const { return m_email; }
39 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
40 template <typename EmailT = Aws::String>
41 void SetEmail(EmailT&& value) {
42 m_emailHasBeenSet = true;
43 m_email = std::forward<EmailT>(value);
44 }
45 template <typename EmailT = Aws::String>
46 EmailAddress& WithEmail(EmailT&& value) {
47 SetEmail(std::forward<EmailT>(value));
48 return *this;
49 }
51
53
56 inline bool GetVerified() const { return m_verified; }
57 inline bool VerifiedHasBeenSet() const { return m_verifiedHasBeenSet; }
58 inline void SetVerified(bool value) {
59 m_verifiedHasBeenSet = true;
60 m_verified = value;
61 }
62 inline EmailAddress& WithVerified(bool value) {
63 SetVerified(value);
64 return *this;
65 }
67 private:
68 Aws::String m_email;
69 bool m_emailHasBeenSet = false;
70
71 bool m_verified{false};
72 bool m_verifiedHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace CodeCatalyst
77} // 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