AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
AwsTeamMember.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/AwsMemberBusinessTitle.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PartnerCentralSelling
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_PARTNERCENTRALSELLING_API AwsTeamMember() = default;
38 AWS_PARTNERCENTRALSELLING_API AwsTeamMember(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API AwsTeamMember& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline AwsMemberBusinessTitle GetBusinessTitle() const { return m_businessTitle; }
49 inline bool BusinessTitleHasBeenSet() const { return m_businessTitleHasBeenSet; }
50 inline void SetBusinessTitle(AwsMemberBusinessTitle value) { m_businessTitleHasBeenSet = true; m_businessTitle = value; }
53
55
58 inline const Aws::String& GetEmail() const { return m_email; }
59 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
60 template<typename EmailT = Aws::String>
61 void SetEmail(EmailT&& value) { m_emailHasBeenSet = true; m_email = std::forward<EmailT>(value); }
62 template<typename EmailT = Aws::String>
63 AwsTeamMember& WithEmail(EmailT&& value) { SetEmail(std::forward<EmailT>(value)); return *this;}
65
67
70 inline const Aws::String& GetFirstName() const { return m_firstName; }
71 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
72 template<typename FirstNameT = Aws::String>
73 void SetFirstName(FirstNameT&& value) { m_firstNameHasBeenSet = true; m_firstName = std::forward<FirstNameT>(value); }
74 template<typename FirstNameT = Aws::String>
75 AwsTeamMember& WithFirstName(FirstNameT&& value) { SetFirstName(std::forward<FirstNameT>(value)); return *this;}
77
79
82 inline const Aws::String& GetLastName() const { return m_lastName; }
83 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
84 template<typename LastNameT = Aws::String>
85 void SetLastName(LastNameT&& value) { m_lastNameHasBeenSet = true; m_lastName = std::forward<LastNameT>(value); }
86 template<typename LastNameT = Aws::String>
87 AwsTeamMember& WithLastName(LastNameT&& value) { SetLastName(std::forward<LastNameT>(value)); return *this;}
89 private:
90
92 bool m_businessTitleHasBeenSet = false;
93
94 Aws::String m_email;
95 bool m_emailHasBeenSet = false;
96
97 Aws::String m_firstName;
98 bool m_firstNameHasBeenSet = false;
99
100 Aws::String m_lastName;
101 bool m_lastNameHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace PartnerCentralSelling
106} // 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