AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Invite.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/InviteStatus.h>
10#include <aws/chime/model/EmailStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Chime
24{
25namespace Model
26{
27
34 class Invite
35 {
36 public:
37 AWS_CHIME_API Invite();
38 AWS_CHIME_API Invite(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CHIME_API Invite& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetInviteId() const{ return m_inviteId; }
48 inline bool InviteIdHasBeenSet() const { return m_inviteIdHasBeenSet; }
49 inline void SetInviteId(const Aws::String& value) { m_inviteIdHasBeenSet = true; m_inviteId = value; }
50 inline void SetInviteId(Aws::String&& value) { m_inviteIdHasBeenSet = true; m_inviteId = std::move(value); }
51 inline void SetInviteId(const char* value) { m_inviteIdHasBeenSet = true; m_inviteId.assign(value); }
52 inline Invite& WithInviteId(const Aws::String& value) { SetInviteId(value); return *this;}
53 inline Invite& WithInviteId(Aws::String&& value) { SetInviteId(std::move(value)); return *this;}
54 inline Invite& WithInviteId(const char* value) { SetInviteId(value); return *this;}
56
58
61 inline const InviteStatus& GetStatus() const{ return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(const InviteStatus& value) { m_statusHasBeenSet = true; m_status = value; }
64 inline void SetStatus(InviteStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
65 inline Invite& WithStatus(const InviteStatus& value) { SetStatus(value); return *this;}
66 inline Invite& WithStatus(InviteStatus&& value) { SetStatus(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
74 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
75 inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
76 inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
77 inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
78 inline Invite& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
79 inline Invite& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
80 inline Invite& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
82
84
87 inline const EmailStatus& GetEmailStatus() const{ return m_emailStatus; }
88 inline bool EmailStatusHasBeenSet() const { return m_emailStatusHasBeenSet; }
89 inline void SetEmailStatus(const EmailStatus& value) { m_emailStatusHasBeenSet = true; m_emailStatus = value; }
90 inline void SetEmailStatus(EmailStatus&& value) { m_emailStatusHasBeenSet = true; m_emailStatus = std::move(value); }
91 inline Invite& WithEmailStatus(const EmailStatus& value) { SetEmailStatus(value); return *this;}
92 inline Invite& WithEmailStatus(EmailStatus&& value) { SetEmailStatus(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_inviteId;
97 bool m_inviteIdHasBeenSet = false;
98
99 InviteStatus m_status;
100 bool m_statusHasBeenSet = false;
101
102 Aws::String m_emailAddress;
103 bool m_emailAddressHasBeenSet = false;
104
105 EmailStatus m_emailStatus;
106 bool m_emailStatusHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Chime
111} // namespace Aws
bool EmailStatusHasBeenSet() const
Definition Invite.h:88
void SetStatus(InviteStatus &&value)
Definition Invite.h:64
const EmailStatus & GetEmailStatus() const
Definition Invite.h:87
void SetEmailStatus(const EmailStatus &value)
Definition Invite.h:89
Invite & WithEmailStatus(EmailStatus &&value)
Definition Invite.h:92
void SetEmailAddress(const Aws::String &value)
Definition Invite.h:75
Invite & WithInviteId(const char *value)
Definition Invite.h:54
void SetInviteId(const char *value)
Definition Invite.h:51
AWS_CHIME_API Invite & operator=(Aws::Utils::Json::JsonView jsonValue)
Invite & WithEmailAddress(Aws::String &&value)
Definition Invite.h:79
Invite & WithStatus(InviteStatus &&value)
Definition Invite.h:66
Invite & WithInviteId(const Aws::String &value)
Definition Invite.h:52
AWS_CHIME_API Invite()
void SetEmailAddress(Aws::String &&value)
Definition Invite.h:76
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CHIME_API Invite(Aws::Utils::Json::JsonView jsonValue)
void SetInviteId(const Aws::String &value)
Definition Invite.h:49
Invite & WithInviteId(Aws::String &&value)
Definition Invite.h:53
Invite & WithEmailStatus(const EmailStatus &value)
Definition Invite.h:91
bool InviteIdHasBeenSet() const
Definition Invite.h:48
const Aws::String & GetEmailAddress() const
Definition Invite.h:73
void SetEmailStatus(EmailStatus &&value)
Definition Invite.h:90
bool EmailAddressHasBeenSet() const
Definition Invite.h:74
void SetEmailAddress(const char *value)
Definition Invite.h:77
const InviteStatus & GetStatus() const
Definition Invite.h:61
bool StatusHasBeenSet() const
Definition Invite.h:62
const Aws::String & GetInviteId() const
Definition Invite.h:47
Invite & WithStatus(const InviteStatus &value)
Definition Invite.h:65
void SetStatus(const InviteStatus &value)
Definition Invite.h:63
Invite & WithEmailAddress(const Aws::String &value)
Definition Invite.h:78
void SetInviteId(Aws::String &&value)
Definition Invite.h:50
Invite & WithEmailAddress(const char *value)
Definition Invite.h:80
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue