AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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
49 inline const Aws::String& GetBusinessTitle() const { return m_businessTitle; }
50 inline bool BusinessTitleHasBeenSet() const { return m_businessTitleHasBeenSet; }
51 template<typename BusinessTitleT = Aws::String>
52 void SetBusinessTitle(BusinessTitleT&& value) { m_businessTitleHasBeenSet = true; m_businessTitle = std::forward<BusinessTitleT>(value); }
53 template<typename BusinessTitleT = Aws::String>
54 AssigneeContact& WithBusinessTitle(BusinessTitleT&& value) { SetBusinessTitle(std::forward<BusinessTitleT>(value)); return *this;}
56
58
62 inline const Aws::String& GetEmail() const { return m_email; }
63 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
64 template<typename EmailT = Aws::String>
65 void SetEmail(EmailT&& value) { m_emailHasBeenSet = true; m_email = std::forward<EmailT>(value); }
66 template<typename EmailT = Aws::String>
67 AssigneeContact& WithEmail(EmailT&& value) { SetEmail(std::forward<EmailT>(value)); return *this;}
69
71
76 inline const Aws::String& GetFirstName() const { return m_firstName; }
77 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
78 template<typename FirstNameT = Aws::String>
79 void SetFirstName(FirstNameT&& value) { m_firstNameHasBeenSet = true; m_firstName = std::forward<FirstNameT>(value); }
80 template<typename FirstNameT = Aws::String>
81 AssigneeContact& WithFirstName(FirstNameT&& value) { SetFirstName(std::forward<FirstNameT>(value)); return *this;}
83
85
90 inline const Aws::String& GetLastName() const { return m_lastName; }
91 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
92 template<typename LastNameT = Aws::String>
93 void SetLastName(LastNameT&& value) { m_lastNameHasBeenSet = true; m_lastName = std::forward<LastNameT>(value); }
94 template<typename LastNameT = Aws::String>
95 AssigneeContact& WithLastName(LastNameT&& value) { SetLastName(std::forward<LastNameT>(value)); return *this;}
97 private:
98
99 Aws::String m_businessTitle;
100 bool m_businessTitleHasBeenSet = false;
101
102 Aws::String m_email;
103 bool m_emailHasBeenSet = false;
104
105 Aws::String m_firstName;
106 bool m_firstNameHasBeenSet = false;
107
108 Aws::String m_lastName;
109 bool m_lastNameHasBeenSet = 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