AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
AssigneeContact.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
34 {
35 public:
36 AWS_PARTNERCENTRALSELLING_API AssigneeContact() = default;
37 AWS_PARTNERCENTRALSELLING_API AssigneeContact(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PARTNERCENTRALSELLING_API AssigneeContact& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetEmail() const { return m_email; }
48 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
49 template<typename EmailT = Aws::String>
50 void SetEmail(EmailT&& value) { m_emailHasBeenSet = true; m_email = std::forward<EmailT>(value); }
51 template<typename EmailT = Aws::String>
52 AssigneeContact& WithEmail(EmailT&& value) { SetEmail(std::forward<EmailT>(value)); return *this;}
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) { m_firstNameHasBeenSet = true; m_firstName = std::forward<FirstNameT>(value); }
65 template<typename FirstNameT = Aws::String>
66 AssigneeContact& WithFirstName(FirstNameT&& value) { SetFirstName(std::forward<FirstNameT>(value)); return *this;}
68
70
75 inline const Aws::String& GetLastName() const { return m_lastName; }
76 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
77 template<typename LastNameT = Aws::String>
78 void SetLastName(LastNameT&& value) { m_lastNameHasBeenSet = true; m_lastName = std::forward<LastNameT>(value); }
79 template<typename LastNameT = Aws::String>
80 AssigneeContact& WithLastName(LastNameT&& value) { SetLastName(std::forward<LastNameT>(value)); return *this;}
82
84
90 inline const Aws::String& GetBusinessTitle() const { return m_businessTitle; }
91 inline bool BusinessTitleHasBeenSet() const { return m_businessTitleHasBeenSet; }
92 template<typename BusinessTitleT = Aws::String>
93 void SetBusinessTitle(BusinessTitleT&& value) { m_businessTitleHasBeenSet = true; m_businessTitle = std::forward<BusinessTitleT>(value); }
94 template<typename BusinessTitleT = Aws::String>
95 AssigneeContact& WithBusinessTitle(BusinessTitleT&& value) { SetBusinessTitle(std::forward<BusinessTitleT>(value)); return *this;}
97 private:
98
99 Aws::String m_email;
100 bool m_emailHasBeenSet = false;
101
102 Aws::String m_firstName;
103 bool m_firstNameHasBeenSet = false;
104
105 Aws::String m_lastName;
106 bool m_lastNameHasBeenSet = false;
107
108 Aws::String m_businessTitle;
109 bool m_businessTitleHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace PartnerCentralSelling
114} // 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