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/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 SecurityHub
23{
24namespace Model
25{
26
32 class Member
33 {
34 public:
35 AWS_SECURITYHUB_API Member();
36 AWS_SECURITYHUB_API Member(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API Member& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAccountId() const{ return m_accountId; }
46 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
47 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
48 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
49 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
50 inline Member& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
51 inline Member& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
52 inline Member& WithAccountId(const char* value) { SetAccountId(value); return *this;}
54
56
59 inline const Aws::String& GetEmail() const{ return m_email; }
60 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
61 inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
62 inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
63 inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
64 inline Member& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
65 inline Member& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
66 inline Member& WithEmail(const char* value) { SetEmail(value); return *this;}
68
70
74 inline const Aws::String& GetAdministratorId() const{ return m_administratorId; }
75 inline bool AdministratorIdHasBeenSet() const { return m_administratorIdHasBeenSet; }
76 inline void SetAdministratorId(const Aws::String& value) { m_administratorIdHasBeenSet = true; m_administratorId = value; }
77 inline void SetAdministratorId(Aws::String&& value) { m_administratorIdHasBeenSet = true; m_administratorId = std::move(value); }
78 inline void SetAdministratorId(const char* value) { m_administratorIdHasBeenSet = true; m_administratorId.assign(value); }
79 inline Member& WithAdministratorId(const Aws::String& value) { SetAdministratorId(value); return *this;}
80 inline Member& WithAdministratorId(Aws::String&& value) { SetAdministratorId(std::move(value)); return *this;}
81 inline Member& WithAdministratorId(const char* value) { SetAdministratorId(value); return *this;}
83
85
105 inline const Aws::String& GetMemberStatus() const{ return m_memberStatus; }
106 inline bool MemberStatusHasBeenSet() const { return m_memberStatusHasBeenSet; }
107 inline void SetMemberStatus(const Aws::String& value) { m_memberStatusHasBeenSet = true; m_memberStatus = value; }
108 inline void SetMemberStatus(Aws::String&& value) { m_memberStatusHasBeenSet = true; m_memberStatus = std::move(value); }
109 inline void SetMemberStatus(const char* value) { m_memberStatusHasBeenSet = true; m_memberStatus.assign(value); }
110 inline Member& WithMemberStatus(const Aws::String& value) { SetMemberStatus(value); return *this;}
111 inline Member& WithMemberStatus(Aws::String&& value) { SetMemberStatus(std::move(value)); return *this;}
112 inline Member& WithMemberStatus(const char* value) { SetMemberStatus(value); return *this;}
114
116
120 inline const Aws::Utils::DateTime& GetInvitedAt() const{ return m_invitedAt; }
121 inline bool InvitedAtHasBeenSet() const { return m_invitedAtHasBeenSet; }
122 inline void SetInvitedAt(const Aws::Utils::DateTime& value) { m_invitedAtHasBeenSet = true; m_invitedAt = value; }
123 inline void SetInvitedAt(Aws::Utils::DateTime&& value) { m_invitedAtHasBeenSet = true; m_invitedAt = std::move(value); }
124 inline Member& WithInvitedAt(const Aws::Utils::DateTime& value) { SetInvitedAt(value); return *this;}
125 inline Member& WithInvitedAt(Aws::Utils::DateTime&& value) { SetInvitedAt(std::move(value)); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
133 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
134 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
135 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
136 inline Member& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
137 inline Member& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
139 private:
140
141 Aws::String m_accountId;
142 bool m_accountIdHasBeenSet = false;
143
144 Aws::String m_email;
145 bool m_emailHasBeenSet = false;
146
147 Aws::String m_administratorId;
148 bool m_administratorIdHasBeenSet = false;
149
150 Aws::String m_memberStatus;
151 bool m_memberStatusHasBeenSet = false;
152
153 Aws::Utils::DateTime m_invitedAt;
154 bool m_invitedAtHasBeenSet = false;
155
156 Aws::Utils::DateTime m_updatedAt;
157 bool m_updatedAtHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace SecurityHub
162} // namespace Aws
void SetAdministratorId(Aws::String &&value)
Definition Member.h:77
bool AdministratorIdHasBeenSet() const
Definition Member.h:75
void SetInvitedAt(Aws::Utils::DateTime &&value)
Definition Member.h:123
bool InvitedAtHasBeenSet() const
Definition Member.h:121
bool MemberStatusHasBeenSet() const
Definition Member.h:106
Member & WithInvitedAt(const Aws::Utils::DateTime &value)
Definition Member.h:124
Member & WithMemberStatus(const Aws::String &value)
Definition Member.h:110
void SetEmail(const Aws::String &value)
Definition Member.h:61
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition Member.h:134
Member & WithMemberStatus(const char *value)
Definition Member.h:112
void SetInvitedAt(const Aws::Utils::DateTime &value)
Definition Member.h:122
Member & WithAdministratorId(const char *value)
Definition Member.h:81
void SetMemberStatus(const Aws::String &value)
Definition Member.h:107
Member & WithEmail(const Aws::String &value)
Definition Member.h:64
const Aws::String & GetAccountId() const
Definition Member.h:45
void SetAccountId(const Aws::String &value)
Definition Member.h:47
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition Member.h:135
const Aws::String & GetAdministratorId() const
Definition Member.h:74
void SetAccountId(const char *value)
Definition Member.h:49
Member & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition Member.h:136
AWS_SECURITYHUB_API Member & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetInvitedAt() const
Definition Member.h:120
void SetAdministratorId(const char *value)
Definition Member.h:78
Member & WithInvitedAt(Aws::Utils::DateTime &&value)
Definition Member.h:125
Member & WithAccountId(const char *value)
Definition Member.h:52
void SetAdministratorId(const Aws::String &value)
Definition Member.h:76
const Aws::String & GetMemberStatus() const
Definition Member.h:105
Member & WithAccountId(Aws::String &&value)
Definition Member.h:51
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMemberStatus(const char *value)
Definition Member.h:109
void SetEmail(const char *value)
Definition Member.h:63
void SetEmail(Aws::String &&value)
Definition Member.h:62
void SetMemberStatus(Aws::String &&value)
Definition Member.h:108
bool AccountIdHasBeenSet() const
Definition Member.h:46
const Aws::String & GetEmail() const
Definition Member.h:59
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Member.h:132
Member & WithMemberStatus(Aws::String &&value)
Definition Member.h:111
bool UpdatedAtHasBeenSet() const
Definition Member.h:133
AWS_SECURITYHUB_API Member(Aws::Utils::Json::JsonView jsonValue)
Member & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition Member.h:137
void SetAccountId(Aws::String &&value)
Definition Member.h:48
AWS_SECURITYHUB_API Member()
Member & WithAdministratorId(Aws::String &&value)
Definition Member.h:80
Member & WithEmail(Aws::String &&value)
Definition Member.h:65
Member & WithEmail(const char *value)
Definition Member.h:66
Member & WithAccountId(const Aws::String &value)
Definition Member.h:50
Member & WithAdministratorId(const Aws::String &value)
Definition Member.h:79
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue