AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
SenderContact.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_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 PartnerCentralSelling
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PARTNERCENTRALSELLING_API SenderContact() = default;
36 AWS_PARTNERCENTRALSELLING_API SenderContact(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PARTNERCENTRALSELLING_API SenderContact& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetBusinessTitle() const { return m_businessTitle; }
47 inline bool BusinessTitleHasBeenSet() const { return m_businessTitleHasBeenSet; }
48 template<typename BusinessTitleT = Aws::String>
49 void SetBusinessTitle(BusinessTitleT&& value) { m_businessTitleHasBeenSet = true; m_businessTitle = std::forward<BusinessTitleT>(value); }
50 template<typename BusinessTitleT = Aws::String>
51 SenderContact& WithBusinessTitle(BusinessTitleT&& value) { SetBusinessTitle(std::forward<BusinessTitleT>(value)); return *this;}
53
55
59 inline const Aws::String& GetEmail() const { return m_email; }
60 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
61 template<typename EmailT = Aws::String>
62 void SetEmail(EmailT&& value) { m_emailHasBeenSet = true; m_email = std::forward<EmailT>(value); }
63 template<typename EmailT = Aws::String>
64 SenderContact& WithEmail(EmailT&& value) { SetEmail(std::forward<EmailT>(value)); return *this;}
66
68
72 inline const Aws::String& GetFirstName() const { return m_firstName; }
73 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
74 template<typename FirstNameT = Aws::String>
75 void SetFirstName(FirstNameT&& value) { m_firstNameHasBeenSet = true; m_firstName = std::forward<FirstNameT>(value); }
76 template<typename FirstNameT = Aws::String>
77 SenderContact& WithFirstName(FirstNameT&& value) { SetFirstName(std::forward<FirstNameT>(value)); return *this;}
79
81
85 inline const Aws::String& GetLastName() const { return m_lastName; }
86 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
87 template<typename LastNameT = Aws::String>
88 void SetLastName(LastNameT&& value) { m_lastNameHasBeenSet = true; m_lastName = std::forward<LastNameT>(value); }
89 template<typename LastNameT = Aws::String>
90 SenderContact& WithLastName(LastNameT&& value) { SetLastName(std::forward<LastNameT>(value)); return *this;}
92
94
98 inline const Aws::String& GetPhone() const { return m_phone; }
99 inline bool PhoneHasBeenSet() const { return m_phoneHasBeenSet; }
100 template<typename PhoneT = Aws::String>
101 void SetPhone(PhoneT&& value) { m_phoneHasBeenSet = true; m_phone = std::forward<PhoneT>(value); }
102 template<typename PhoneT = Aws::String>
103 SenderContact& WithPhone(PhoneT&& value) { SetPhone(std::forward<PhoneT>(value)); return *this;}
105 private:
106
107 Aws::String m_businessTitle;
108 bool m_businessTitleHasBeenSet = false;
109
110 Aws::String m_email;
111 bool m_emailHasBeenSet = false;
112
113 Aws::String m_firstName;
114 bool m_firstNameHasBeenSet = false;
115
116 Aws::String m_lastName;
117 bool m_lastNameHasBeenSet = false;
118
119 Aws::String m_phone;
120 bool m_phoneHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace PartnerCentralSelling
125} // namespace Aws
SenderContact & WithBusinessTitle(BusinessTitleT &&value)
AWS_PARTNERCENTRALSELLING_API SenderContact()=default
AWS_PARTNERCENTRALSELLING_API SenderContact(Aws::Utils::Json::JsonView jsonValue)
void SetBusinessTitle(BusinessTitleT &&value)
SenderContact & WithEmail(EmailT &&value)
AWS_PARTNERCENTRALSELLING_API SenderContact & operator=(Aws::Utils::Json::JsonView jsonValue)
SenderContact & WithFirstName(FirstNameT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
SenderContact & WithLastName(LastNameT &&value)
SenderContact & WithPhone(PhoneT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue