AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AwsTeamMember.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9#include <aws/partnercentral-selling/model/AwsMemberBusinessTitle.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PartnerCentralSelling {
21namespace Model {
22
31 public:
32 AWS_PARTNERCENTRALSELLING_API AwsTeamMember() = default;
33 AWS_PARTNERCENTRALSELLING_API AwsTeamMember(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API AwsTeamMember& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
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 AwsTeamMember& WithEmail(EmailT&& value) {
50 SetEmail(std::forward<EmailT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetFirstName() const { return m_firstName; }
60 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
61 template <typename FirstNameT = Aws::String>
62 void SetFirstName(FirstNameT&& value) {
63 m_firstNameHasBeenSet = true;
64 m_firstName = std::forward<FirstNameT>(value);
65 }
66 template <typename FirstNameT = Aws::String>
67 AwsTeamMember& WithFirstName(FirstNameT&& value) {
68 SetFirstName(std::forward<FirstNameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetLastName() const { return m_lastName; }
78 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
79 template <typename LastNameT = Aws::String>
80 void SetLastName(LastNameT&& value) {
81 m_lastNameHasBeenSet = true;
82 m_lastName = std::forward<LastNameT>(value);
83 }
84 template <typename LastNameT = Aws::String>
85 AwsTeamMember& WithLastName(LastNameT&& value) {
86 SetLastName(std::forward<LastNameT>(value));
87 return *this;
88 }
90
92
96 inline AwsMemberBusinessTitle GetBusinessTitle() const { return m_businessTitle; }
97 inline bool BusinessTitleHasBeenSet() const { return m_businessTitleHasBeenSet; }
99 m_businessTitleHasBeenSet = true;
100 m_businessTitle = value;
101 }
103 SetBusinessTitle(value);
104 return *this;
105 }
107 private:
108 Aws::String m_email;
109
110 Aws::String m_firstName;
111
112 Aws::String m_lastName;
113
115 bool m_emailHasBeenSet = false;
116 bool m_firstNameHasBeenSet = false;
117 bool m_lastNameHasBeenSet = false;
118 bool m_businessTitleHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace PartnerCentralSelling
123} // namespace Aws
AWS_PARTNERCENTRALSELLING_API AwsTeamMember()=default
AwsTeamMember & WithBusinessTitle(AwsMemberBusinessTitle value)
AwsTeamMember & WithLastName(LastNameT &&value)
AWS_PARTNERCENTRALSELLING_API AwsTeamMember(Aws::Utils::Json::JsonView jsonValue)
AwsTeamMember & WithFirstName(FirstNameT &&value)
AwsMemberBusinessTitle GetBusinessTitle() const
void SetBusinessTitle(AwsMemberBusinessTitle value)
AwsTeamMember & WithEmail(EmailT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALSELLING_API AwsTeamMember & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue