AWS SDK for C++

AWS SDK for C++ Version 1.11.765

Loading...
Searching...
No Matches
AllianceLeadContact.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PartnerCentralAccount {
20namespace Model {
21
29 public:
30 AWS_PARTNERCENTRALACCOUNT_API AllianceLeadContact() = default;
31 AWS_PARTNERCENTRALACCOUNT_API AllianceLeadContact(Aws::Utils::Json::JsonView jsonValue);
32 AWS_PARTNERCENTRALACCOUNT_API AllianceLeadContact& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PARTNERCENTRALACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetFirstName() const { return m_firstName; }
40 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
41 template <typename FirstNameT = Aws::String>
42 void SetFirstName(FirstNameT&& value) {
43 m_firstNameHasBeenSet = true;
44 m_firstName = std::forward<FirstNameT>(value);
45 }
46 template <typename FirstNameT = Aws::String>
47 AllianceLeadContact& WithFirstName(FirstNameT&& value) {
48 SetFirstName(std::forward<FirstNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetLastName() const { return m_lastName; }
58 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
59 template <typename LastNameT = Aws::String>
60 void SetLastName(LastNameT&& value) {
61 m_lastNameHasBeenSet = true;
62 m_lastName = std::forward<LastNameT>(value);
63 }
64 template <typename LastNameT = Aws::String>
65 AllianceLeadContact& WithLastName(LastNameT&& value) {
66 SetLastName(std::forward<LastNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetEmail() const { return m_email; }
76 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
77 template <typename EmailT = Aws::String>
78 void SetEmail(EmailT&& value) {
79 m_emailHasBeenSet = true;
80 m_email = std::forward<EmailT>(value);
81 }
82 template <typename EmailT = Aws::String>
83 AllianceLeadContact& WithEmail(EmailT&& value) {
84 SetEmail(std::forward<EmailT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetBusinessTitle() const { return m_businessTitle; }
94 inline bool BusinessTitleHasBeenSet() const { return m_businessTitleHasBeenSet; }
95 template <typename BusinessTitleT = Aws::String>
96 void SetBusinessTitle(BusinessTitleT&& value) {
97 m_businessTitleHasBeenSet = true;
98 m_businessTitle = std::forward<BusinessTitleT>(value);
99 }
100 template <typename BusinessTitleT = Aws::String>
101 AllianceLeadContact& WithBusinessTitle(BusinessTitleT&& value) {
102 SetBusinessTitle(std::forward<BusinessTitleT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_firstName;
108
109 Aws::String m_lastName;
110
111 Aws::String m_email;
112
113 Aws::String m_businessTitle;
114 bool m_firstNameHasBeenSet = false;
115 bool m_lastNameHasBeenSet = false;
116 bool m_emailHasBeenSet = false;
117 bool m_businessTitleHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace PartnerCentralAccount
122} // namespace Aws
AWS_PARTNERCENTRALACCOUNT_API AllianceLeadContact(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALACCOUNT_API AllianceLeadContact & operator=(Aws::Utils::Json::JsonView jsonValue)
AllianceLeadContact & WithLastName(LastNameT &&value)
AWS_PARTNERCENTRALACCOUNT_API AllianceLeadContact()=default
AllianceLeadContact & WithBusinessTitle(BusinessTitleT &&value)
AllianceLeadContact & WithFirstName(FirstNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue