AWS SDK for C++

AWS SDK for C++ Version 1.11.611

Loading...
Searching...
No Matches
EmailAddressInfo.h
1
6#pragma once
7#include <aws/connect/Connect_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 Connect
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CONNECT_API EmailAddressInfo() = default;
36 AWS_CONNECT_API EmailAddressInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEmailAddress() const { return m_emailAddress; }
46 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
47 template<typename EmailAddressT = Aws::String>
48 void SetEmailAddress(EmailAddressT&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::forward<EmailAddressT>(value); }
49 template<typename EmailAddressT = Aws::String>
50 EmailAddressInfo& WithEmailAddress(EmailAddressT&& value) { SetEmailAddress(std::forward<EmailAddressT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDisplayName() const { return m_displayName; }
58 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
59 template<typename DisplayNameT = Aws::String>
60 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
61 template<typename DisplayNameT = Aws::String>
62 EmailAddressInfo& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
64 private:
65
66 Aws::String m_emailAddress;
67 bool m_emailAddressHasBeenSet = false;
68
69 Aws::String m_displayName;
70 bool m_displayNameHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Connect
75} // namespace Aws
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetDisplayName() const
EmailAddressInfo & WithEmailAddress(EmailAddressT &&value)
void SetEmailAddress(EmailAddressT &&value)
AWS_CONNECT_API EmailAddressInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API EmailAddressInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
EmailAddressInfo & WithDisplayName(DisplayNameT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API EmailAddressInfo()=default
const Aws::String & GetEmailAddress() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue