AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Member.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/chime/model/MemberType.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 Chime
23{
24namespace Model
25{
26
33 class Member
34 {
35 public:
36 AWS_CHIME_API Member();
37 AWS_CHIME_API Member(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CHIME_API Member& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetMemberId() const{ return m_memberId; }
47 inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; }
48 inline void SetMemberId(const Aws::String& value) { m_memberIdHasBeenSet = true; m_memberId = value; }
49 inline void SetMemberId(Aws::String&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); }
50 inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); }
51 inline Member& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;}
52 inline Member& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;}
53 inline Member& WithMemberId(const char* value) { SetMemberId(value); return *this;}
55
57
60 inline const MemberType& GetMemberType() const{ return m_memberType; }
61 inline bool MemberTypeHasBeenSet() const { return m_memberTypeHasBeenSet; }
62 inline void SetMemberType(const MemberType& value) { m_memberTypeHasBeenSet = true; m_memberType = value; }
63 inline void SetMemberType(MemberType&& value) { m_memberTypeHasBeenSet = true; m_memberType = std::move(value); }
64 inline Member& WithMemberType(const MemberType& value) { SetMemberType(value); return *this;}
65 inline Member& WithMemberType(MemberType&& value) { SetMemberType(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetEmail() const{ return m_email; }
73 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
74 inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
75 inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
76 inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
77 inline Member& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
78 inline Member& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
79 inline Member& WithEmail(const char* value) { SetEmail(value); return *this;}
81
83
86 inline const Aws::String& GetFullName() const{ return m_fullName; }
87 inline bool FullNameHasBeenSet() const { return m_fullNameHasBeenSet; }
88 inline void SetFullName(const Aws::String& value) { m_fullNameHasBeenSet = true; m_fullName = value; }
89 inline void SetFullName(Aws::String&& value) { m_fullNameHasBeenSet = true; m_fullName = std::move(value); }
90 inline void SetFullName(const char* value) { m_fullNameHasBeenSet = true; m_fullName.assign(value); }
91 inline Member& WithFullName(const Aws::String& value) { SetFullName(value); return *this;}
92 inline Member& WithFullName(Aws::String&& value) { SetFullName(std::move(value)); return *this;}
93 inline Member& WithFullName(const char* value) { SetFullName(value); return *this;}
95
97
100 inline const Aws::String& GetAccountId() const{ return m_accountId; }
101 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
102 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
103 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
104 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
105 inline Member& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
106 inline Member& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
107 inline Member& WithAccountId(const char* value) { SetAccountId(value); return *this;}
109 private:
110
111 Aws::String m_memberId;
112 bool m_memberIdHasBeenSet = false;
113
114 MemberType m_memberType;
115 bool m_memberTypeHasBeenSet = false;
116
117 Aws::String m_email;
118 bool m_emailHasBeenSet = false;
119
120 Aws::String m_fullName;
121 bool m_fullNameHasBeenSet = false;
122
123 Aws::String m_accountId;
124 bool m_accountIdHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace Chime
129} // namespace Aws
Member & WithAccountId(const char *value)
Definition Member.h:107
Member & WithAccountId(const Aws::String &value)
Definition Member.h:105
bool FullNameHasBeenSet() const
Definition Member.h:87
void SetFullName(const char *value)
Definition Member.h:90
void SetMemberId(const Aws::String &value)
Definition Member.h:48
bool EmailHasBeenSet() const
Definition Member.h:73
bool MemberIdHasBeenSet() const
Definition Member.h:47
void SetEmail(const Aws::String &value)
Definition Member.h:74
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetFullName() const
Definition Member.h:86
void SetAccountId(const Aws::String &value)
Definition Member.h:102
Member & WithEmail(const char *value)
Definition Member.h:79
AWS_CHIME_API Member(Aws::Utils::Json::JsonView jsonValue)
void SetMemberId(Aws::String &&value)
Definition Member.h:49
const Aws::String & GetEmail() const
Definition Member.h:72
Member & WithMemberType(MemberType &&value)
Definition Member.h:65
const MemberType & GetMemberType() const
Definition Member.h:60
Member & WithFullName(Aws::String &&value)
Definition Member.h:92
AWS_CHIME_API Member & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(Aws::String &&value)
Definition Member.h:103
void SetEmail(Aws::String &&value)
Definition Member.h:75
Member & WithMemberId(Aws::String &&value)
Definition Member.h:52
bool AccountIdHasBeenSet() const
Definition Member.h:101
Member & WithMemberType(const MemberType &value)
Definition Member.h:64
Member & WithFullName(const Aws::String &value)
Definition Member.h:91
void SetMemberType(MemberType &&value)
Definition Member.h:63
AWS_CHIME_API Member()
Member & WithMemberId(const Aws::String &value)
Definition Member.h:51
void SetMemberType(const MemberType &value)
Definition Member.h:62
const Aws::String & GetAccountId() const
Definition Member.h:100
Member & WithFullName(const char *value)
Definition Member.h:93
void SetAccountId(const char *value)
Definition Member.h:104
bool MemberTypeHasBeenSet() const
Definition Member.h:61
void SetFullName(Aws::String &&value)
Definition Member.h:89
const Aws::String & GetMemberId() const
Definition Member.h:46
Member & WithEmail(Aws::String &&value)
Definition Member.h:78
Member & WithEmail(const Aws::String &value)
Definition Member.h:77
void SetMemberId(const char *value)
Definition Member.h:50
void SetFullName(const Aws::String &value)
Definition Member.h:88
Member & WithMemberId(const char *value)
Definition Member.h:53
Member & WithAccountId(Aws::String &&value)
Definition Member.h:106
void SetEmail(const char *value)
Definition Member.h:76
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue