AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
Member.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GuardDuty
22{
23namespace Model
24{
25
31 class Member
32 {
33 public:
34 AWS_GUARDDUTY_API Member() = default;
35 AWS_GUARDDUTY_API Member(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GUARDDUTY_API Member& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetAccountId() const { return m_accountId; }
45 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
46 template<typename AccountIdT = Aws::String>
47 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
48 template<typename AccountIdT = Aws::String>
49 Member& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
57 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
58 template<typename DetectorIdT = Aws::String>
59 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::forward<DetectorIdT>(value); }
60 template<typename DetectorIdT = Aws::String>
61 Member& WithDetectorId(DetectorIdT&& value) { SetDetectorId(std::forward<DetectorIdT>(value)); return *this;}
63
65
68 inline const Aws::String& GetMasterId() const { return m_masterId; }
69 inline bool MasterIdHasBeenSet() const { return m_masterIdHasBeenSet; }
70 template<typename MasterIdT = Aws::String>
71 void SetMasterId(MasterIdT&& value) { m_masterIdHasBeenSet = true; m_masterId = std::forward<MasterIdT>(value); }
72 template<typename MasterIdT = Aws::String>
73 Member& WithMasterId(MasterIdT&& value) { SetMasterId(std::forward<MasterIdT>(value)); return *this;}
75
77
80 inline const Aws::String& GetEmail() const { return m_email; }
81 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
82 template<typename EmailT = Aws::String>
83 void SetEmail(EmailT&& value) { m_emailHasBeenSet = true; m_email = std::forward<EmailT>(value); }
84 template<typename EmailT = Aws::String>
85 Member& WithEmail(EmailT&& value) { SetEmail(std::forward<EmailT>(value)); return *this;}
87
89
92 inline const Aws::String& GetRelationshipStatus() const { return m_relationshipStatus; }
93 inline bool RelationshipStatusHasBeenSet() const { return m_relationshipStatusHasBeenSet; }
94 template<typename RelationshipStatusT = Aws::String>
95 void SetRelationshipStatus(RelationshipStatusT&& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = std::forward<RelationshipStatusT>(value); }
96 template<typename RelationshipStatusT = Aws::String>
97 Member& WithRelationshipStatus(RelationshipStatusT&& value) { SetRelationshipStatus(std::forward<RelationshipStatusT>(value)); return *this;}
99
101
104 inline const Aws::String& GetInvitedAt() const { return m_invitedAt; }
105 inline bool InvitedAtHasBeenSet() const { return m_invitedAtHasBeenSet; }
106 template<typename InvitedAtT = Aws::String>
107 void SetInvitedAt(InvitedAtT&& value) { m_invitedAtHasBeenSet = true; m_invitedAt = std::forward<InvitedAtT>(value); }
108 template<typename InvitedAtT = Aws::String>
109 Member& WithInvitedAt(InvitedAtT&& value) { SetInvitedAt(std::forward<InvitedAtT>(value)); return *this;}
111
113
116 inline const Aws::String& GetUpdatedAt() const { return m_updatedAt; }
117 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
118 template<typename UpdatedAtT = Aws::String>
119 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
120 template<typename UpdatedAtT = Aws::String>
121 Member& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
123
125
128 inline const Aws::String& GetAdministratorId() const { return m_administratorId; }
129 inline bool AdministratorIdHasBeenSet() const { return m_administratorIdHasBeenSet; }
130 template<typename AdministratorIdT = Aws::String>
131 void SetAdministratorId(AdministratorIdT&& value) { m_administratorIdHasBeenSet = true; m_administratorId = std::forward<AdministratorIdT>(value); }
132 template<typename AdministratorIdT = Aws::String>
133 Member& WithAdministratorId(AdministratorIdT&& value) { SetAdministratorId(std::forward<AdministratorIdT>(value)); return *this;}
135 private:
136
137 Aws::String m_accountId;
138 bool m_accountIdHasBeenSet = false;
139
140 Aws::String m_detectorId;
141 bool m_detectorIdHasBeenSet = false;
142
143 Aws::String m_masterId;
144 bool m_masterIdHasBeenSet = false;
145
146 Aws::String m_email;
147 bool m_emailHasBeenSet = false;
148
149 Aws::String m_relationshipStatus;
150 bool m_relationshipStatusHasBeenSet = false;
151
152 Aws::String m_invitedAt;
153 bool m_invitedAtHasBeenSet = false;
154
155 Aws::String m_updatedAt;
156 bool m_updatedAtHasBeenSet = false;
157
158 Aws::String m_administratorId;
159 bool m_administratorIdHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace GuardDuty
164} // namespace Aws
void SetRelationshipStatus(RelationshipStatusT &&value)
Definition Member.h:95
void SetUpdatedAt(UpdatedAtT &&value)
Definition Member.h:119
void SetMasterId(MasterIdT &&value)
Definition Member.h:71
const Aws::String & GetEmail() const
Definition Member.h:80
const Aws::String & GetRelationshipStatus() const
Definition Member.h:92
const Aws::String & GetAccountId() const
Definition Member.h:44
bool AdministratorIdHasBeenSet() const
Definition Member.h:129
void SetEmail(EmailT &&value)
Definition Member.h:83
Member & WithUpdatedAt(UpdatedAtT &&value)
Definition Member.h:121
Member & WithRelationshipStatus(RelationshipStatusT &&value)
Definition Member.h:97
bool UpdatedAtHasBeenSet() const
Definition Member.h:117
bool RelationshipStatusHasBeenSet() const
Definition Member.h:93
AWS_GUARDDUTY_API Member & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAdministratorId(AdministratorIdT &&value)
Definition Member.h:131
const Aws::String & GetMasterId() const
Definition Member.h:68
Member & WithInvitedAt(InvitedAtT &&value)
Definition Member.h:109
bool InvitedAtHasBeenSet() const
Definition Member.h:105
Member & WithAdministratorId(AdministratorIdT &&value)
Definition Member.h:133
Member & WithDetectorId(DetectorIdT &&value)
Definition Member.h:61
void SetDetectorId(DetectorIdT &&value)
Definition Member.h:59
const Aws::String & GetUpdatedAt() const
Definition Member.h:116
Member & WithMasterId(MasterIdT &&value)
Definition Member.h:73
AWS_GUARDDUTY_API Member()=default
AWS_GUARDDUTY_API Member(Aws::Utils::Json::JsonView jsonValue)
bool EmailHasBeenSet() const
Definition Member.h:81
void SetInvitedAt(InvitedAtT &&value)
Definition Member.h:107
const Aws::String & GetDetectorId() const
Definition Member.h:56
void SetAccountId(AccountIdT &&value)
Definition Member.h:47
Member & WithAccountId(AccountIdT &&value)
Definition Member.h:49
bool MasterIdHasBeenSet() const
Definition Member.h:69
const Aws::String & GetInvitedAt() const
Definition Member.h:104
Member & WithEmail(EmailT &&value)
Definition Member.h:85
bool AccountIdHasBeenSet() const
Definition Member.h:45
const Aws::String & GetAdministratorId() const
Definition Member.h:128
bool DetectorIdHasBeenSet() const
Definition Member.h:57
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue