AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AssigneeContact.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PartnerCentralSelling {
20namespace Model {
21
30 public:
31 AWS_PARTNERCENTRALSELLING_API AssigneeContact() = default;
32 AWS_PARTNERCENTRALSELLING_API AssigneeContact(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PARTNERCENTRALSELLING_API AssigneeContact& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetEmail() const { return m_email; }
42 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
43 template <typename EmailT = Aws::String>
44 void SetEmail(EmailT&& value) {
45 m_emailHasBeenSet = true;
46 m_email = std::forward<EmailT>(value);
47 }
48 template <typename EmailT = Aws::String>
49 AssigneeContact& WithEmail(EmailT&& value) {
50 SetEmail(std::forward<EmailT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetFirstName() const { return m_firstName; }
62 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
63 template <typename FirstNameT = Aws::String>
64 void SetFirstName(FirstNameT&& value) {
65 m_firstNameHasBeenSet = true;
66 m_firstName = std::forward<FirstNameT>(value);
67 }
68 template <typename FirstNameT = Aws::String>
69 AssigneeContact& WithFirstName(FirstNameT&& value) {
70 SetFirstName(std::forward<FirstNameT>(value));
71 return *this;
72 }
74
76
81 inline const Aws::String& GetLastName() const { return m_lastName; }
82 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
83 template <typename LastNameT = Aws::String>
84 void SetLastName(LastNameT&& value) {
85 m_lastNameHasBeenSet = true;
86 m_lastName = std::forward<LastNameT>(value);
87 }
88 template <typename LastNameT = Aws::String>
89 AssigneeContact& WithLastName(LastNameT&& value) {
90 SetLastName(std::forward<LastNameT>(value));
91 return *this;
92 }
94
96
102 inline const Aws::String& GetPhone() const { return m_phone; }
103 inline bool PhoneHasBeenSet() const { return m_phoneHasBeenSet; }
104 template <typename PhoneT = Aws::String>
105 void SetPhone(PhoneT&& value) {
106 m_phoneHasBeenSet = true;
107 m_phone = std::forward<PhoneT>(value);
108 }
109 template <typename PhoneT = Aws::String>
110 AssigneeContact& WithPhone(PhoneT&& value) {
111 SetPhone(std::forward<PhoneT>(value));
112 return *this;
113 }
115
117
123 inline const Aws::String& GetBusinessTitle() const { return m_businessTitle; }
124 inline bool BusinessTitleHasBeenSet() const { return m_businessTitleHasBeenSet; }
125 template <typename BusinessTitleT = Aws::String>
126 void SetBusinessTitle(BusinessTitleT&& value) {
127 m_businessTitleHasBeenSet = true;
128 m_businessTitle = std::forward<BusinessTitleT>(value);
129 }
130 template <typename BusinessTitleT = Aws::String>
131 AssigneeContact& WithBusinessTitle(BusinessTitleT&& value) {
132 SetBusinessTitle(std::forward<BusinessTitleT>(value));
133 return *this;
134 }
136 private:
137 Aws::String m_email;
138
139 Aws::String m_firstName;
140
141 Aws::String m_lastName;
142
143 Aws::String m_phone;
144
145 Aws::String m_businessTitle;
146 bool m_emailHasBeenSet = false;
147 bool m_firstNameHasBeenSet = false;
148 bool m_lastNameHasBeenSet = false;
149 bool m_phoneHasBeenSet = false;
150 bool m_businessTitleHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace PartnerCentralSelling
155} // namespace Aws
AssigneeContact & WithBusinessTitle(BusinessTitleT &&value)
AssigneeContact & WithLastName(LastNameT &&value)
AWS_PARTNERCENTRALSELLING_API AssigneeContact()=default
AWS_PARTNERCENTRALSELLING_API AssigneeContact & operator=(Aws::Utils::Json::JsonView jsonValue)
AssigneeContact & WithEmail(EmailT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALSELLING_API AssigneeContact(Aws::Utils::Json::JsonView jsonValue)
AssigneeContact & WithFirstName(FirstNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue