AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
47 inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
48 inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
49 inline EmailAddress& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
50 inline EmailAddress& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
51 inline EmailAddress& WithEmail(const char* value) { SetEmail(value); return *this;}
53
55
58 inline bool GetVerified() const{ return m_verified; }
59 inline bool VerifiedHasBeenSet() const { return m_verifiedHasBeenSet; }
60 inline void SetVerified(bool value) { m_verifiedHasBeenSet = true; m_verified = value; }
61 inline EmailAddress& WithVerified(bool value) { SetVerified(value); return *this;}
63 private:
64
65 Aws::String m_email;
66 bool m_emailHasBeenSet = false;
67
68 bool m_verified;
69 bool m_verifiedHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CodeCatalyst
74} // namespace Aws
EmailAddress & WithVerified(bool value)
const Aws::String & GetEmail() const
EmailAddress & WithEmail(Aws::String &&value)
AWS_CODECATALYST_API EmailAddress()
EmailAddress & WithEmail(const Aws::String &value)
void SetEmail(const Aws::String &value)
EmailAddress & WithEmail(const char *value)
AWS_CODECATALYST_API EmailAddress & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEmail(Aws::String &&value)
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